|
|
| version 1.1, 2003/10/16 17:57:16 | version 1.3, 2003/10/19 14:56:15 |
|---|---|
| Line 4 | Line 4 |
| #define I286IRQCHECKTERM \ | #define I286IRQCHECKTERM \ |
| __asm { xor eax, eax } \ | __asm { xor eax, eax } \ |
| __asm { cmp nevent.remainclock, eax } \ | __asm { cmp I286_REMCLOCK, eax } \ |
| __asm { jle short nonremainclr } \ | __asm { jle short nonremainclr } \ |
| __asm { xchg nevent.remainclock, eax } \ | __asm { xchg I286_REMCLOCK, eax } \ |
| __asm { sub nevent.baseclock, eax } \ | __asm { sub I286_BASECLOCK, eax } \ |
| nonremainclr: \ | nonremainclr: \ |
| __asm { ret } | __asm { ret } |
| #define I286PREFIX(proc) \ | #define I286PREFIX(proc) \ |
| __asm { bts i286s.prefix, 0 } \ | __asm { bts i286reg.prefix, 0 } \ |
| __asm { jc fixed } \ | __asm { jc fixed } \ |
| __asm { mov REPPOSBAK, esi } \ | __asm { mov REPPOSBAK, esi } \ |
| __asm { push offset removeprefix } \ | __asm { push offset removeprefix } \ |