+
+panic:
+ or.w #0x0700, %sr
+ move.l #0xdff000, %a0
+ move.w #0x7fff, DMACON(%a0) | clear all DMACON bits
+ move.w #0xf00, COLOR0(%a0)
+
+ pea str_panic
+ jsr printf
+ add.l #8, %sp | also get rid of the reutrn address
+
+ jsr printf
+ bra halt_cpu
+
+str_panic: .asciz "Kernel panic!\n~~~~~~~~~~~~~\n"