diff --git a/programs/spi-menu.s65 b/programs/spi-menu.s65 index 19d7a61..f2d2d9f 100644 --- a/programs/spi-menu.s65 +++ b/programs/spi-menu.s65 @@ -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