Removed dysfunctional kbrepeatdelay() and kbrepeatrate().

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.
This commit is contained in:
Oliver Schmidt
2017-08-30 16:37:31 +02:00
parent 7a1f5358df
commit 4aa19494f5
7 changed files with 37 additions and 127 deletions

View File

@@ -1,5 +1,8 @@
;
; unsigned char __fastcall__ kbrepeat (unsigned char mode);
;
.export _kbrepeat, _kbrepeatdelay, _kbrepeatrate
.export _kbrepeat
.include "vic20.inc"
@@ -7,16 +10,5 @@ _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
ldx #0
rts