]> git.sur5r.net Git - cc65/commitdiff
Store directly into zeropage
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 18 Nov 2002 17:37:13 +0000 (17:37 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 18 Nov 2002 17:37:13 +0000 (17:37 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1536 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c128/c128.inc
libsrc/c128/crt0.s

index f59180704886db6fc415690f2a601b9346764229..5ff41116b020d5157b9b43a53ae20cf502ab3da5 100644 (file)
@@ -15,6 +15,7 @@ DEVNUM                = $BA           ; Device number
 FNAM_BANK              = $C7           ; Bank for filename
 FNAM_LO                = $BB           ; Address of filename
 FNAM_HI                = $BC
+FNAM_BANK       = $D7           ; Bank of filename
 KEY_COUNT              = $D0           ; Number of keys in input buffer
 MODE                   = $D7           ; 40/80 column mode flag
 CURS_X                 = $EC           ; Cursor column
index 7f77305e36da1a4150f9fc22ac164b467f65b985..a35839914b1f1777351a7912a7407679984d4ddd 100644 (file)
@@ -55,10 +55,10 @@ Head:   .word   @Next
        lda     #14
        jsr     BSOUT
 
-; Set the bank for the file name our execution bank 
+; Set the bank for the file name our execution bank
 
-        ldx     #0
-        jsr     SETBNK
+        lda     #0
+        sta     FNAM_BANK
 
 ; Before doing anything else, we have to setup our banking configuration.
 ; Otherwise just the lowest 16K are actually RAM. Writing through the ROM