Programs containing Plus/4 specific code may use the
header files. Using the later may be an option when writing code for more than
one CBM platform, since it includes
plus4.h and declares several functions
common to all CBM platforms.
Please note that most of the header file declarations from the
header file are shared between the C16 and Plus/4 configurations. For this
reason, most of it is located in a common header file named
There are currently no special Plus/4 functions.
Some functions are available for all (or at least most) of the Commodore machines. See the function reference for declaration and usage.
The following pseudo variables declared in the
plus4.h header file do
allow access to hardware located in the address space. Some variables are
structures, accessing the struct fields will access the chip registers.
TED structure allows access to the TED chip. See the
_ted.h header file located in the include directory for the
declaration of the structure.
A character array that mirrors the color RAM of the Plus/4 at $0800.