]> git.sur5r.net Git - cc65/commitdiff
fixed zp locations provided by polluks :)
authormrdudz <mrdudz@users.noreply.github.com>
Wed, 21 Jun 2017 22:04:42 +0000 (00:04 +0200)
committermrdudz <mrdudz@users.noreply.github.com>
Wed, 21 Jun 2017 22:04:42 +0000 (00:04 +0200)
asminc/pet.inc
asminc/plus4.inc

index ea6eef2e0a22f856241eec76a6d27691249e4ef3..8f2f469e00ec69ab58b47d0b046826bdcaca4cf4 100644 (file)
@@ -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
index 42ed314bdce68aa00253205c522abfff5759a900..3b2f08c54db306ac222ea890db31ff47e54f0e3f 100644 (file)
@@ -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