Diff for /np2/pccore.h between versions 1.22 and 1.26

version 1.22, 2004/02/19 06:10:13 version 1.26, 2004/06/04 16:11:02
Line 8  enum { Line 8  enum {
 };  };
   
 enum {  enum {
         CPUMODE_8MHz            = 0x20,          CPUMODE_8MHZ            = 0x20,
   
         PCMODEL_VF                      = 0,          PCMODEL_VF                      = 0,
         PCMODEL_VM                      = 1,          PCMODEL_VM                      = 1,
Line 21  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,
Line 28  enum { Line 34  enum {
 };  };
   
   
 // これ ver0.75で別ファイルへ移動すること  
 typedef struct {  
         UINT8   keys;  
         UINT8   key[15];  
 } _NKEYM, *NKEYM;  
   
 typedef struct {  typedef struct {
         // エミュレート中によく参照される奴          // エミュレート中によく参照される奴
         UINT8   uPD72020;          UINT8   uPD72020;
Line 56  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 124  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 132  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 159  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

Removed from v.1.22  
changed lines
  Added in v.1.26


RetroPC.NET-CVS <cvs@retropc.net>