projects
/
lugburz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aimless debugging, forgot -m68000 in the linker command line
[lugburz]
/
src
/
amiga
/
startup.s
diff --git
a/src/amiga/startup.s
b/src/amiga/startup.s
index
745cf67
..
e008e47
100644
(file)
--- a/
src/amiga/startup.s
+++ b/
src/amiga/startup.s
@@
-19,10
+19,13
@@
super:
cmp.l %a0, %a1
bne.s 0b
1:
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
andi.w #0xf8ff, %sr | enable interrupts
+ | initialize early exception handlers
+ jsr exc_init
+
jsr main
0: bra.b 0b
jsr main
0: bra.b 0b