--- np2/i286c/i286c.h 2003/11/21 06:51:11 1.6 +++ np2/i286c/i286c.h 2003/11/24 09:14:01 1.7 @@ -5,41 +5,20 @@ typedef void (*I286OP)(void); typedef UINT32 (*CALCEA)(void); typedef UINT16 (*CALCLEA)(void); -typedef UINT16 (*GETLEA)(void); +typedef UINT16 (*GETLEA)(UINT32 *seg); -extern UINT32 EA_FIX; extern BYTE szpcflag[0x200]; -extern CALCEA c_calc_ea_dst[]; -extern CALCLEA c_calc_lea[]; -extern GETLEA c_get_ea[]; -#if !defined(MEMOPTIMIZE) -extern BYTE szpflag_w[0x10000]; -#endif +extern void CPUCALL i286_intnum(UINT vect, UINT16 IP); #if !defined(MEMOPTIMIZE) || (MEMOPTIMIZE < 2) -extern BYTE *_reg8_b53[256]; -extern BYTE *_reg8_b20[256]; -#endif -#if !defined(MEMOPTIMIZE) || (MEMOPTIMIZE < 2) -extern UINT16 *_reg16_b53[256]; -extern UINT16 *_reg16_b20[256]; +extern void i286cea_initialize(void); #endif - -extern void CPUCALL i286_intnum(UINT vect, UINT16 IP); - - extern const I286OP i286op[]; extern const I286OP i286op_repe[]; extern const I286OP i286op_repne[]; - -extern const CALCEA i286c_ea_dst_tbl[]; -extern const CALCLEA i286c_lea_tbl[]; -extern const GETLEA i286c_ea_tbl[]; - - #define I286_0F static void CPUCALL typedef void (CPUCALL * I286OP_0F)(UINT op);