X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fcbm610.sgml;h=a01cd9bc60a548170a0f09931c11ccf8c2eab73b;hb=a3529cd048a35c00223bb86c170907eb10953588;hp=5a4d18cfb64ab759ddc73536244ae486b0005650;hpb=473d620742f60e6fd3a82cf2cd4acb22711fc264;p=cc65 diff --git a/doc/cbm610.sgml b/doc/cbm610.sgml index 5a4d18cfb..a01cd9bc6 100644 --- a/doc/cbm610.sgml +++ b/doc/cbm610.sgml @@ -48,10 +48,9 @@ config. Memory layout

cc65 generated programs for the Commodore 610 run in bank 1, the memory bank -reserved for BASIC programs. Since there are no ROMs in this memory bank, the -program has almost full 64K for its own. A disadvantage is that kernal -subroutines cannot be called (at least not in a fast and effective manner), so -the runtime has replace kernal functionality. +reserved for BASIC programs. Since there are no ROMs in this memory bank, +kernal subroutines are either emulated or called by bank switching, which has +the disadvantage of being slow compared to a direct call. The default memory configuration for the CBM 610 allocates all memory between $0002 and $FFF0 in bank 1 for the compiled program. Some space @@ -249,7 +248,13 @@ Command line argument passing is currently not supported for the Commodore 610. -Interrupts

+Program return code

+ +The program return code (low byte) is passed back to BASIC by use of the +Interrupt handlers

The runtime for the Commodore 610 uses routines marked as