initial import from old sources

This commit is contained in:
mrdudz
2016-02-28 22:13:05 +01:00
parent 25f4482641
commit 85760e0c53
5 changed files with 110 additions and 0 deletions

22
libsrc/pet/kbrepeat.s Normal file
View File

@@ -0,0 +1,22 @@
.export _kbrepeat, _kbrepeatdelay, _kbrepeatrate
.include "pet/pet.inc"
_kbrepeat:
ldx KBDREPEAT ; get old value
sta KBDREPEAT ; store new value
txa ; return old value
rts
_kbrepeatdelay:
ldx KBDREPEATDELAY ; get old value
sta KBDREPEATDELAY ; store new value
txa ; return old value
rts
_kbrepeatrate:
ldx KBDREPEATRATE ; get old value
sta KBDREPEATRATE ; store new value
txa ; return old value
rts