|
|
| version 1.21, 2004/02/13 20:31:54 | version 1.25, 2004/03/22 05:38:47 |
|---|---|
| Line 8 enum { | Line 8 enum { |
| }; | }; |
| enum { | enum { |
| CPUMODE_8MHZ = 0x20, | |
| PCMODEL_VF = 0, | PCMODEL_VF = 0, |
| PCMODEL_VM = 1, | PCMODEL_VM = 1, |
| PCMODEL_VX = 2, | PCMODEL_VX = 2, |
| Line 25 enum { | Line 27 enum { |
| PCCBUS_MPU98 = 0x0002 | PCCBUS_MPU98 = 0x0002 |
| }; | }; |
| #define CPUMODE_8MHz 0x20 | |
| // これ ver0.75で別ファイルへ移動すること | |
| typedef struct { | |
| UINT8 keys; | |
| UINT8 key[15]; | |
| } _NKEYM, *NKEYM; | |
| typedef struct { | typedef struct { |
| // エミュレート中によく参照される奴 | // エミュレート中によく参照される奴 |
| Line 55 typedef struct { | Line 50 typedef struct { |
| UINT8 usefd144; | UINT8 usefd144; |
| BYTE wait[6]; | BYTE wait[6]; |
| _NKEYM userkey[2]; | |
| // リセット時とかあんまり参照されない奴 | // リセット時とかあんまり参照されない奴 |
| char model[8]; | char model[8]; |
| UINT baseclock; | UINT baseclock; |
| Line 131 typedef struct { | Line 124 typedef struct { |
| UINT32 realclock; | UINT32 realclock; |
| } PCCORE; | } PCCORE; |
| enum { | |
| COREEVENT_SHUT = 0, | |
| COREEVENT_RESET = 1, | |
| COREEVENT_EXIT = 2 | |
| }; | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| Line 158 void pccore_term(void); | Line 157 void pccore_term(void); |
| void pccore_reset(void); | void pccore_reset(void); |
| void pccore_exec(BOOL draw); | void pccore_exec(BOOL draw); |
| void pccore_postevent(UINT32 event); | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |
| #endif | #endif |