mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
first checked in.
This commit is contained in:
parent
7908e11f95
commit
e510fa2bb4
1 changed files with 27 additions and 0 deletions
27
palm/pnostate.h
Normal file
27
palm/pnostate.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
/* -*-mode: C; fill-column: 77; c-basic-offset: 4; -*- */
|
||||
|
||||
#ifndef _PNOSTATE_H_
|
||||
#define _PNOSTATE_H_
|
||||
|
||||
#include <PceNativeCall.h>
|
||||
|
||||
/* This gets written into the code by the callback below. */
|
||||
typedef struct PNOState {
|
||||
const void* emulStateP;
|
||||
Call68KFuncType* call68KFuncP;
|
||||
void* gotTable;
|
||||
} PNOState;
|
||||
|
||||
typedef struct PnoletUserData PnoletUserData;
|
||||
typedef void StorageCallback(PnoletUserData* dataP);
|
||||
|
||||
/* This is how armlet and 68K stub communicate on startup */
|
||||
struct PnoletUserData {
|
||||
unsigned long* pnoletEntry;
|
||||
unsigned long* gotTable;
|
||||
StorageCallback* storageCallback; /* armlet calls this */
|
||||
PNOState* stateSrc; /* armlet fills in */
|
||||
PNOState* stateDest; /* armlet fills in */
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue