mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2024-06-13 10:29:34 +00:00
Isolate freezing Expansion Bus Mgr func
This commit is contained in:
parent
debed6c064
commit
0550413e40
48
CoolStuff.a
Normal file
48
CoolStuff.a
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
EBM_FAKE_FIRSTFUNC PROC EXPORT
|
||||||
|
|
||||||
|
|
||||||
|
IMPORT BaseOfROM
|
||||||
|
MACHINE MC68030
|
||||||
|
|
||||||
|
|
||||||
|
pea @str1
|
||||||
|
move #-3,-(sp)
|
||||||
|
dc.w $aa7f
|
||||||
|
|
||||||
|
bsr.l (BaseOfROM + $49590)
|
||||||
|
|
||||||
|
pea @str2
|
||||||
|
move #-3,-(sp)
|
||||||
|
dc.w $aa7f
|
||||||
|
|
||||||
|
bsr.l (BaseOfROM + $471DE)
|
||||||
|
|
||||||
|
pea @str3
|
||||||
|
move #-3,-(sp)
|
||||||
|
dc.w $aa7f
|
||||||
|
|
||||||
|
bsr.l (BaseOfROM + $44FF0)
|
||||||
|
|
||||||
|
pea @str4
|
||||||
|
move #-3,-(sp)
|
||||||
|
dc.w $aa7f
|
||||||
|
|
||||||
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
STRING C
|
||||||
|
@str1
|
||||||
|
dc.b '*68k: Entered fake FirstFunc^n'
|
||||||
|
ALIGN 2
|
||||||
|
@str2
|
||||||
|
dc.b '*68k: returned from 49590^n'
|
||||||
|
ALIGN 2
|
||||||
|
@str3
|
||||||
|
dc.b '*68k: returned from 471DE^n'
|
||||||
|
ALIGN 2
|
||||||
|
@str4
|
||||||
|
dc.b '*68k: returned from 44FF0 ... returning^n'
|
||||||
|
ALIGN 2
|
||||||
|
|
||||||
|
|
||||||
|
END
|
|
@ -87,12 +87,16 @@ MainCodeLibs =
|
||||||
# ¶
|
# ¶
|
||||||
# Keep DispTable at end ¶
|
# Keep DispTable at end ¶
|
||||||
# ¶
|
# ¶
|
||||||
"{ObjDir}DispTable.a.o"
|
"{ObjDir}DispTable.a.o" "{ObjDir}CoolStuff.a.o"
|
||||||
#
|
#
|
||||||
# end of ROM
|
# end of ROM
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
"{ObjDir}CoolStuff.a.o" Ä "{Sources}CoolStuff.a"
|
||||||
|
Asm {StdAOpts} -o "{Targ}" "{Sources}CoolStuff.a"
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Main Code Image Resource
|
# Main Code Image Resource
|
||||||
#
|
#
|
||||||
|
|
|
@ -1545,8 +1545,8 @@ BootRetry MOVE #$2700,SR ; disable interrupts
|
||||||
IMPORT InterC_15c0_CodePrepare2
|
IMPORT InterC_15c0_CodePrepare2
|
||||||
BSR.L InterC_15c0_CodePrepare2
|
BSR.L InterC_15c0_CodePrepare2
|
||||||
|
|
||||||
IMPORT EXPANSIONBUSMGRFIRSTFUNC
|
IMPORT EBM_FAKE_FIRSTFUNC
|
||||||
BSR.L EXPANSIONBUSMGRFIRSTFUNC
|
BSR.L EBM_FAKE_FIRSTFUNC
|
||||||
|
|
||||||
BSR.L CompBootStackOld ; lifted from SetUpSysAppZone
|
BSR.L CompBootStackOld ; lifted from SetUpSysAppZone
|
||||||
MOVE.L A0,SP
|
MOVE.L A0,SP
|
||||||
|
|
Loading…
Reference in New Issue
Block a user