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