summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/crt0.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/crt0.S b/firmware/crt0.S
index fe1fad8..78b26b7 100644
--- a/firmware/crt0.S
+++ b/firmware/crt0.S
@@ -109,6 +109,9 @@ munge_loop:
cmp/ge r1,r2
bt munge_loop
nop
+
+ mov #0,r0
+ ldc r0,gbr
! call the mainline
mov.l main_k,r0