aboutsummaryrefslogtreecommitdiff
path: root/conio
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-04-11 13:08:38 -0400
committerB. Watson <yalhcru@gmail.com>2021-04-11 13:08:38 -0400
commit91ee2175eb2018a239f14aca7786106868dd9c9d (patch)
treee5e8e29007633cefde42b349e6e6cd6e4d62b200 /conio
parent9e8f7dd4c68014878f7c63547f1efbf8533ca7d4 (diff)
downloadtaipan-91ee2175eb2018a239f14aca7786106868dd9c9d.tar.gz
Save 4 bytes
Diffstat (limited to 'conio')
-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