mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 06:25:17 +00:00
Store directly into zeropage
git-svn-id: svn://svn.cc65.org/cc65/trunk@1536 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -15,6 +15,7 @@ DEVNUM = $BA ; Device number
|
|||||||
FNAM_BANK = $C7 ; Bank for filename
|
FNAM_BANK = $C7 ; Bank for filename
|
||||||
FNAM_LO = $BB ; Address of filename
|
FNAM_LO = $BB ; Address of filename
|
||||||
FNAM_HI = $BC
|
FNAM_HI = $BC
|
||||||
|
FNAM_BANK = $D7 ; Bank of filename
|
||||||
KEY_COUNT = $D0 ; Number of keys in input buffer
|
KEY_COUNT = $D0 ; Number of keys in input buffer
|
||||||
MODE = $D7 ; 40/80 column mode flag
|
MODE = $D7 ; 40/80 column mode flag
|
||||||
CURS_X = $EC ; Cursor column
|
CURS_X = $EC ; Cursor column
|
||||||
|
@@ -55,10 +55,10 @@ Head: .word @Next
|
|||||||
lda #14
|
lda #14
|
||||||
jsr BSOUT
|
jsr BSOUT
|
||||||
|
|
||||||
; Set the bank for the file name our execution bank
|
; Set the bank for the file name our execution bank
|
||||||
|
|
||||||
ldx #0
|
lda #0
|
||||||
jsr SETBNK
|
sta FNAM_BANK
|
||||||
|
|
||||||
; 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
|
||||||
|
Reference in New Issue
Block a user