2 ; Copied from CBM implementation
5 ; Ullrich von Bassewitz, 08.08.1998
7 ; void cclearxy (unsigned char x, unsigned char y, unsigned char length);
8 ; void cclear (unsigned char length);
11 .export _cclearxy, _cclear
12 .import popa, _gotoxy, cputdirect
18 jsr _gotoxy ; Call this one, will pop params
19 pla ; Restore the length and run into _cclear
22 cmp #0 ; Is the length zero?
26 jsr cputdirect ; Direct output