blob: 2a85104b97a74d0a16d6c0747494ce543753d565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
|