forked from amberisvibin/chibi-pc09
fix: register name, comment spacing
This commit is contained in:
@@ -27,7 +27,7 @@ RESET
|
|||||||
lda #%01000000 ; Enable RTS
|
lda #%01000000 ; Enable RTS
|
||||||
sta UART_MCR
|
sta UART_MCR
|
||||||
|
|
||||||
lda 'H ; send 'H'
|
lda 'H ; send 'H'
|
||||||
sta UART_BUFR
|
sta UART_BUFR
|
||||||
|
|
||||||
WAIT
|
WAIT
|
||||||
|
@@ -58,7 +58,7 @@ UARTF_IIR_IIDM EQU %01110000 ; Interrupt ID Mask
|
|||||||
UARTF_IIR_FEM EQU %00000011 ; FIFOs Enabled Mask
|
UARTF_IIR_FEM EQU %00000011 ; FIFOs Enabled Mask
|
||||||
|
|
||||||
; UART Flags for Line Control Register:
|
; 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_STB EQU %00100000 ; Stop Bits
|
||||||
UARTF_LCR_PEN EQU %00010000 ; Parity Enable
|
UARTF_LCR_PEN EQU %00010000 ; Parity Enable
|
||||||
UARTF_LCR_EPS EQU %00001000 ; Even Parity Select
|
UARTF_LCR_EPS EQU %00001000 ; Even Parity Select
|
||||||
|
Reference in New Issue
Block a user