Fixed SMM, now it works correctly, and is now also operating on all CPU's from 386 onwards.

This commit is contained in:
OBattler
2020-03-29 18:12:43 +02:00
parent 0092500af9
commit 66e159e0bf
17 changed files with 597 additions and 404 deletions

View File

@@ -272,6 +272,14 @@ exec386(int cycs)
}
}
if (!in_smm && smi_line/* && is_pentium*/) {
enter_smm();
smi_line = 0;
} else if (in_smm && smi_line/* && is_pentium*/) {
smi_latched = 1;
smi_line = 0;
}
ins_cycles -= cycles;
tsc += ins_cycles;