fix: fixed immediate values

This commit is contained in:
2024-11-29 10:10:48 -06:00
parent 83029f6617
commit d1cbc09e99

View File

@@ -13,18 +13,18 @@
ORG ROM_BASE ORG ROM_BASE
RESET RESET
lda %11000001 ; 8n1 serial, enable DLAB lda #%11000001 ; 8n1 serial, enable DLAB
sta UART_LCR sta UART_LCR
lda $00 ; Set divisor to 12 (9600 baud) lda #$00 ; Set divisor to 12 (9600 baud)
sta UART_DLL sta UART_DLL
lda $0C lda #$0C
sta UART_DLM sta UART_DLM
lda %11000000 ; 8n1 serial, disable DLAB lda #%11000000 ; 8n1 serial, disable DLAB
sta UART_LCR sta UART_LCR
lda %01000000 ; Enable RTS lda #%01000000 ; Enable RTS
sta UART_MCR sta UART_MCR
lda 'H ; send 'H' lda 'H ; send 'H'