2 ; based on CBM implementation
5 ; Ullrich von Bassewitz, 08.08.1998
7 ; void chlinexy (unsigned char x, unsigned char y, unsigned char length);
8 ; void chline (unsigned char length);
11 .export _chlinexy, _chline
12 .import gotoxy, cputdirect
17 jsr gotoxy ; Call this one, will pop params
18 pla ; Restore the length
21 cmp #0 ; Is the length zero?
24 L1: lda #$94 ; Horizontal line, screen code
25 jsr cputdirect ; Direct output