]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/cclear.s
Update from Oliver Schmidt: Includes gotox/gotoy which were missing before.
[cc65] / libsrc / apple2 / cclear.s
index de6f01ef4d7591e4447034407ff1a81237b7cc78..ca973686b3100e0d4ab109a32e9f052e9a1e9f87 100644 (file)
@@ -1,19 +1,19 @@
 ;
 ; Ullrich von Bassewitz, 08.08.1998
 ;
-; void cclearxy (unsigned char x, unsigned char y, unsigned char length);
-; void cclear (unsigned char length);
+; void __fastcall__ cclearxy (unsigned char x, unsigned char y, unsigned char length);
+; void __fastcall__ cclear (unsigned char length);
 ;
 
-       .export         _cclearxy, _cclear
-       .import         popa, _gotoxy, chlinedirect
+        .export                _cclearxy, _cclear
+        .import        popa, _gotoxy, chlinedirect
 
 _cclearxy:
-               pha                     ; Save the length
-       jsr     popa            ; Get y
-               jsr     _gotoxy         ; Call this one, will pop params
-               pla                     ; Restore the length and run into _cclear
+        pha                    ; Save the length
+        jsr    popa            ; Get y
+        jsr            _gotoxy         ; Call this one, will pop params
+        pla                    ; Restore the length and run into _cclear
 
 _cclear:
-       ldx     #' ' | $80      ; Blank, screen code
-       jmp     chlinedirect
+        ldx    #' ' | $80      ; Blank, screen code
+        jmp    chlinedirect