]> git.sur5r.net Git - cc65/blobdiff - doc/cbm510.sgml
Ignore start address in cbm_opendir. Rearrange the code somewhat to make it
[cc65] / doc / cbm510.sgml
index 97d37a1df8393a7b0be5eb3154aa9d903bd8022f..6b5f40cb17dbafecea96e2f2d54c7ffbf86a6600 100644 (file)
@@ -46,10 +46,9 @@ config.
 <sect>Memory layout<p>
 
 cc65 generated programs for the Commodore 510 run in bank 0, 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 510 allocates all memory between
 &dollar;0002 and &dollar;FFF0 in bank 0 for the compiled program. Some space
@@ -255,7 +254,7 @@ The program return code (signed char) is passed back to BASIC by use of the
 <tt/ST/ variable.
 
 
-<sect1>Interrupts<p>
+<sect1>Interrupt handlers<p>
 
 The runtime for the Commodore 510 uses routines marked as <tt/.CONDES/ type 2
 for interrupt handlers. Such routines must be written as simple machine