some character insertion fixes

This commit is contained in:
FeralChild64 committed 2020-01-10 16:58:02 +01:00
1 parent c68a255383
commit 7fe8a8b244
3 files changed
+45 -41

No files matched your search

@@ -1,25 +1,25 @@
screen_get_logical_line_end_ptr:
ldy TBLX
cpy #24
bcs screen_get_logical_line_end_39 // last line of the screen
lda LDTBL+0, y
bpl screen_get_logical_line_end_39 // current line continues previous one
lda LDTBL+1, y
bmi screen_get_logical_line_end_39 // current line is not continued
// FALLTROUGH
screen_get_logical_line_end_79:
ldy #79
rts
screen_get_logical_line_end_39:
ldy #39
screen_get_logical_line_end_ptr:
ldy TBLX
cpy #24
bcs screen_get_logical_line_end_39 // last line of the screen
lda LDTBL+0, y
bpl screen_get_logical_line_end_39 // current line continues previous one
lda LDTBL+1, y
bmi screen_get_logical_line_end_39 // current line is not continued
// FALLTROUGH
screen_get_logical_line_end_79:
ldy #79
rts
screen_get_logical_line_end_39:
ldy #39
rts