Implemented selector limits on some instructions - fixes LBA2.

GPFs in real mode now work.
Selectors correctly zeroed on far return to lower privilege.
This commit is contained in:
TomW 2014-08-13 20:33:56 +01:00
commit cd2c3b47ed
16 changed files with 404 additions and 462 deletions

View file

@ -515,7 +515,7 @@ static int opHLT(uint32_t fetchdat)
x86gpf(NULL,0);
return 0;
}
if (!((flags&I_FLAG) && pic_intpending && !ssegs))
if (!((flags&I_FLAG) && pic_intpending))
{
cycles -= 100;
pc--;