home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.misc
- Path: sparky!uunet!microsoft!hexnut!blakeco
- From: blakeco@microsoft.com (Blake Coverett)
- Subject: Re: Windows == OS
- Message-ID: <1992Aug27.233543.21075@microsoft.com>
- Date: 27 Aug 92 23:35:43 GMT
- Organization: Microsoft Canada Inc.
- References: <TGUEZ.92Aug24191246@jade.tufts.edu> <1992Aug25.040007.5898@cco.caltech.edu> <TGUEZ.92Aug25151752@jade.tufts.edu>
- Followup-To: comp.os.ms-windows.advocacy
- Lines: 45
-
- Grr... I promised myself half a dozen wildly erroneous articles ago
- that I wouldn't get involved, but here I am.
-
- tguez@jade.tufts.edu (Name) writes:
- >Well it was my guess that there is something like malloc underneath.
- >You put it nicely, "internal abstraction," everythig in windows API
- >seemed to be aimed at an "internal abstraction." (I might add that
- >they done a pertty good job at that). However, this is nothing more
- >than the definition of over 600 primitives-- My point will be come
- >clearer as you read ahead.
- [and many other comments about how Windows' memory management is not 'real']
-
- You started this tirade explaining that these opinions were based on your
- experience programming for Windows. May I suggest that your experience
- is rather dated? If you want to use malloc, then by all means, go ahead
- and use it. It will work just fine in protected mode Windows 3.x. Windows
- will shuffle the physical memory around behind your back to its heart's
- content without breaking the pointer it gave you. (Obviously this will not
- work in real mode, but that is a hardware limitation.)
- Is there something else you would like?
-
-
- >The way the sentence is phrased makes one think that windows
- >virtualizes like an operating system virtualizes. Yet, this is all
-
- Probably because it does.
-
- >nothing more than a layer of primitives. You have to use window's
- >primitives to fell this "virtualization" try accessing any of these
- >things you mention directly and see how much of virtualization windows
- >truely provides.
-
- Great Idea! Why not try it yourself, you will find that Windows does
- indeed virtualize the hardware. How do you suppose when a DOS app running
- under Windows writes directly to the video hardware it manages to come out
- in a DOS window and not directly on the screen. For an even better example
- how about if you do an int 14 (from a Windows app or a DOS VM) and Windows
- emulates the harddrive BIOS for you. (In a queued, reentrant fashion
- even.)
-
- The even more important point here is that Windows provides a complete
- enought interface that you don't need to access the hardware directly.
- That is what one expects of a 'real' OS.
-
- -Blake
-