fix setline
This commit is contained in:
parent
9a1324a29a
commit
3c09810aa8
@ -23,8 +23,8 @@ status_str: .res 17 ; 16 + null
|
|||||||
Print MENU
|
Print MENU
|
||||||
@print_status:
|
@print_status:
|
||||||
Strf FMT_STATUS,status_str,trans_pages,trans_bytes,status
|
Strf FMT_STATUS,status_str,trans_pages,trans_bytes,status
|
||||||
lda #(lcd::CMD_SET_ADDRESS | lcd::LINE4)
|
lda #lcd::LINE4
|
||||||
jsr lcd::_cmd
|
jsr lcd::set_position
|
||||||
Print status_str
|
Print status_str
|
||||||
@loop:
|
@loop:
|
||||||
; check if a byte has been transferred
|
; check if a byte has been transferred
|
||||||
@ -39,11 +39,11 @@ status_str: .res 17 ; 16 + null
|
|||||||
bra @read_keypad
|
bra @read_keypad
|
||||||
@byte_written:
|
@byte_written:
|
||||||
sta trans_bytes
|
sta trans_bytes
|
||||||
bra @print_status
|
; bra @print_status
|
||||||
|
bra @read_keypad
|
||||||
@page_written:
|
@page_written:
|
||||||
sta trans_pages
|
sta trans_pages
|
||||||
bra @print_status
|
bra @print_status
|
||||||
|
|
||||||
@read_keypad:
|
@read_keypad:
|
||||||
lda kp::_DEBUG_VAL
|
lda kp::_DEBUG_VAL
|
||||||
beq @loop
|
beq @loop
|
||||||
|
Loading…
Reference in New Issue
Block a user