more sane directory name, updated binaries
This commit is contained in:
1 parent
d4d32095d1
commit
76aaf298b8
697 files changed
+56
-56
No files matched your search
@@ -0,0 +1,59 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# X16 * #IGNORE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Cursor keys handling within CHROUT
|
||||
//
|
||||
|
||||
|
||||
chrout_screen_CRSR_UP:
|
||||
|
||||
lda TBLX
|
||||
beq chrout_screen_CRSR_done
|
||||
dec TBLX
|
||||
|
||||
// FALLTROUGH
|
||||
|
||||
chrout_screen_CRSR_done:
|
||||
|
||||
jmp chrout_screen_calc_lptr_done
|
||||
|
||||
|
||||
chrout_screen_CRSR_DOWN:
|
||||
|
||||
lda TBLX
|
||||
cmp #24
|
||||
bne !+
|
||||
jsr screen_scroll_up
|
||||
!:
|
||||
inc TBLX
|
||||
jmp chrout_screen_calc_lptr_done
|
||||
|
||||
|
||||
chrout_screen_CRSR_RIGHT:
|
||||
|
||||
jsr screen_get_clipped_PNTR
|
||||
cpy #39
|
||||
beq_16 screen_advance_to_next_line
|
||||
|
||||
iny
|
||||
!:
|
||||
sty PNTR
|
||||
bpl chrout_screen_CRSR_done // branch always
|
||||
|
||||
|
||||
chrout_screen_CRSR_LEFT:
|
||||
|
||||
jsr screen_get_clipped_PNTR
|
||||
dey
|
||||
bpl !-
|
||||
|
||||
lda TBLX
|
||||
beq chrout_screen_CRSR_done
|
||||
|
||||
dec TBLX
|
||||
lda #39
|
||||
sta PNTR
|
||||
bne chrout_screen_CRSR_done // branch always
|
||||
Reference in new issue
Block a user