From e985e0beb424f0146c1755aa8d7a310ebb90783b Mon Sep 17 00:00:00 2001 From: mrdudz Date: Thu, 22 Jun 2017 00:04:42 +0200 Subject: [PATCH] fixed zp locations provided by polluks :) --- asminc/pet.inc | 15 +++++++++++---- asminc/plus4.inc | 7 +++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/asminc/pet.inc b/asminc/pet.inc index ea6eef2e0..8f2f469e0 100644 --- a/asminc/pet.inc +++ b/asminc/pet.inc @@ -31,10 +31,17 @@ BASIC_BUF_LEN = 81 ; Maximum length of command-line KEY_BUF := $26F ; Keyboard buffer -;FIXME: these are wrong? -KBDREPEAT := $28a -KBDREPEATRATE := $28b -KBDREPEATDELAY := $28c +;FIXME: we must somehow handle the difference between the two - how? + +; 40-Column PETs +;KBDREPEAT := $3ee +;KBDREPEATRATE := $3ea +;KBDREPEATDELAY := $3e9 + +; 80-Column PETs +KBDREPEAT := $e4 +KBDREPEATRATE := $e5 +KBDREPEATDELAY := $e6 ;---------------------------------------------------------------------------- ; PET ROM type detection diff --git a/asminc/plus4.inc b/asminc/plus4.inc index 42ed314bd..3b2f08c54 100644 --- a/asminc/plus4.inc +++ b/asminc/plus4.inc @@ -33,10 +33,9 @@ FKEY_COUNT := $55D ; Characters for function key FKEY_SPACE := $55F ; Function key definitions FKEY_ORIG := $F3D2 ; Original definitions -;FIXME: he?! these ok? :o) -KBDREPEAT := $28a -KBDREPEATRATE := $28b -KBDREPEATDELAY := $28c +KBDREPEAT := $540 +KBDREPEATRATE := $541 +KBDREPEATDELAY := $542 ; --------------------------------------------------------------------------- ; Kernal routines