From 8d68e8c3a0bfba5cf4869c47777ce7af717acbb3 Mon Sep 17 00:00:00 2001 From: Elliot Nunn Date: Wed, 3 Mar 2021 18:02:30 +0800 Subject: [PATCH] Add visual feedback to bootstrapper --- Bootstrap.a | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Bootstrap.a b/Bootstrap.a index 962a754..d0514c1 100644 --- a/Bootstrap.a +++ b/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