From 4b0c7ead49ef4e07048747ca3b1c9dc812cde717 Mon Sep 17 00:00:00 2001 From: Rob McMullen Date: Fri, 20 Jul 2018 13:25:47 -0700 Subject: [PATCH] platform-apple2: added keycodes for IIe up/down keys --- platform-apple2.s | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform-apple2.s b/platform-apple2.s index d17bce1..50f568d 100644 --- a/platform-apple2.s +++ b/platform-apple2.s @@ -67,6 +67,8 @@ userinput lda KEYBOARD ;sta KBDSTROBE check_up cmp #$8d ; up arrow + beq input_up + cmp #$8b ; up arrow IIe beq input_up cmp #$c1 ; 'A' key beq input_up @@ -77,6 +79,8 @@ input_up lda #TILE_UP rts check_down cmp #$af ; down arrow + beq input_down + cmp #$8a ; down arrow IIe beq input_down cmp #$bb ; ';' key (dvorak keyboards!) beq input_down