one more char insertion bug fixed
This commit is contained in:
1 parent
7fe8a8b244
commit
3216388955
2 files changed
+10
-6
No files matched your search
@@ -4,20 +4,19 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
// YYY moves cursor down the first time no more insertion is possible
|
// YYY in second part of the logical line moves everything from the start of the line
|
||||||
// YYY in second part of the logical line moves everything froom the start of the line
|
|
||||||
|
|
||||||
|
|
||||||
chrout_screen_INS:
|
chrout_screen_INS:
|
||||||
|
|
||||||
// First check if last character of the logiccall line is space
|
// First check if last character of the logical line is space
|
||||||
|
|
||||||
jsr screen_check_space_ends_line
|
jsr screen_check_space_ends_line
|
||||||
beq chrout_screen_ins_possible
|
beq chrout_screen_ins_possible
|
||||||
|
|
||||||
// Not space, we cannot insert anything
|
// Not space, we cannot insert anything
|
||||||
|
|
||||||
bne_far chrout_screen_calc_lptr_done
|
bne_far chrout_screen_done
|
||||||
|
|
||||||
chrout_screen_ins_possible:
|
chrout_screen_ins_possible:
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
|
|
||||||
|
|
||||||
|
screen_grow_logical_line_done_scroll:
|
||||||
|
|
||||||
|
inc TBLX
|
||||||
|
|
||||||
|
// FALLTROUGH
|
||||||
|
|
||||||
screen_grow_logical_line_done:
|
screen_grow_logical_line_done:
|
||||||
|
|
||||||
inc TBLX
|
|
||||||
jmp screen_calculate_PNT_USER
|
jmp screen_calculate_PNT_USER
|
||||||
|
|
||||||
|
|
||||||
@@ -18,7 +23,7 @@ screen_grow_logical_line:
|
|||||||
// Do not grow line if previus one is grown
|
// Do not grow line if previus one is grown
|
||||||
ldy TBLX
|
ldy TBLX
|
||||||
lda LDTBL+0, y
|
lda LDTBL+0, y
|
||||||
bpl screen_grow_logical_line_done
|
bpl screen_grow_logical_line_done_scroll
|
||||||
|
|
||||||
// If last line, scroll the screen up
|
// If last line, scroll the screen up
|
||||||
cpy #24
|
cpy #24
|
||||||
|
|||||||
Reference in new issue
Block a user