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
9 .import gotoxy, cputdirect
10 .importzp tmp1, chlinechar
14 jsr gotoxy ; Call this one, will pop params
15 pla ; Restore the length
18 cmp #0 ; Is the length zero?
21 L1: lda #chlinechar ; Horizontal line, screen code
22 jsr cputdirect ; Direct output