some more size/speed optimizations
This commit is contained in:
1 parent
fc3a40a254
commit
46ee7e476e
5 files changed
+36
-47
No files matched your search
@@ -19,9 +19,8 @@ find_line_from_current:
|
||||
|
||||
// Check if line is not empty
|
||||
|
||||
jsr peek_line_pointer_null_check
|
||||
bcc find_line_fail
|
||||
|
||||
jsr is_line_pointer_null
|
||||
beq find_line_fail
|
||||
|
||||
// Fetch the high byte of line number and compare
|
||||
ldy #$03
|
||||
@@ -62,8 +61,8 @@ find_line_next:
|
||||
|
||||
// Advance to the next line
|
||||
|
||||
jsr peek_line_pointer_null_check
|
||||
bcc find_line_fail // branch in no more lines exist
|
||||
jsr is_line_pointer_null
|
||||
beq find_line_fail // branch in no more lines exist
|
||||
|
||||
ldy #$00
|
||||
|
||||
|
||||
Reference in new issue
Block a user