]> git.sur5r.net Git - cc65/blobdiff - libsrc/plus4/kbrepeat.s
Added "popptr1" which is of common use to save some bytes.
[cc65] / libsrc / plus4 / kbrepeat.s
index 8636d0e33fb083637f063962f57dbc5d2b936952..9c0dc6855c05f79b017d446cc47b539d5d0518af 100644 (file)
@@ -1,22 +1,14 @@
+;
+; unsigned char __fastcall__ kbrepeat (unsigned char mode);
+;
 
-        .export _kbrepeat, _kbrepeatdelay, _kbrepeatrate
+        .export _kbrepeat
 
-        .include        "plus4/plus4.inc"
+        .include        "plus4.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
+        ldx #0
         rts