3 ms·
> By transparently shifting the processor between its real and protected modes on the fly, Rational Systems’s “DOS/4GW” could make it seem to the programmer as
by rasz 6y ago
> By transparently shifting the processor between its real and protected modes on the fly, Rational Systems’s “DOS/4GW” could make it seem to the programmer as if all of the machine’s memory was as effortlessly available as the first 640 K.
This describes EMM386 expanded memory manager. This is not how DOS/4GW extender works :/ DOS/4GW
is a manager between your program and DOS Protected Mode Interface (DPMI) (or bare metal MMU in case DPMI host is not loaded). You run your code in flat linear address space protected mode all the time.
- mwcampbell 6y agoI think the "transparently shifting the processor between its real and protected modes on the fly" part was referring to how a DOS extender had to switch modes, and copy stuff between low and high memory, when calling out to DOS (e.g. INT 21h). It was basically like the switch between user mode and kernel mode in an OS today, except that ironically in this case, it was the "kernel" that was limited in its access to memory.
- throwanem 6y agoI think Jimmy Maher set out to be a historiographer rather than a tech writer. He's damned good at it, too.
- mwcampbell 6y agoHe's definitely a good historian. But, as shown in his book about the Amiga, The Future Was Here, he's also pretty knowledgeable about programming.
- throwanem 6y agoTrue, but a book from MIT Press benefits from considerably more editing ahead of time than a blog post. It's like the mention of network "broadcast packages" in talking about how Doom's netcode destroyed LANs - yeah, I get that it's not technically accurate, but I also know what he's talking about, and that his commenters will catch it and he'll fix it in post.