--- np2/pccore.h 2004/02/21 04:48:35 1.24 +++ np2/pccore.h 2004/06/04 16:11:02 1.26 @@ -21,6 +21,12 @@ enum { PCHDD_SCSI = 0x02, PCHDD_IDE = 0x04, + PCROM_BIOS = 0x01, + PCROM_SOUND = 0x02, + PCROM_SASI = 0x04, + PCROM_SCSI = 0x08, + PCROM_BIOS9821 = 0x10, + PCSOUND_NONE = 0x00, PCCBUS_PC9861K = 0x0001, @@ -116,7 +122,7 @@ typedef struct { UINT8 hddif; UINT8 extmem; BYTE dipsw[3]; // リセット時のDIPSW - UINT8 padding; + UINT8 rom; UINT32 sound; UINT32 device; @@ -124,6 +130,12 @@ typedef struct { UINT32 realclock; } PCCORE; +enum { + COREEVENT_SHUT = 0, + COREEVENT_RESET = 1, + COREEVENT_EXIT = 2 +}; + #ifdef __cplusplus extern "C" { @@ -151,6 +163,8 @@ void pccore_term(void); void pccore_reset(void); void pccore_exec(BOOL draw); +void pccore_postevent(UINT32 event); + #ifdef __cplusplus } #endif