Set the file name bank to bank zero on startup to make our file routines
work. git-svn-id: svn://svn.cc65.org/cc65/trunk@1535 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -55,6 +55,11 @@ Head: .word @Next
|
||||
lda #14
|
||||
jsr BSOUT
|
||||
|
||||
; Set the bank for the file name our execution bank
|
||||
|
||||
ldx #0
|
||||
jsr SETBNK
|
||||
|
||||
; Before doing anything else, we have to setup our banking configuration.
|
||||
; Otherwise just the lowest 16K are actually RAM. Writing through the ROM
|
||||
; to the underlying RAM works, but it is bad style.
|
||||
|
||||
Reference in New Issue
Block a user