--- np2/i286x/i286x.h 2004/01/05 05:04:53 1.6 +++ np2/i286x/i286x.h 2004/08/03 10:11:37 1.7 @@ -63,6 +63,9 @@ #define I286 __declspec(naked) static void #define I286EXT __declspec(naked) void +typedef void (*I286TBL)(void); + + #define I286IRQCHECKTERM \ __asm { xor eax, eax } \ __asm { cmp I286_REMCLOCK, eax } \ @@ -88,13 +91,13 @@ extern void __fastcall i286x_localint(vo extern void __fastcall i286x_selector(void); extern void removeprefix(void); -extern void (*i286op[])(void); -extern void (*i286op_repne[])(void); -extern void (*i286op_repe[])(void); - -extern void (*v30op[])(void); -extern void (*v30op_repne[])(void); -extern void (*v30op_repe[])(void); +extern const I286TBL i286op[256]; +extern const I286TBL i286op_repne[256]; +extern const I286TBL i286op_repe[256]; + +extern I286TBL v30op[256]; +extern I286TBL v30op_repne[256]; +extern I286TBL v30op_repe[256]; void i286xadr_init(void);