2 ; Maciej 'YTM/Elysium' Witkowiak
6 ; void cvlinexy (unsigned char x, unsigned char y, unsigned char length);
7 ; void cvline (unsigned char length);
10 .include "geossym.inc"
12 .export _cvlinexy, _cvline
13 .import popa, _gotoxy, fixcursor
14 .importzp cursor_x, cursor_y, cursor_r
19 jsr _gotoxy ; Call this one, will pop params
20 pla ; Restore the length
23 cmp #0 ; Is the length zero?
26 lda cursor_x ; x position
28 adc #4 ; in the middle of cell
33 lda cursor_y ; top start
43 lda #%11111111 ; pattern