| Previous | 199869 Revisions | Next |
| r33098 Saturday 1st November, 2014 at 03:24:02 UTC by Carl |
|---|
| i386: GP fault with softint in v86 mode when iopl < 3 [Carl] |
| [src/emu/cpu/i386] | i386.c |
| r241609 | r241610 | |
|---|---|---|
| 763 | 763 | logerror("IRQ (%08x): Software IRQ - gate DPL is less than CPL.\n",m_pc); |
| 764 | 764 | FAULT_EXP(FAULT_GP,entry+2) |
| 765 | 765 | } |
| 766 | if(V8086_MODE) | |
| 767 | { | |
| 768 | if((!m_IOP1 || !m_IOP2) && (m_opcode != 0xcc)) | |
| 769 | { | |
| 770 | logerror("IRQ (%08x): Is in Virtual 8086 mode and IOPL != 3.\n",m_pc); | |
| 771 | FAULT(FAULT_GP,0) | |
| 772 | } | |
| 773 | ||
| 774 | } | |
| 766 | 775 | } |
| 767 | 776 | |
| 768 | 777 | if((flags & 0x0080) == 0) |
| https://github.com/mamedev/mame/commit/a9ce21843e7b3e72d7a669f20506f50af2c18277 |
| Previous | 199869 Revisions | Next |