diff --git a/system/lcd.s65 b/system/lcd.s65 index 2b31181..fc20ecd 100644 --- a/system/lcd.s65 +++ b/system/lcd.s65 @@ -103,7 +103,7 @@ LCD_CLEAR = %00000000 .proc lcd_print ldy #$00 @lcd_print_loop: - lda ARG0,y + lda (ARG0),y beq @lcd_print_end jsr _lcd_char iny @@ -112,6 +112,10 @@ LCD_CLEAR = %00000000 rts .endproc +;******************************************************************************** +; @macro Print a null-terminated string +; @param message: Address of the message +;******************************************************************************** .macro Print message jsr lcd_clear lda #.LOBYTE(message)