1
0
Fork 0

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:
Sjoerd van der Berg 2003-04-06 11:05:43 +00:00
parent 140a8d3238
commit a75a39a550

View file

@ -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(); \
} \
}