fix(serial): INITUART now writes LCR and RESET calls INITUART with params
This commit is contained in:
@@ -26,6 +26,8 @@ INITUART
|
||||
ldd a,x ; Get divisor into D
|
||||
sta UART_DLM ; Write divisor MSB
|
||||
stb UART_DLL ; Write divisor LSB
|
||||
puls b ; Restore B
|
||||
stb UART_LCR ; Write LCR
|
||||
lda UARTF_FCR_FE|UARTF_FCR_RFR|UARTF_FCR_XFR ; FIFO disable and clear
|
||||
sta UART_FCR
|
||||
lda #0
|
||||
|
||||
Reference in New Issue
Block a user