work on character inserting
This commit is contained in:
1 parent
b03aa78f54
commit
47090a52fd
9 files changed
+63
-131
No files matched your search
@@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
screen_get_logical_line_end_ptr:
|
||||
|
||||
ldy TBLX
|
||||
cpy #24
|
||||
bcs screen_get_logical_line_end_39 // last line of the screen
|
||||
|
||||
lda LDTBL, y
|
||||
bpl screen_get_logical_line_end_39 // current line continues previous one
|
||||
|
||||
iny
|
||||
lda LDTBL, 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
|
||||
Reference in new issue
Block a user