|
|
| version 1.21, 2004/02/13 20:31:54 | version 1.26, 2004/06/04 16:11:02 |
|---|---|
| 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 19 enum { | Line 21 enum { |
| PCHDD_SCSI = 0x02, | PCHDD_SCSI = 0x02, |
| PCHDD_IDE = 0x04, | PCHDD_IDE = 0x04, |
| PCROM_BIOS = 0x01, | |
| PCROM_SOUND = 0x02, | |
| PCROM_SASI = 0x04, | |
| PCROM_SCSI = 0x08, | |
| PCROM_BIOS9821 = 0x10, | |
| PCSOUND_NONE = 0x00, | PCSOUND_NONE = 0x00, |
| PCCBUS_PC9861K = 0x0001, | PCCBUS_PC9861K = 0x0001, |
| 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 56 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 123 typedef struct { | Line 122 typedef struct { |
| UINT8 hddif; | UINT8 hddif; |
| UINT8 extmem; | UINT8 extmem; |
| BYTE dipsw[3]; // リセット時のDIPSW | BYTE dipsw[3]; // リセット時のDIPSW |
| UINT8 padding; | UINT8 rom; |
| UINT32 sound; | UINT32 sound; |
| UINT32 device; | UINT32 device; |
| Line 131 typedef struct { | Line 130 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 163 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 |