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
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