|
|
| version 1.5, 2003/12/08 00:55:31 | version 1.6, 2004/01/05 05:04:53 |
|---|---|
| Line 44 | Line 44 |
| #define I286_OV i286core.s.ovflag | #define I286_OV i286core.s.ovflag |
| #define I286_GDTR i286core.s.GDTR | #define I286_GDTR i286core.s.GDTR |
| #define I286_IDTR i286core.s.IDTR | |
| #define I286_MSW i286core.s.MSW | #define I286_MSW i286core.s.MSW |
| #define I286_IDTR i286core.s.IDTR | |
| #define I286_LDTR i286core.s.LDTR | |
| #define I286_LDTRC i286core.s.LDTRC | |
| #define I286_TR i286core.s.TR | |
| #define I286_TRC i286core.s.TRC | |
| #define I286_ADRSMASK i286core.s.adrsmask | |
| #define I286_REMCLOCK i286core.s.remainclock | #define I286_REMCLOCK i286core.s.remainclock |
| #define I286_BASECLOCK i286core.s.baseclock | #define I286_BASECLOCK i286core.s.baseclock |
| #define I286_CLOCK i286core.s.clock | #define I286_CLOCK i286core.s.clock |
| #define I286_ADRSMASK i286core.s.adrsmask | |
| #define I286_INPADRS i286core.s.inport | |
| // ver0.28 | #define I286_REPPOSBAK i286core.e.repbak |
| #define REPPOSBAK i286core.s.repbak | #define I286_INPADRS i286core.e.inport |
| #define PREFIX_SMP i286core.s.pf_semaphore | |
| #define I286 __declspec(naked) static void | #define I286 __declspec(naked) static void |
| Line 74 | Line 76 |
| #define I286PREFIX(proc) \ | #define I286PREFIX(proc) \ |
| __asm { bts i286core.s.prefix, 0 } \ | __asm { bts i286core.s.prefix, 0 } \ |
| __asm { jc fixed } \ | __asm { jc fixed } \ |
| __asm { mov REPPOSBAK, esi } \ | __asm { mov I286_REPPOSBAK, esi } \ |
| __asm { push offset removeprefix } \ | __asm { push offset removeprefix } \ |
| fixed: \ | fixed: \ |
| GET_NEXTPRE1 \ | GET_NEXTPRE1 \ |
| Line 83 | Line 85 |
| extern void __fastcall i286x_localint(void); | extern void __fastcall i286x_localint(void); |
| extern void __fastcall i286x_selector(void); | |
| extern void removeprefix(void); | extern void removeprefix(void); |
| extern void (*i286op[])(void); | extern void (*i286op[])(void); |