<!doctype linuxdoc system>
<article>
-
<title>Gamate System specific information for cc65
<author>
<url url="mailto:groepaz@gmx.net" name="Groepaz/Hitmen">
-<date>2015-11-14
<abstract>
An overview over the Gamate runtime system as it is implemented for the
is a cartridge image with header. It is of course possible to change this
behaviour by using a modified startup file and linker config.
+Note: the first two bytes of the header contain a checksum that must be inserted
+by an external program. Such an utility is provided in util/gamate/gamate-fixcart.c
+
<sect>Platform specific header files<p>
Programs containing Gamate specific code may use the <tt/gamate.h/ header file.
-<sect1>Hardware access<p>
-
-The following pseudo variables declared in the <tt/gamate.inc/ include file do
-allow access to hardware located in the address space.
+<sect1>Gamate specific functions<p>
-<descrip>
-
-</descrip><p>
+<itemize>
+<item>waitvsync</item>
+</itemize>
<sect>Limitations<p>
<itemize>
-<item>interruptor support in crt0 (and cfg) is missing
+<item>When using the C-compiler, keep in mind that only 0x200 bytes RAM in total
+can be used for variables and the runtime stack.
</itemize>
<sect1>Disk I/O<p>
<sect>Other hints<p>
<itemize>
-<item>a good emulator to use for Gamate is "MESS/MAME" (<url url="http://www.mess.org/">)
+<item>The Gamate is emulated by MESS (<url url="http://www.mess.org/">),
+run like this: <tt>mess gamate -debug -window -skip_gameinfo -cart test.bin</tt>
</itemize>
some resources on the Gamate:
freely, subject to the following restrictions:
<enum>
-<item> The origin of this software must not be misrepresented; you must not
- claim that you wrote the original software. If you use this software
- in a product, an acknowledgment in the product documentation would be
- appreciated but is not required.
-<item> Altered source versions must be plainly marked as such, and must not
- be misrepresented as being the original software.
-<item> This notice may not be removed or altered from any source
- distribution.
+<item> The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+<item> Altered source versions must be plainly marked as such, and must not
+ be misrepresented as being the original software.
+<item> This notice may not be removed or altered from any source
+ distribution.
</enum>
</article>
-
-
-