From: mrdudz Date: Sat, 17 Jun 2017 00:37:34 +0000 (+0200) Subject: fixed some stuff, compiles again :) X-Git-Tag: V2.17~104^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a42feca228d589e3d3ae3bb80da7c668c1db028f;p=cc65 fixed some stuff, compiles again :) --- diff --git a/asminc/c128.inc b/asminc/c128.inc index e6c89b07b..9e9acc5a8 100644 --- a/asminc/c128.inc +++ b/asminc/c128.inc @@ -38,6 +38,10 @@ INIT_STATUS := $A04 ; Flags: Reset/Restore initiation status FKEY_LEN := $1000 ; Function key lengths FKEY_TEXT := $100A ; Function key texts +KBDREPEAT := $28a +KBDREPEATRATE := $28b +KBDREPEATDELAY := $28c + ; --------------------------------------------------------------------------- ; Kernal routines diff --git a/asminc/c64.inc b/asminc/c64.inc index ababb1ea0..00b66a64f 100644 --- a/asminc/c64.inc +++ b/asminc/c64.inc @@ -33,6 +33,9 @@ CHARCOLOR := $286 CURS_COLOR := $287 ; Color under the cursor PALFLAG := $2A6 ; $01 = PAL, $00 = NTSC +KBDREPEAT := $28a +KBDREPEATRATE := $28b +KBDREPEATDELAY := $28c ; --------------------------------------------------------------------------- ; Kernal routines diff --git a/asminc/pet.inc b/asminc/pet.inc index a745a89c8..ea6eef2e0 100644 --- a/asminc/pet.inc +++ b/asminc/pet.inc @@ -31,6 +31,11 @@ BASIC_BUF_LEN = 81 ; Maximum length of command-line KEY_BUF := $26F ; Keyboard buffer +;FIXME: these are wrong? +KBDREPEAT := $28a +KBDREPEATRATE := $28b +KBDREPEATDELAY := $28c + ;---------------------------------------------------------------------------- ; PET ROM type detection diff --git a/asminc/plus4.inc b/asminc/plus4.inc index 69b2298a3..42ed314bd 100644 --- a/asminc/plus4.inc +++ b/asminc/plus4.inc @@ -33,6 +33,11 @@ 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 + ; --------------------------------------------------------------------------- ; Kernal routines diff --git a/asminc/vic20.inc b/asminc/vic20.inc index 12424dc11..d882eb1ad 100644 --- a/asminc/vic20.inc +++ b/asminc/vic20.inc @@ -31,6 +31,9 @@ BASIC_BUF_LEN = 89 ; Maximum length of command-line CHARCOLOR := $286 CURS_COLOR := $287 ; Color under the cursor +KBDREPEAT := $28a +KBDREPEATRATE := $28b +KBDREPEATDELAY := $28c ; --------------------------------------------------------------------------- ; Screen size diff --git a/libsrc/c128/kbrepeat.s b/libsrc/c128/kbrepeat.s index f515e4ca3..c32e8c017 100644 --- a/libsrc/c128/kbrepeat.s +++ b/libsrc/c128/kbrepeat.s @@ -1,7 +1,7 @@ .export _kbrepeat, _kbrepeatdelay, _kbrepeatrate - .include "c128/c128.inc" + .include "c128.inc" _kbrepeat: ldx KBDREPEAT ; get old value diff --git a/libsrc/c64/kbrepeat.s b/libsrc/c64/kbrepeat.s index b6c33250b..f59c8a6da 100644 --- a/libsrc/c64/kbrepeat.s +++ b/libsrc/c64/kbrepeat.s @@ -1,7 +1,7 @@ .export _kbrepeat, _kbrepeatdelay, _kbrepeatrate - .include "c64/c64.inc" + .include "c64.inc" _kbrepeat: ldx KBDREPEAT ; get old value diff --git a/libsrc/pet/kbrepeat.s b/libsrc/pet/kbrepeat.s index 44d60575f..0a29d7420 100644 --- a/libsrc/pet/kbrepeat.s +++ b/libsrc/pet/kbrepeat.s @@ -1,7 +1,7 @@ .export _kbrepeat, _kbrepeatdelay, _kbrepeatrate - .include "pet/pet.inc" + .include "pet.inc" _kbrepeat: ldx KBDREPEAT ; get old value diff --git a/libsrc/plus4/kbrepeat.s b/libsrc/plus4/kbrepeat.s index 8636d0e33..927b99e5b 100644 --- a/libsrc/plus4/kbrepeat.s +++ b/libsrc/plus4/kbrepeat.s @@ -1,7 +1,7 @@ .export _kbrepeat, _kbrepeatdelay, _kbrepeatrate - .include "plus4/plus4.inc" + .include "plus4.inc" _kbrepeat: ldx KBDREPEAT ; get old value diff --git a/libsrc/vic20/kbrepeat.s b/libsrc/vic20/kbrepeat.s index 5a4ad96f6..5115c852e 100644 --- a/libsrc/vic20/kbrepeat.s +++ b/libsrc/vic20/kbrepeat.s @@ -1,7 +1,7 @@ .export _kbrepeat, _kbrepeatdelay, _kbrepeatrate - .include "vic20/vic20.inc" + .include "vic20.inc" _kbrepeat: ldx KBDREPEAT ; get old value