1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00
cc65/libsrc/c64/kbrepeat.s

23 lines
621 B
ArmAsm
Raw Normal View History

2016-02-28 21:13:05 +00:00
.export _kbrepeat, _kbrepeatdelay, _kbrepeatrate
2017-06-17 00:37:34 +00:00
.include "c64.inc"
2016-02-28 21:13:05 +00:00
_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