Real-mode programs freely execute CLI and STI to control interrupts, PUSHF and POPF to manipulate flags, INT n for DOS and BIOS calls, and IN/OUT for hardware I/O. In normal protected mode, these instructions are privilege-checked -- they execute normally if the caller has sufficient privilege, and fault otherwise. The 386 can't simply let V86 tasks execute them freely -- a DOS program disabling interrupts would bring down the whole system -- but trapping on every INT 21h call would make V86 impractically slow.
fn main() - int {
。新收录的资料对此有专业解读
Continue reading...
Олег Давыдов (Редактор отдела «Интернет и СМИ»)
Россиянам закрыли доступ к Civilization VI и другим играм14:20