added extra check for graphical chars
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
.import popa, _gotoxy, soft80_putchar, soft80_newline
|
||||
.importzp tmp1
|
||||
|
||||
.include "c64.inc"
|
||||
.include "soft80.inc"
|
||||
|
||||
soft80_cvlinexy:
|
||||
pha ; Save the length
|
||||
jsr popa ; Get y
|
||||
@@ -17,7 +20,7 @@ soft80_cvline:
|
||||
cmp #0 ; Is the length zero?
|
||||
beq L9 ; Jump if done
|
||||
sta tmp1
|
||||
L1: lda #125 ; Vertical bar, petscii code
|
||||
L1: lda #CH_VLINE ; Vertical bar, petscii code
|
||||
jsr soft80_putchar ; Write, no cursor advance
|
||||
jsr soft80_newline ; Advance cursor to next line
|
||||
dec tmp1
|
||||
|
||||
Reference in New Issue
Block a user