]> git.sur5r.net Git - cc65/blobdiff - doc/internal.txt
Ignore start address in cbm_opendir. Rearrange the code somewhat to make it
[cc65] / doc / internal.txt
index 0b3df177087c6fa999d1bdd2c81c256a7ca37c71..0dca618ea7bc7e05fb35d61748c705e6285e904c 100644 (file)
@@ -78,7 +78,7 @@ Ex 1:  Function call:  Assuming 'i' declared int and 'c' declared
                lda     _i              ; get 'i', low byte
                ldx     _i+1            ; get 'i', hi byte
                jsr     pushax          ; push it
-               lda     _c              ; get 'c'
+               lda     _c              ; get 'c'
                jsr     pusha           ; push it
                jsr     _baz            ; call the function
                sta     _i              ; store the result
@@ -131,10 +131,8 @@ C128:      The startup code will reprogram the MMU, so that only the kernal ROM
        is enabled. This means, there are 41K of memory available to the
        program.
 
-Plus/4:        Unfortunately, the Plus/4 is not able to disable only part of it's
-       ROM, it's an all or nothing approach. So, on the Plus/4, the program
-               has only 28K available (16K machines are detected and the amount of
-       free memory is reduced to 12K).
+Plus/4:        Works with bank switching so 59K of memory are available to the 
+        program.
 
 CBM 500:
        The C program runs in bank #0 and has a total of 48K memory available.
@@ -151,8 +149,9 @@ PET:        The startup code will adjust the upper memory limit to the installed
        $8000, so on a 8032 or similar machine, 31K of memory are available to
        the program.
 
-APPLE2:        The program starts at $800, end of RAM is $8E00, so 33.5K of memory
-       (including stack) are available.
+Apple ][:
+        The program starts at $803, end of RAM is $95FF, so 35.5K of memory
+        (including stack) are available to the program.
 
 Atari:  The startup code will adjust the upper memory limit to the installed
         memory detected at runtime. The programmer can adjust the upper memory