reenabled tab, some work towards char delete
This commit is contained in:
1 parent
c44120ee96
commit
98e7e633e8
6 files changed
+74
-45
No files matched your search
@@ -6,33 +6,35 @@
|
||||
|
||||
#if CONFIG_EDIT_TABULATORS
|
||||
|
||||
chrout_screen_TAB_FW:
|
||||
jmp chrout_screen_done
|
||||
chrout_screen_TAB_BW:
|
||||
jmp chrout_screen_done
|
||||
|
||||
/* YYY disabled for rework
|
||||
chrout_screen_TAB_FW:
|
||||
|
||||
lda PNTR
|
||||
jsr screen_get_clipped_PNTR
|
||||
tya
|
||||
ora #%00000111
|
||||
sta PNTR
|
||||
inc PNTR
|
||||
tay
|
||||
iny
|
||||
cpy #40
|
||||
bcc !+
|
||||
ldy #39
|
||||
!:
|
||||
sty PNTR
|
||||
|
||||
jmp chrout_screen_calc_lptr_done
|
||||
|
||||
|
||||
chrout_screen_TAB_BW:
|
||||
|
||||
lda TBLX
|
||||
ora PNTR
|
||||
beq !+ // top-left corner, recalculating pointer is not necessary, but this is a very rare case nevertheless
|
||||
jsr screen_get_clipped_PNTR
|
||||
cpy #$00 // YYY maybe it's worth to put this inside screen_get_clipped_PNTR?
|
||||
beq !+ // column 0, recalculating pointers is not necessary, but this is a rare case nevertheless
|
||||
|
||||
dec PNTR
|
||||
lda PNTR
|
||||
dey
|
||||
tya
|
||||
and #%11111000
|
||||
sta PNTR
|
||||
!:
|
||||
jmp chrout_screen_calc_lptr_done */
|
||||
jmp chrout_screen_calc_lptr_done
|
||||
|
||||
|
||||
#endif // CONFIG_EDIT_TABULATORS
|
||||
Reference in new issue
Block a user