Compare commits

..

2 Commits

2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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