Skip to content

Commit

Permalink
[UTIL] improve hexedit left/right navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
mooinglemur committed Oct 7, 2023
1 parent 5152994 commit bb34cf9
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions util/hexedit.s
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,19 @@ cursor_left:
jsr erase_cursor
dec cursor_x
jsr draw_cursor
crl1: jmp user_input
jmp user_input
crl1: jsr calc_current_address
lda source_h
ora source_l
beq crl2
jsr erase_cursor
lda hex_columns
asl
dec
sta cursor_x
jsr draw_cursor
jmp cursor_up
crl2: jmp user_input

cursor_right:
lda hex_columns
Expand All @@ -821,7 +833,12 @@ cursor_right:
jsr erase_cursor
inc cursor_x
jsr draw_cursor
crr1: jmp user_input
jmp user_input
crr1:
jsr erase_cursor
stz cursor_x
jsr draw_cursor
jmp cursor_down

scroll_down_one:
lda top_address_l
Expand Down

0 comments on commit bb34cf9

Please sign in to comment.