fix status updates
This commit is contained in:
parent
03221c5fb4
commit
6c9a8bbc04
@ -32,16 +32,13 @@ status_str: .res 17 ; 16 + null
|
|||||||
@check_byte:
|
@check_byte:
|
||||||
lda spi_p::bytes_written
|
lda spi_p::bytes_written
|
||||||
cmp trans_bytes
|
cmp trans_bytes
|
||||||
bne @byte_written
|
beq @read_keypad
|
||||||
|
@byte_written:
|
||||||
|
sta trans_bytes
|
||||||
@check_page:
|
@check_page:
|
||||||
lda spi_p::pages_written
|
lda spi_p::pages_written
|
||||||
cmp trans_pages
|
cmp trans_pages
|
||||||
bne @page_written
|
beq @read_keypad
|
||||||
bra @read_keypad
|
|
||||||
@byte_written:
|
|
||||||
sta trans_bytes
|
|
||||||
; bra @print_status
|
|
||||||
bra @read_keypad
|
|
||||||
@page_written:
|
@page_written:
|
||||||
sta trans_pages
|
sta trans_pages
|
||||||
bra @print_status
|
bra @print_status
|
||||||
|
Loading…
Reference in New Issue
Block a user