From: IrgendwerA8 Date: Sat, 26 May 2018 22:10:58 +0000 (+0200) Subject: Save the three bytes for the plus4 too. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F666%2Fhead;p=cc65 Save the three bytes for the plus4 too. --- diff --git a/libsrc/plus4/cgetc.s b/libsrc/plus4/cgetc.s index 784bac267..fcbc66064 100644 --- a/libsrc/plus4/cgetc.s +++ b/libsrc/plus4/cgetc.s @@ -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