This file contains an overview of the Gamate runtime system as it comes with the cc65 C compiler. It describes the memory layout, Gamate specific header files, available drivers, and any pitfalls specific to that platform.
Please note that Gamate specific functions are just mentioned here, they are described in detail in the separate function reference. Even functions marked as "platform dependent" may be available on more than one platform. Please see the function reference for more information.
The standard binary output format generated by the linker for the Gamate target 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
Programs containing Gamate specific code may use the
gamate.h header file.
All drivers must be statically linked because no file I/O is available. The names in the parentheses denote the symbols to be used for static linking of the drivers.
No TGI graphics drivers are currently available for the Gamate.
No extended memory drivers are currently available for the Gamate.
A joystick driver for the standard two buttons joypad is available.
No mouse drivers are currently available for the Gamate.
No serial drivers are currently available for the Gamate.
The existing library for the Gamate doesn't implement C file
I/O. There are no hacks for the
To be more concrete, this limitation means that you cannot use any of the following functions (and a few others):
mess gamate -debug -window -skip_gameinfo -cart test.bin
some resources on the Gamate:
This software is provided 'as-is', without any expressed or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: