1 ;* void chlinexy (unsigned char x, unsigned char y, unsigned char length);
2 ;* void chline (unsigned char length);
4 .export _chlinexy, _chline
5 .import popa, _gotoxy, cputdirect
8 .include "creativision.inc"
13 jsr _gotoxy ; Call this one, will pop params
14 pla ; Restore the length
17 cmp #0 ; Is the length zero?
20 L1: lda #CH_HLINE ; Horizontal line, screen code
21 jsr cputdirect ; Direct output