From 16c2d2bc624cfd055c784f2f9c1088b1abf2eb45 Mon Sep 17 00:00:00 2001 From: Amber Date: Thu, 5 Dec 2024 16:44:02 -0500 Subject: [PATCH] fix: register name, comment spacing --- code/boot/src/boot.s | 2 +- code/boot/src/hardware.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/boot/src/boot.s b/code/boot/src/boot.s index 6dfac52..e09b5d5 100644 --- a/code/boot/src/boot.s +++ b/code/boot/src/boot.s @@ -27,7 +27,7 @@ RESET lda #%01000000 ; Enable RTS sta UART_MCR - lda 'H ; send 'H' + lda 'H ; send 'H' sta UART_BUFR WAIT diff --git a/code/boot/src/hardware.inc b/code/boot/src/hardware.inc index 8871e94..0049d02 100644 --- a/code/boot/src/hardware.inc +++ b/code/boot/src/hardware.inc @@ -58,7 +58,7 @@ UARTF_IIR_IIDM EQU %01110000 ; Interrupt ID Mask UARTF_IIR_FEM EQU %00000011 ; FIFOs Enabled Mask ; UART Flags for Line Control Register: -UARTF_LCR_8N1 EQU %11000000 ; 8n1 Serial Mode +UARTF_LCR_WLS EQU %11000000 ; Word Length Select Bits UARTF_LCR_STB EQU %00100000 ; Stop Bits UARTF_LCR_PEN EQU %00010000 ; Parity Enable UARTF_LCR_EPS EQU %00001000 ; Even Parity Select