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
12 .include "../apple2/apple2.inc"
17 jsr _gotoxy ; Call this one, will pop params
18 pla ; Restore the length and run into _chline
21 ldx #'S' ; MouseText character
23 cpy #$FF ; Normal character display mode?
25 ldx #'-' | $80 ; Horizontal line, screen code
28 cmp #$00 ; Is the length zero?
32 jsr cputdirect ; Direct output