2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 08.08.1998
|
|
|
|
;
|
2005-03-26 17:03:30 +00:00
|
|
|
; void __fastcall__ cclearxy (unsigned char x, unsigned char y, unsigned char length);
|
|
|
|
; void __fastcall__ cclear (unsigned char length);
|
2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.export _cclearxy, _cclear
|
2016-06-05 12:58:38 +00:00
|
|
|
.import gotoxy, chlinedirect
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_cclearxy:
|
2013-05-09 11:56:54 +00:00
|
|
|
pha ; Save the length
|
2016-06-05 12:58:38 +00:00
|
|
|
jsr gotoxy ; Call this one, will pop params
|
2013-05-09 11:56:54 +00:00
|
|
|
pla ; Restore the length and run into _cclear
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_cclear:
|
2013-05-09 11:56:54 +00:00
|
|
|
ldx #' ' | $80 ; Blank, screen code
|
|
|
|
jmp chlinedirect
|