From d1cbc09e9990c2f9aef928e046360fe9100d1170 Mon Sep 17 00:00:00 2001 From: Gale Faraday Date: Fri, 29 Nov 2024 10:10:48 -0600 Subject: [PATCH] fix: fixed immediate values --- code/boot/src/boot.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/boot/src/boot.s b/code/boot/src/boot.s index 3788d48..6dfac52 100644 --- a/code/boot/src/boot.s +++ b/code/boot/src/boot.s @@ -13,25 +13,25 @@ ORG ROM_BASE RESET - lda %11000001 ; 8n1 serial, enable DLAB + lda #%11000001 ; 8n1 serial, enable DLAB sta UART_LCR - lda $00 ; Set divisor to 12 (9600 baud) + lda #$00 ; Set divisor to 12 (9600 baud) sta UART_DLL - lda $0C + lda #$0C sta UART_DLM - lda %11000000 ; 8n1 serial, disable DLAB + lda #%11000000 ; 8n1 serial, disable DLAB sta UART_LCR - lda %01000000 ; Enable RTS + lda #%01000000 ; Enable RTS sta UART_MCR lda 'H ; send 'H' sta UART_BUFR WAIT - sync ; Wait for interrupts + sync ; Wait for interrupts nop bra WAIT