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
|
CLRSTACK
|
||||||
; Initialize the system stack
|
; Initialize the system stack
|
||||||
clra ; Init A & X to zero out the stack
|
clra ; Init A & X to zero out the stack
|
||||||
ldx #$0000
|
ldx #0
|
||||||
NEXT@
|
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
|
||||||
@@ -36,18 +36,12 @@ BOOTSCR
|
|||||||
lda #13 ; 9600 baud
|
lda #13 ; 9600 baud
|
||||||
ldb #%11 ; 8N1
|
ldb #%11 ; 8N1
|
||||||
jsr INITUART ; Initialize serial console
|
jsr INITUART ; Initialize serial console
|
||||||
ldx #VERMSG ; Print version information
|
PZSTR VERMSG ; Print version information
|
||||||
jsr POUTZSTR
|
|
||||||
|
|
||||||
; Progress to POST
|
|
||||||
POST
|
|
||||||
jsr RAMTEST
|
|
||||||
|
|
||||||
; Hand off control to the BUZBEE monitor and print notification of leaving the
|
; Hand off control to the BUZBEE monitor and print notification of leaving the
|
||||||
; firmware
|
; firmware
|
||||||
ENTERMON
|
ENTERMON
|
||||||
ldx #TXTRUN
|
PZSTR TXTRUN
|
||||||
jsr POUTZSTR
|
|
||||||
jmp BUZBEE
|
jmp BUZBEE
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
Reference in New Issue
Block a user