Identify trap AA7F as _MPDispatch

This commit is contained in:
Elliot Nunn 2017-10-04 17:51:30 +08:00
parent 8198d61f3b
commit bc7aa41f2e
3 changed files with 8 additions and 5 deletions

View File

@ -963,7 +963,7 @@ FirstTool
ToolBox $26E ; toolbox trap $26E (unknown) <C146> <C413>
ToolBox $26F ; toolbox trap $26F (unknown) <C146> <C413>
DCB.L 15,0 ; toolbox trap $270-$27E (unknown) <C146>
ToolBox $27F,NKLog
ToolBox $27F,MPDispatchStubTrap
DCB.L 16,0 ; toolbox trap $280-$28F (unknown) <C146>
ToolBox $290,InitPalettes ; toolbox trap $290 <02Jun87 DAF>
ToolBox $291,NewPalette ; toolbox trap $291 <02Jun87 DAF>

View File

@ -1,3 +1,6 @@
; This ROM implementation of the MPDispatch trap (AA7F) only implements two
; selectors, both for writing to the NanoKernel framebuffer/serial log.
; To print a C string:
; PEA @cstring
; MOVE #-3, -(SP)
@ -10,7 +13,7 @@
; DC.W $AA7F
NKLog PROC EXPORT
MPDispatchStubTrap PROC EXPORT
CmpI #-3, $4(SP)
BEQ.S NKxprintf

View File

@ -93,7 +93,7 @@ OSObjs = "{ObjDir}BCScreenRelated.o"
"{ObjDir}MiscPatches.a.o" ¶
"{ObjDir}PowerMgr.o" ¶
"{ObjDir}VMPatches.a.o" ¶
"{ObjDir}NKLogShim.a.o"
"{ObjDir}MPDispatchStub.a.o"
"{ObjDir}Dispatch.a.o" ¶
"{ObjDir}UniversalTables.a.o" ¶
"{ObjDir}NKEventGroupRelated.a.o" ¶
@ -283,8 +283,8 @@ OSObjs = "{ObjDir}BCScreenRelated.o"
Asm {StdAOpts} -o "{Targ}" "{OSDir}VMPatches.a"
"{ObjDir}NKLogShim.a.o" Ä "{OSDir}NKLogShim.a"
Asm {StdAOpts} -o "{Targ}" "{OSDir}NKLogShim.a"
"{ObjDir}MPDispatchStub.a.o" Ä "{OSDir}MPDispatchStub.a"
Asm {StdAOpts} -o "{Targ}" "{OSDir}MPDispatchStub.a"
"{ObjDir}NKEventGroupWrapper.a.o" Ä "{OSDir}NKEventGroupWrapper.a"