Hacker News new | ask | show | jobs
by narag 4158 days ago
it’s running inside the EM-DOSBOX system, since Windows 3.x was essentially a very complicated program running inside DOS. (When Windows 95 came out, a big deal was made by Gates and Co. that it was the “end” of the DOS prompt, although they were seriously off by a number of years.)

Nitpicking just a little bit: Windows 3 didn't run inside DOS. Maybe "on top of it" if you want to put it that way, but not "inside".

It changed the processor and graphic modes and when shut down it reverted to the prompt. But by no means was it "just a big DOS program".

Guess what: Windows 95 also was a program running "on top" of DOS. That was somewhat hidden, but I remember clearly that I booted to DOS and then executed either Windows 3 or Windows 95 (I was programming a compatible 16/32 bits application). There was some tweaking needed but it worked nicely.

1 comments

It gets a bit metaphysical at some point, but 'on top of' or 'after' probably are better prepositions to use when describing the relationship between DOS and Windows.

'Instead of' would also work, in the case of Windows 95, as it would be fair to say that simply exiting Windows involves resetting everything back to the way DOS had it, then rerunning DOS.

And when you ran DOS inside a window in Windows 95, then that was DOS running inside of a VM.

I'm not sure but it seems my point has been lost in the way.

DOS is a real mode OS. Windows 95 is a protected mode. Windows 3 was some kind of dumbed-down protected mode that 286 had. Actually I believe it could work in different modes.

The distinction is pretty important. Windows 95, that needed a 386 minimum, was a true protected mode system, with virtual memory and pre-emptive multitasking. It would be absurd to call it "a DOS program" just because you could launch it from the DOS prompt.

So the same can be said of Windows 3. It changed processor mode, not so radically as 95, but enough to exit real mode... calling it "just a DOS program" is simply wrong.