X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=lugburz;a=blobdiff_plain;f=src%2Famiga%2Fstartup.s;fp=src%2Famiga%2Fstartup.s;h=e008e47b0af454086b32d4876660330dce0adafb;hp=745cf67ec0be162c608dfd94610d8736926bc3f8;hb=d166ef254c06ffbf7e4bb0450bd7d52e5ea82b0f;hpb=515574f76f8442b756fbbf87b41e340d6a78bc42 diff --git a/src/amiga/startup.s b/src/amiga/startup.s index 745cf67..e008e47 100644 --- a/src/amiga/startup.s +++ b/src/amiga/startup.s @@ -19,10 +19,13 @@ super: cmp.l %a0, %a1 bne.s 0b 1: - | setup the stack - move.l #_stacktop, %sp + | setup the stack at the top of (traditional) chipmem for now + move.l #0x80000, %sp andi.w #0xf8ff, %sr | enable interrupts + | initialize early exception handlers + jsr exc_init + jsr main 0: bra.b 0b