Loading a segment register in real mode no longer clears USE32.
CR3 no longer masks values written to it. Real mode interrupts now take IDT base into account. Fixes 'huge unreal' mode (flat assembler).
This commit is contained in:
parent
2610c6c230
commit
e737d2fa45
4 changed files with 8 additions and 7 deletions
|
|
@ -639,6 +639,7 @@ void resetx86()
|
|||
cgate32=0;
|
||||
loadcs(0xFFFF);
|
||||
rammask=0xFFFFFFFF;
|
||||
idt.base = 0;
|
||||
flags=2;
|
||||
makeznptable();
|
||||
initmmucache();
|
||||
|
|
@ -669,6 +670,7 @@ void softresetx86()
|
|||
loadcs(0xFFFF);
|
||||
//rammask=0xFFFFFFFF;
|
||||
flags=2;
|
||||
idt.base = 0;
|
||||
}
|
||||
|
||||
static void setznp8(uint8_t val)
|
||||
|
|
|
|||
Loading…
Reference in a new issue