From 7122972d7c381001ecc363457c568a4dba3a0c32 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Mon, 27 Sep 2021 00:44:49 +0200 Subject: [PATCH] Improved #pragma zp_reserve in example code. --- src/test/kc/cbm-keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kc/cbm-keyboard.c b/src/test/kc/cbm-keyboard.c index 4ca02d6d5..685b1b041 100644 --- a/src/test/kc/cbm-keyboard.c +++ b/src/test/kc/cbm-keyboard.c @@ -1,4 +1,3 @@ -#pragma var_model(mem) #pragma zp_reserve(0x73..0x8a) // CHRGET routine: fetches next character of BASIC program text #pragma zp_reserve(0x91) // Keyboard Flag. 127 = STOP , 223 = C= , 239 = SPACE , 251 = CTRL , 255 = no key pressed @@ -10,6 +9,7 @@ #pragma zp_reserve(0xcb) // Index to keyboard decoding table for currently pressed key, 64 = no key was depressed #pragma zp_reserve(0xcc) // Flash cursor flag 0 = yes, otherwise no #pragma zp_reserve(0xd0) // Input from 0 = keyboard or 3 = screen +#pragma zp_reserve(0xf5..0xf6) // Keyboard decoding table #include <6502.h> #include