Quasar
Moderator

Posts: 4615
Registered: 08-00 |
printz said:
What about protected-mode runtime (as in Windows 98 or even XP without DOSBOX)? Would it bomb out of Doom and display that message box in the down-right corner, with the explicit "you need to close all programs and restart your computer"?
When DOOM was run under Win9x, DOS4GW would not load itself since it detected a DPMI host already loaded (Win9x provide their own DPMI services to DOS programs).
Win9x DPMI is, in some ways, more strict, and in others, less strict, than known DOS DPMI hosts. Win9x is far more strict than Watcom's DOS4GW, but is known to be significantly less strict than DJGPP's CWSDPMI. I know this because many of the early problems in SMMU v3.21 and v3.30 happened because fraggle was running/testing it under Windows 98 instead of DOS. When I ran the same EXE he thought was perfect under DOS, all kinds of problems would suddenly and violently surface.
With a more strict DPMI, DOOM is forced to bomb out before it can damage operating system, driver, and real-mode application data structures outside of its strictly owned pages of RAM. Otherwise "harmless" illegal reads are also treated as instantly fatal.
|