forked from amberisvibin/chibi-pc09
fix(boot): fix broken address mode and spacing cleanup
This commit is contained in:
@@ -26,7 +26,7 @@ NEXT@
|
|||||||
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
|
blo 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
|
||||||
|
|
||||||
SERINIT
|
SERINIT
|
||||||
; 8n1 Serial Enable DLAB
|
; 8n1 Serial Enable DLAB
|
||||||
@@ -40,7 +40,7 @@ SERINIT
|
|||||||
sta UART_LCR
|
sta UART_LCR
|
||||||
lda #(UARTF_MCR_RTS) ; Enable Request-to-Send
|
lda #(UARTF_MCR_RTS) ; Enable Request-to-Send
|
||||||
sta UART_MCR
|
sta UART_MCR
|
||||||
lda #'H ; send 'H'
|
lda #'H ; send 'H'
|
||||||
sta UART_BUFR
|
sta UART_BUFR
|
||||||
|
|
||||||
WAIT
|
WAIT
|
||||||
|
Reference in New Issue
Block a user