--- np2/pccore.h 2004/02/11 17:39:59 1.19 +++ np2/pccore.h 2004/03/22 05:38:47 1.25 @@ -8,6 +8,8 @@ enum { }; enum { + CPUMODE_8MHZ = 0x20, + PCMODEL_VF = 0, PCMODEL_VM = 1, PCMODEL_VX = 2, @@ -25,7 +27,6 @@ enum { PCCBUS_MPU98 = 0x0002 }; -#define CPUMODE_8MHz 0x20 typedef struct { // エミュレート中によく参照される奴 @@ -49,8 +50,6 @@ typedef struct { UINT8 usefd144; BYTE wait[6]; - UINT8 userkey[2][16]; - // リセット時とかあんまり参照されない奴 char model[8]; UINT baseclock; @@ -100,7 +99,9 @@ typedef struct { UINT8 hdrvacc; char sasihdd[2][MAX_PATH]; // ver0.74 +#if defined(SUPPORT_SCSI) char scsihdd[4][MAX_PATH]; // ver0.74 +#endif char fontfile[MAX_PATH]; char biospath[MAX_PATH]; char hdrvroot[MAX_PATH]; @@ -123,6 +124,12 @@ typedef struct { UINT32 realclock; } PCCORE; +enum { + COREEVENT_SHUT = 0, + COREEVENT_RESET = 1, + COREEVENT_EXIT = 2 +}; + #ifdef __cplusplus extern "C" { @@ -150,6 +157,8 @@ void pccore_term(void); void pccore_reset(void); void pccore_exec(BOOL draw); +void pccore_postevent(UINT32 event); + #ifdef __cplusplus } #endif