unreal mode
Posted: Fri Nov 01, 2002 2:49 am
Is there a way to get code above 1 megabyte in unreal mode? Because it uses the IP register, it cant exceed 1 meg. is there a way to read above that?
Yep, unreal mode is definitely not worth the effort. Protected mode is the best way to go.I started ti write my OS in unreal mode but quickly decided I better use full protected mode. In unreal mode, you have to swap code in and out of the first megabyte in order to use more than what is in the first megabyte. Not only that, but..... multitasking?Basically, yes.Paul wrote:What is the reason why PC architecture is so screwy? Is it because they still want to support really old software??So ignore the BIOS, get a boot loader which puts you in 32-bit protected mode, and ignore real mode.Why do we even need real mode anymore? It would be nice if the computer ran only in protected modeNot sure what you mean here -- how do you make hardware for 32-bit protected mode? For example, a lot of PCI devices don't even need to run on a PC, let alone in real mode. Maybe you're suggesting that all hardware should come with generic drivers.and all devices that came out from now on were made for 32-bit protected mode so you could access their interrupts (instead of writing your own.)