From 3c09810aa8a63b065d8d515dce1819dfba591799 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Sat, 9 Dec 2023 23:32:43 +0100 Subject: [PATCH] fix setline --- programs/spi-menu.s65 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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