fix(reset): removed POST as it is to be an inbuilt EF, and style fixes
This commit is contained in:
12
src/reset.s
12
src/reset.s
@@ -24,7 +24,7 @@ RESET
|
||||
CLRSTACK
|
||||
; Initialize the system stack
|
||||
clra ; Init A & X to zero out the stack
|
||||
ldx #$0000
|
||||
ldx #0
|
||||
NEXT@
|
||||
sta STACK_BOTTOM,x ; Write a zero and progress to the next byte
|
||||
leax 1,x
|
||||
@@ -36,18 +36,12 @@ BOOTSCR
|
||||
lda #13 ; 9600 baud
|
||||
ldb #%11 ; 8N1
|
||||
jsr INITUART ; Initialize serial console
|
||||
ldx #VERMSG ; Print version information
|
||||
jsr POUTZSTR
|
||||
|
||||
; Progress to POST
|
||||
POST
|
||||
jsr RAMTEST
|
||||
PZSTR VERMSG ; Print version information
|
||||
|
||||
; Hand off control to the BUZBEE monitor and print notification of leaving the
|
||||
; firmware
|
||||
ENTERMON
|
||||
ldx #TXTRUN
|
||||
jsr POUTZSTR
|
||||
PZSTR TXTRUN
|
||||
jmp BUZBEE
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
Reference in New Issue
Block a user