2 ; Ullrich von Bassewitz, 08.08.1998
4 ; void chlinexy (unsigned char x, unsigned char y, unsigned char length);
5 ; void chline (unsigned char length);
8 .export _chlinexy, _chline, chlinedirect
9 .import popa, _gotoxy, cputdirect
15 jsr _gotoxy ; Call this one, will pop params
16 pla ; Restore the length and run into _chline
19 ldx #'-' | $80 ; Horizontal line, screen code
22 cmp #$00 ; Is the length zero?
26 jsr cputdirect ; Direct output