Add visual feedback to bootstrapper

This commit is contained in:
Elliot Nunn 2021-03-03 18:02:30 +08:00
parent 4574458989
commit 8d68e8c3a0
1 changed files with 15 additions and 0 deletions

View File

@ -28,6 +28,8 @@ SystemHeapSize dc.l $20000 ; size of system heap (used for pre-
Code
bsr BareBonesDebugStr
lea bootVars,a0
@ -43,6 +45,14 @@ pramLoop
pramDone
pea MyString
dc.w $ABFF ; _DebugStr
move.l $16A,D0 ; Ticks
add.l #60,D0
.loop cmp.l $16A,D0
bhi.s .loop
; all right, now reboot the machine
move.l $2AE,a0 ; ROMBase
@ -96,4 +106,9 @@ pRamTable
dc.l $00000000
MyString dc.b 43, 'Network boot enabled in PRAM. Restarting...'
BareBonesDebugStr
include 'BareBonesDebugStr.a'
align 10 ; fill up the boot blocks