fix(serial): INITUART now loads FCR values properly
This commit is contained in:
@@ -28,7 +28,7 @@ INITUART
|
|||||||
stb UART_DLL ; Write divisor LSB
|
stb UART_DLL ; Write divisor LSB
|
||||||
puls b
|
puls b
|
||||||
stb UART_LCR ; Write LCR
|
stb UART_LCR ; Write LCR
|
||||||
lda UARTF_FCR_FE|UARTF_FCR_RFR|UARTF_FCR_XFR ; FIFO disable and clear
|
lda #(UARTF_FCR_FE|UARTF_FCR_RFR|UARTF_FCR_XFR) ; FIFO disable and clear
|
||||||
sta UART_FCR
|
sta UART_FCR
|
||||||
lda #0
|
lda #0
|
||||||
sta UART_IER ; Polled mode
|
sta UART_IER ; Polled mode
|
||||||
|
Reference in New Issue
Block a user