2 ; Ullrich von Bassewitz, 08.08.1998
4 ; void __fastcall__ cvlinexy (unsigned char x, unsigned char y, unsigned char length);
5 ; void __fastcall__ cvline (unsigned char length);
8 .export _cvlinexy, _cvline, cvlinedirect
9 .import popa, _gotoxy, putchar, newline
11 .include "zeropage.inc"
16 jsr _gotoxy ; Call this one, will pop params
17 pla ; Restore the length and run into _cvline
21 ldx #'|' | $80 ; Vertical line, screen code
23 ldx #'!' | $80 ; Vertical line, screen code
27 cmp #$00 ; Is the length zero?
28 beq done ; Jump if done
31 jsr putchar ; Write, no cursor advance
32 jsr newline ; Advance cursor to next line