--- xmil/pccore.h 2004/08/20 12:09:20 1.17 +++ xmil/pccore.h 2005/02/04 06:42:07 1.19 @@ -9,13 +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; @@ -24,18 +28,20 @@ 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 dispclock; SINT32 syncclock; + SINT32 framebaseclock; // by 4MHz UINT8 vsync; UINT8 drawframe; UINT8 soundrenewal; @@ -56,17 +62,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);