mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
4aa19494f5
As discussed in https://github.com/cc65/cc65/pull/452 after my premature merge the two functions in question don't work as expected. Additionally I adjusted several style deviations in the pull request in question.
15 lines
314 B
ArmAsm
15 lines
314 B
ArmAsm
;
|
|
; unsigned char __fastcall__ kbrepeat (unsigned char mode);
|
|
;
|
|
|
|
.export _kbrepeat
|
|
|
|
.include "c64.inc"
|
|
|
|
_kbrepeat:
|
|
ldx KBDREPEAT ; get old value
|
|
sta KBDREPEAT ; store new value
|
|
txa ; return old value
|
|
ldx #0
|
|
rts
|