--- xmil/pccore.h 2004/08/14 12:16:17 1.16 +++ xmil/pccore.h 2008/06/02 20:07:30 1.20 @@ -9,11 +9,17 @@ typedef struct { UINT8 skipline; UINT16 skiplight; +#if !defined(DISABLE_SOUND) UINT16 samplingrate; UINT16 delayms; +#if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) UINT8 SOUND_SW; + UINT8 vol_fm; +#endif + UINT8 vol_ssg; UINT8 MOTOR; UINT8 MOTORVOL; +#endif UINT8 MOUSE_SW; UINT8 KEY_MODE; @@ -22,18 +28,19 @@ typedef struct { } XMILCFG; typedef struct { +#if !defined(FIX_Z80A) UINT32 baseclock; UINT multiple; UINT32 realclock; - +#endif UINT8 ROM_TYPE; UINT8 DIP_SW; UINT8 SOUND_SW; } PCCORE; typedef struct { - SINT32 dispclock; SINT32 syncclock; + SINT32 framebaseclock; /* by 4MHz */ UINT8 vsync; UINT8 drawframe; UINT8 soundrenewal; @@ -54,17 +61,13 @@ extern const OEMCHAR xmilversion[]; extern XMILCFG xmilcfg; extern PCCORE pccore; extern CORESTAT corestat; -extern UINT8 *RAM0r; -extern UINT8 *RAM0w; - -extern UINT8 mMAIN[0x10000]; -extern UINT8 mBIOS[0x8000]; -#if defined(SUPPORT_BANKMEM) -extern UINT8 mBANK[16][0x8000]; -#endif +#if !defined(MAINFRAMES_OLD) +void neitem_mainframes(UINT id); +#else void neitem_disp(UINT id); void neitem_vsync(UINT id); +#endif void pccore_initialize(void); void pccore_reset(void);