diff options
author | Chris Apers | 2004-02-05 14:02:24 +0000 |
---|---|---|
committer | Chris Apers | 2004-02-05 14:02:24 +0000 |
commit | 6830942213e4ad02ab895f34d1f547341c3aa81c (patch) | |
tree | 0ceb33ac50d0152c45df4fcd9e90177052c97cdb /backends/PalmOS/Src/arm/ArmNative.h | |
parent | ef1b06d8b36997e8572557d112cbd452c1136b96 (diff) | |
download | scummvm-rg350-6830942213e4ad02ab895f34d1f547341c3aa81c.tar.gz scummvm-rg350-6830942213e4ad02ab895f34d1f547341c3aa81c.tar.bz2 scummvm-rg350-6830942213e4ad02ab895f34d1f547341c3aa81c.zip |
Prepare ARM support
svn-id: r12736
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 |