diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 734e4eaf4..6306bf512 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -641,7 +641,7 @@ Here is a description of all the command line options: pce (PC engine) pet (all CBM PET systems except the 2001) plus4 - p6502 + rp6502 sim6502 sim65c02 supervision @@ -1112,6 +1112,10 @@ This cc65 version has some extensions to the ISO C standard. The compiler defines several macros at startup: + __AGAT__ + + This macro is defined if the target is the Agat (-t agat). + __APPLE2__ This macro is defined if the target is the Apple ][ (-t apple2) or the enhanced Apple //e (-t apple2enh). @@ -1122,11 +1126,15 @@ The compiler defines several macros at startup: __ATARI2600__ - This macro is defined if the target is the Atari 2600 game console. + This macro is defined if the target is the Atari 2600 game console (-t atari2600). __ATARI5200__ - This macro is defined if the target is the Atari 5200 game console. + This macro is defined if the target is the Atari 5200 game console (-t atari5200). + + __ATARI7800__ + + This macro is defined if the target is the Atari 7800 game console (-t atari7800). __ATARI__ @@ -1140,6 +1148,10 @@ The compiler defines several macros at startup: This macro is defined if the target is the Oric Atmos (-t atmos). + __BBC__ + + This macro is defined if the target is the BBC (-t bbc). + __C128__ This macro is defined if the target is the Commodore 128 (-t c128). @@ -1152,6 +1164,10 @@ The compiler defines several macros at startup: This macro is defined if the target is the Commodore 64 (-t c64). + __C65__ + + This macro is defined if the target is the Commodore 65 (-t c65). + __CBM__ This macro is defined if the target system is one of the CBM targets. @@ -1321,6 +1337,10 @@ The compiler defines several macros at startup: / macro for the instruction set of the W65C02 CPU. + __CREATIVISION__ + + This macro is defined if the target is the VTech Creativision game console (-t creativision). + __CX16__ This macro is defined if the target is the Commander X16 (-t cx16). @@ -1339,6 +1359,10 @@ The compiler defines several macros at startup: This macro expands to a string containing the name of the C source file. + __GAMATE__ + + This macro is defined if the target is the Gamate handheld (-t gamate). + __GEOS__ This macro is defined if you are compiling for one of the GEOS systems. @@ -1351,6 +1375,10 @@ The compiler defines several macros at startup: This macro is defined if you are compiling for the GEOS 64/128 system (-t geos-cbm). + __KIM1__ + + This macro is defined if the target is the KIM-1 (-t kmi1). + __LINE__ This macro expands to the current line number. @@ -1363,6 +1391,10 @@ The compiler defines several macros at startup: This macro is defined if the target is the Atari Lynx (-t lynx). + __MEGA65__ + + This macro is defined if the target is the Mega 65 (-t mega65). + __NES__ This macro is defined if the target is the Nintendo Entertainment System (-t nes). @@ -1388,6 +1420,10 @@ The compiler defines several macros at startup: This macro is defined if the target is the Ohio Scientific Challenger 1P (-t osic1p). + __PCE__ + + This macro is defined if the target is the PC Engine game console (-t pce). + __PET__ This macro is defined if the target is the PET family of computers (-t pet). @@ -1396,6 +1432,10 @@ The compiler defines several macros at startup: This macro is defined if the target is the Commodore Plus/4 (-t plus4). + __RP6502__ + + This macro is defined if the target is the Picocomputer 6502 (-t rp6502). + __SIM6502__ This macro is defined if the target is sim65 in 6502 mode (-t sim6502).