From 7bce9d4c266d5d27b709032c5053a6947cab9c23 Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Sat, 20 Apr 2019 01:02:56 +0930 Subject: [PATCH] remove non-alpha flag handling --- c64/kernal/scan_keyboard.s | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/c64/kernal/scan_keyboard.s b/c64/kernal/scan_keyboard.s index e2113e02..d4e7dcdb 100644 --- a/c64/kernal/scan_keyboard.s +++ b/c64/kernal/scan_keyboard.s @@ -151,8 +151,6 @@ ;; (Carefully avoiding $A7 which is used by 64NET) .alias BufferNew $A9 ;// 3 bytes .alias KeyQuantity $A8 ;// 1 byte - .alias NonAlphaFlagX $B4 ;// 1 byte - .alias NonAlphaFlagY $B5 ;// 1 byte .alias TempZP $B6 ;// 1 byte .alias SimultaneousKeys $F7 ;// 1 byte @@ -326,6 +324,7 @@ skip0: dex bpl - + ;; X gets back to $FF here, which is assumed below ;; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ;; // Check for Control Port #1 Activity (again) @@ -345,7 +344,6 @@ skip0: ;; // Reset Non-AlphaNumeric Flag inx - stx NonAlphaFlagY ;; // Set max keys allowed before ignoring result lda #MaxKeyRollover @@ -506,9 +504,7 @@ Return: ;; // A is preset stx BufferOld+1 ldx BufferNew+2 stx BufferOld+2 - ;; // Handle Non Alphanumeric Keys - ldx NonAlphaFlagX - ldy NonAlphaFlagY + rts TooManyNewKeys: