Fixed Autodoc formatting.
[AROS.git] / workbench / libs / locale / rawdofmtsupport.c
blob9c335466122a6c3002f6060cf87c07cebdfef1ea
1 /* This used QUICK reg layout
2 */
3 #define EMUL_QUICKMODE
4 #include <exec/types.h>
5 #include <emul/emulinterface.h>
6 #include <emul/emulregs.h>
8 #define DEBUG(x) ;
10 char *_PPCCallM68k_RawDoFmt(char MyChar,
11 char* (*PutChProc)(char*,char),
12 char *PutChData,
13 ULONG OldA4,
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);
27 return(REG_A3);