Full 32-bit flags support for detecting 386
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@874
This commit is contained in:
parent
140a8d3238
commit
a75a39a550
1 changed files with 7 additions and 1 deletions
|
@ -67,6 +67,12 @@ static INLINE Bit32u Pop_32() {
|
|||
flags.sf =(FLAGW & 0x080)>0;flags.tf =(FLAGW & 0x100)>0; \
|
||||
flags.intf =(FLAGW & 0x200)>0; \
|
||||
flags.df =(FLAGW & 0x400)>0;flags.of =(FLAGW & 0x800)>0; \
|
||||
\
|
||||
flags.io =(FLAGW >> 12) & 0x03; \
|
||||
flags.nt =(FLAGW & 0x4000)>0; \
|
||||
if (flags.intf && PIC_IRQCheck) { \
|
||||
SaveIP(); \
|
||||
PIC_runIRQs(); \
|
||||
LoadIP(); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue