|
|
| version 1.13, 2004/08/12 17:57:36 | version 1.20, 2008/06/02 20:07:30 |
|---|---|
| Line 9 typedef struct { | Line 9 typedef struct { |
| UINT8 skipline; | UINT8 skipline; |
| UINT16 skiplight; | UINT16 skiplight; |
| #if !defined(DISABLE_SOUND) | |
| UINT16 samplingrate; | UINT16 samplingrate; |
| UINT16 delayms; | UINT16 delayms; |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| UINT8 SOUND_SW; | UINT8 SOUND_SW; |
| UINT8 vol_fm; | |
| #endif | |
| UINT8 vol_ssg; | |
| UINT8 MOTOR; | UINT8 MOTOR; |
| UINT8 MOTORVOL; | UINT8 MOTORVOL; |
| #endif | |
| UINT8 MOUSE_SW; | UINT8 MOUSE_SW; |
| UINT8 KEY_MODE; | UINT8 KEY_MODE; |
| Line 22 typedef struct { | Line 28 typedef struct { |
| } XMILCFG; | } XMILCFG; |
| typedef struct { | typedef struct { |
| #if !defined(FIX_Z80A) | |
| UINT32 baseclock; | UINT32 baseclock; |
| UINT multiple; | UINT multiple; |
| UINT32 realclock; | UINT32 realclock; |
| #endif | |
| UINT8 ROM_TYPE; | UINT8 ROM_TYPE; |
| UINT8 DIP_SW; | UINT8 DIP_SW; |
| UINT8 SOUND_SW; | UINT8 SOUND_SW; |
| } PCCORE; | } PCCORE; |
| typedef struct { | typedef struct { |
| UINT tl; | SINT32 syncclock; |
| UINT vl; | SINT32 framebaseclock; /* by 4MHz */ |
| UINT8 vsync; | UINT8 vsync; |
| UINT8 drawframe; | UINT8 drawframe; |
| UINT8 soundrenewal; | UINT8 soundrenewal; |
| } CORESTAT; | } CORESTAT; |
| enum { | enum { |
| RASTER_CLOCK = 250 | |
| }; | |
| enum { | |
| DIPSW_RESOLUTE = 0x01, | DIPSW_RESOLUTE = 0x01, |
| DIPSW_BOOTMEDIA = 0x04 | DIPSW_BOOTMEDIA = 0x04 |
| }; | }; |
| Line 58 extern const OEMCHAR xmilversion[]; | Line 61 extern const OEMCHAR xmilversion[]; |
| extern XMILCFG xmilcfg; | extern XMILCFG xmilcfg; |
| extern PCCORE pccore; | extern PCCORE pccore; |
| extern CORESTAT corestat; | extern CORESTAT corestat; |
| extern BYTE *RAM0r; | |
| extern BYTE *RAM0w; | |
| extern UINT8 mMAIN[0x10000]; | |
| extern UINT8 mBIOS[0x8000]; | |
| #if defined(SUPPORT_BANKMEM) | |
| extern UINT8 mBANK[16][0x8000]; | |
| #endif | |
| #if !defined(MAINFRAMES_OLD) | |
| UINT pccore_getraster(UINT *h); | void neitem_mainframes(UINT id); |
| #else | |
| void neitem_disp(UINT id); | void neitem_disp(UINT id); |
| void neitem_vsync(UINT id); | void neitem_vsync(UINT id); |
| #endif | |
| void pccore_initialize(void); | void pccore_initialize(void); |
| void pccore_reset(void); | void pccore_reset(void); |