Diff for /np2/i286x/i286x.cpp between versions 1.7 and 1.9

version 1.7, 2003/12/08 00:55:31 version 1.9, 2003/12/12 01:04:40
Line 5 Line 5
 #include        "i286xs.h"  #include        "i286xs.h"
 #include        "i286xrep.h"  #include        "i286xrep.h"
 #include        "i286xcts.h"  #include        "i286xcts.h"
 #include        "memory.h"  
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "i286x.mcr"  #include        "i286x.mcr"
Line 2668  I286 _popf(void) {        // 9D: popf Line 2667  I286 _popf(void) {        // 9D: popf
                                 cmp             ah, 3                                  cmp             ah, 3
                                 sete    I286_TRAP                                  sete    I286_TRAP
   
                                 test    ah, 2                                   // fast_intr                                  je              irqcheck                                // fast_intr
                                   test    ah, 2
                                 je              nextop                                  je              nextop
                                 cmp             pic.ext_irq, 0                                  cmp             pic.ext_irq, 0
                                 jne             nextop                                  jne             nextop
Line 3596  I286 _iret(void) {        // CF: iret Line 3596  I286 _iret(void) {        // CF: iret
                                 sete    I286_TRAP                                  sete    I286_TRAP
                                 RESET_XPREFETCH                                  RESET_XPREFETCH
   
                                 test    I286_FLAG, I_FLAG               // fast_intr                                  cmp             I286_TRAP, 0                    // fast_intr
                                   jne             irqcheck
                                   test    I286_FLAG, I_FLAG
                                 je              nextop                                  je              nextop
                                 cmp             pic.ext_irq, 0                                  cmp             pic.ext_irq, 0
                                 jne             nextop                                  jne             nextop
Line 4201  I286 _sti(void) {        // FB: sti Line 4203  I286 _sti(void) {        // FB: sti
                                 test    I286_FLAG, T_FLAG                                  test    I286_FLAG, T_FLAG
                                 setne   I286_TRAP                                  setne   I286_TRAP
   
                                 cmp             pic.ext_irq, 0                  // fast_intr                                  jne             nextopandexit                   // fast_intr
                                   cmp             pic.ext_irq, 0
                                 jne             jmp_nextop                                  jne             jmp_nextop
                                 mov             al, pic.pi[0].imr                                  mov             al, pic.pi[0].imr
                                 mov             ah, pic.pi[1].imr                                  mov             ah, pic.pi[1].imr

Removed from v.1.7  
changed lines
  Added in v.1.9


RetroPC.NET-CVS <cvs@retropc.net>