2017-08-30 16:37:31 +02:00
|
|
|
;
|
|
|
|
; unsigned char __fastcall__ kbrepeat (unsigned char mode);
|
|
|
|
;
|
2016-02-28 22:13:05 +01:00
|
|
|
|
2017-08-30 16:37:31 +02:00
|
|
|
.export _kbrepeat
|
2016-02-28 22:13:05 +01:00
|
|
|
|
2017-06-17 02:37:34 +02:00
|
|
|
.include "plus4.inc"
|
2016-02-28 22:13:05 +01:00
|
|
|
|
|
|
|
_kbrepeat:
|
|
|
|
ldx KBDREPEAT ; get old value
|
|
|
|
sta KBDREPEAT ; store new value
|
|
|
|
txa ; return old value
|
2017-08-30 16:37:31 +02:00
|
|
|
ldx #0
|
2016-02-28 22:13:05 +01:00
|
|
|
rts
|