src/emu/cpu/i386/i386.c
| r13988 | r13989 | |
| 613 | 613 | tempflags = get_flags(cpustate); |
| 614 | 614 | cpustate->VM = 0; |
| 615 | 615 | cpustate->TF = 0; |
| 616 | | if(irq_gate == 1) |
| 616 | if(type == 0x0e || type == 0x06) |
| 617 | 617 | cpustate->IF = 0; |
| 618 | 618 | tempSS = cpustate->sreg[SS].selector; |
| 619 | 619 | tempESP = REG32(ESP); |
| r13988 | r13989 | |
| 2241 | 2241 | //SSDPL = (stack.flags >> 5) & 0x03; |
| 2242 | 2242 | |
| 2243 | 2243 | /* Return to v86 mode */ |
| 2244 | | popmessage("IRET (%08x): Returning to Virtual 8086 mode.",cpustate->pc); |
| 2244 | logerror("IRET (%08x): Returning to Virtual 8086 mode.\n",cpustate->pc); |
| 2245 | 2245 | // Should these be done at this point? The 386 programmers' reference is a bit confusing about this |
| 2246 | 2246 | /* if(RPL != 3) |
| 2247 | 2247 | { |