X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fatari.sgml;h=44bf65671da3797f121e507e7cb7002b887361c3;hb=7ab3ede933ca2307b948cd6a218d1f49a4a8aa72;hp=0505d7063b51b16e4e2350b0f2d0e50252b0e19e;hpb=d8dd221f35128376e5fb74a4d60b027ec85d5983;p=cc65 diff --git a/doc/atari.sgml b/doc/atari.sgml index 0505d7063..44bf65671 100644 --- a/doc/atari.sgml +++ b/doc/atari.sgml @@ -41,7 +41,7 @@ header (FF FF <2 byte start address> <2 bytes end address> [program bytes]). These values are calculated in the crt0.s file from the __STARTUP_LOAD__ and __ZPSAVE_LOAD__ values, so keep this in mind if you create a custom linker config file and start -moving segments around (see section +moving segments around (see section ). You can override this behaviour by creating your own crt0.s file and linking it into your program. A run vector is added to the end of the @@ -96,12 +96,13 @@ header file. Atari specific functions

-The functions listed below are special for the Atari. See the for declaration and usage. +The functions and global variable listed below are special for the Atari. +See the for declaration and usage. get_ostype get_tv +_dos_type _gtia_mkcolor _getcolor _getdefdev @@ -271,10 +272,34 @@ or f80.com software is missing. Of course you may use stdio.h functions. Other hints

+ Function keys

Function keys are mapped to Atari + number key. + +Passing arguments to the program

+ +Command line arguments can be passed to +Arguments are separated by spaces. +Leading and trailing spaces around an argument are ignored. +The first argument passed to A maximum number of 16 arguments (including the program name) are + supported. + + + +Interrupts

+ +The runtime for the Atari uses routines marked as . + + Reserving a memory area inside a program

The Atari 130XE maps its additional memory into CPU memory in 16K