From f55b564ca19fbf0f4da69688b7b2a8e13a82e1a7 Mon Sep 17 00:00:00 2001 From: IrgendwerA8 Date: Sun, 27 May 2018 00:10:58 +0200 Subject: [PATCH] Save the three bytes for the plus4 too. --- libsrc/plus4/cgetc.s | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.5