mirror of
https://github.com/cc65/cc65.git
synced 2025-03-03 09:32:33 +00:00
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:
parent
1075d1e193
commit
fd2b108cd0
@ -37,6 +37,9 @@ CURS_OFF = $CD9F
|
|||||||
CLRSCR = $C142
|
CLRSCR = $C142
|
||||||
KBDREAD = $C006
|
KBDREAD = $C006
|
||||||
|
|
||||||
|
; Extended jump table
|
||||||
|
SETBNK = $FF68
|
||||||
|
|
||||||
; ---------------------------------------------------------------------------
|
; ---------------------------------------------------------------------------
|
||||||
; Vectors
|
; Vectors
|
||||||
|
|
||||||
|
@ -55,6 +55,11 @@ Head: .word @Next
|
|||||||
lda #14
|
lda #14
|
||||||
jsr BSOUT
|
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.
|
; Before doing anything else, we have to setup our banking configuration.
|
||||||
; Otherwise just the lowest 16K are actually RAM. Writing through the ROM
|
; Otherwise just the lowest 16K are actually RAM. Writing through the ROM
|
||||||
; to the underlying RAM works, but it is bad style.
|
; to the underlying RAM works, but it is bad style.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user