From 91ee2175eb2018a239f14aca7786106868dd9c9d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 11 Apr 2021 13:08:38 -0400 Subject: Save 4 bytes --- conio/chline.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'conio') 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 -- cgit v1.2.3