mirror of
https://github.com/elliotnunn/NetBoot.git
synced 2024-10-05 20:54:38 +00:00
Add visual feedback to bootstrapper
This commit is contained in:
parent
4574458989
commit
8d68e8c3a0
15
Bootstrap.a
15
Bootstrap.a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user