diff options
Diffstat (limited to 'backends/PalmOS/Src/arm/ArmNative.h')
-rw-r--r-- | backends/PalmOS/Src/arm/ArmNative.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/arm/ArmNative.h b/backends/PalmOS/Src/arm/ArmNative.h new file mode 100644 index 0000000000..2a85104b97 --- /dev/null +++ b/backends/PalmOS/Src/arm/ArmNative.h @@ -0,0 +1,43 @@ +#ifndef _ARMNATIVE_H_ +#define _ARMNATIVE_H_ + +#ifdef WIN32 + #include "testing/SimNative.h" + #include "testing/oscalls.h" +#endif + +// functions +typedef unsigned long (*PnoProc)(void *userData68KP); + +#define DECLARE(x) unsigned long x(void *userData68KP); + +typedef struct { + UInt32 func; + void *dst; + void *src; + +} DataOSysWideType , *DataOSysWidePtr; + +typedef struct { + UInt32 func; + void *dst; + const void *buf; + UInt32 pitch, _offScreenPitch; + UInt32 w, h; +} DataOSysCopyRectType, *DataOSysCopyRectPtr; + +DECLARE(OSystem_PALMOS_update_screen__wide_portrait) +DECLARE(OSystem_PALMOS_update_screen__wide_landscape) +DECLARE(OSystem_PALMOS_copy_rect) + +// rsrc +#define ARMCODE_1 1000 + +// function indexes +enum { + kOSysWidePortrait = 0, + kOSysWideLandscape, + kOSysCopyRect +}; + +#endif
\ No newline at end of file |