Save the three bytes for the plus4 too.
This commit is contained in:
@@ -63,8 +63,10 @@ L2: sta ENABLE_ROM ; Bank in the ROM
|
|||||||
|
|
||||||
.proc initkbd
|
.proc initkbd
|
||||||
|
|
||||||
ldy #15
|
ldy #7
|
||||||
@L1: lda fnkeys,y
|
@L1: lda fnkeys,y
|
||||||
|
sta FKEY_SPACE+8,y
|
||||||
|
lda #$01 ; Lower 8 places are all $01
|
||||||
sta FKEY_SPACE,y
|
sta FKEY_SPACE,y
|
||||||
dey
|
dey
|
||||||
bpl @L1
|
bpl @L1
|
||||||
@@ -72,8 +74,7 @@ L2: sta ENABLE_ROM ; Bank in the ROM
|
|||||||
|
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
fnkeys: .byte $01, $01, $01, $01, $01, $01, $01, $01
|
fnkeys: .byte 133, 137, 134, 138, 135, 139, 136, 140
|
||||||
.byte 133, 137, 134, 138, 135, 139, 136, 140
|
|
||||||
|
|
||||||
|
|
||||||
.segment "LOWCODE" ; Accesses the ROM - must go into low mem
|
.segment "LOWCODE" ; Accesses the ROM - must go into low mem
|
||||||
|
|||||||
Reference in New Issue
Block a user