aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conio/chline.s6
1 files changed, 4 insertions, 2 deletions
diff --git a/conio/chline.s b/conio/chline.s
index 85d2e28..81cf2e9 100644
--- a/conio/chline.s
+++ b/conio/chline.s
@@ -1,5 +1,7 @@
; modified for taipan:
; - commented out _chlinexy as taipan never uses it.
+; - get rid of the check for a 0 argument. taipan only calls chline()
+; with constant non-zero args.
;
; Ullrich von Bassewitz, 08.08.1998
;
@@ -24,8 +26,8 @@ CHRCODE = $12+64
; pla ; Restore the length
_chline:
- cmp #0 ; Is the length zero?
- beq L9 ; Jump if done
+; cmp #0 ; Is the length zero?
+; beq L9 ; Jump if done
sta tmp1
L1: lda #CHRCODE ; Horizontal line, screen code
jsr cputdirect ; Direct output