1 /* This used QUICK reg layout
4 #include <exec/types.h>
5 #include <emul/emulinterface.h>
6 #include <emul/emulregs.h>
10 char *_PPCCallM68k_RawDoFmt(char MyChar
,
11 char* (*PutChProc
)(char*,char),
14 struct ExecBase
*sysBase
)
17 struct EmulCaos MyCaos
;
19 MyCaos
.caos_Un
.Function
= PutChProc
;
20 MyCaos
.reg_d0
=(ULONG
) MyChar
;
21 MyCaos
.reg_a2
=(ULONG
) PutChProc
;
22 MyCaos
.reg_a3
=(ULONG
) PutChData
;
23 MyCaos
.reg_a4
= OldA4
;
24 MyCaos
.reg_a6
=(ULONG
) sysBase
;
25 (*MyEmulHandle
->EmulCallQuick68k
)(&MyCaos
);