]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos/memory/fillram.s
Fixed key definitions (were removed from apple2.h)
[cc65] / libsrc / geos / memory / fillram.s
index 72301c7fd3d620416607ac5344630b4b1a852b45..013fce797af36399a49267d7af2b13197ef6ddc2 100644 (file)
@@ -4,7 +4,7 @@
 ;
 ; 30.10.99, 15.07.2001
 
-; void FillRam         (char *dest, char what, int length);
+; void FillRam         (char *dest, char what, int length);
 
            .import popa, popax
            .export _FillRam
@@ -20,4 +20,11 @@ _FillRam:
            jsr popax
            sta r1L
            stx r1H
-           jmp FillRam
+           pha
+           txa
+           pha
+           jsr FillRam
+           pla
+           tax
+           pla
+           rts