mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Save the three bytes for the plus4 too.
This commit is contained in:
parent
30a679ba36
commit
f55b564ca1
@ -63,8 +63,10 @@ L2: sta ENABLE_ROM ; Bank in the ROM
|
||||
|
||||
.proc initkbd
|
||||
|
||||
ldy #15
|
||||
ldy #7
|
||||
@L1: lda fnkeys,y
|
||||
sta FKEY_SPACE+8,y
|
||||
lda #$01 ; Lower 8 places are all $01
|
||||
sta FKEY_SPACE,y
|
||||
dey
|
||||
bpl @L1
|
||||
@ -72,8 +74,7 @@ L2: sta ENABLE_ROM ; Bank in the ROM
|
||||
|
||||
.endproc
|
||||
|
||||
fnkeys: .byte $01, $01, $01, $01, $01, $01, $01, $01
|
||||
.byte 133, 137, 134, 138, 135, 139, 136, 140
|
||||
fnkeys: .byte 133, 137, 134, 138, 135, 139, 136, 140
|
||||
|
||||
|
||||
.segment "LOWCODE" ; Accesses the ROM - must go into low mem
|
||||
|
Loading…
x
Reference in New Issue
Block a user