Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is all for backwards compatibility. Unreal mode is kind of an "accidental" mode that was not created intentionally by Intel. Intel's idea was that the processor would start in the backwards-compatible real mode, and if you switched to protected mode you would never look back.

But real mode was implemented on top of logic designed for protected mode, because that is a simpler way to do things (think of it like protected mode, but you're not protecting anything).

So you go into protected mode, mess with things, switch back to real mode (all unintended by Intel) and you're in “unreal mode”.

> Why did developers tolerate this mess?

The hardware was cheap, performance was decent, and there were plenty of customers.



Less accidental; more like undocumented. BIOSes have used Unreal Mode, EMMs/XMSs can or temporarily use Unreal mode, Intel's SMM use it. There's even some evidence modern processors still support & use it.

One downside to Unreal Mode is that leaves the processor in in a state where naughty or non-standard TSRs, Interrupts, BIOS ROM code, and programs can cause hard lock ups.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: