Compare commits
2 Commits
7e9f18b2d2
...
dc3ab70258
Author | SHA1 | Date | |
---|---|---|---|
dc3ab70258
|
|||
97ff749e8b
|
@@ -28,7 +28,7 @@ NEXT@
|
|||||||
sta STACK_BOTTOM,x ; Write a zero and progress to the next byte
|
sta STACK_BOTTOM,x ; Write a zero and progress to the next byte
|
||||||
leax 1,x
|
leax 1,x
|
||||||
cmpx #STACK_DEPTH ; See if we're at the top of the stack yet
|
cmpx #STACK_DEPTH ; See if we're at the top of the stack yet
|
||||||
blo NEXT@ ; Loop if we aren't at the end yet
|
bne NEXT@ ; Loop if we aren't at the end yet
|
||||||
lds #STACK_TOP ; Set S to top of newly cleared stack
|
lds #STACK_TOP ; Set S to top of newly cleared stack
|
||||||
|
|
||||||
BOOTSCR
|
BOOTSCR
|
||||||
|
@@ -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