home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / misc / 2476 < prev    next >
Encoding:
Text File  |  1992-08-29  |  13.5 KB  |  281 lines

  1. Newsgroups: comp.os.ms-windows.misc
  2. Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!heathh
  3. From: heathh@cco.caltech.edu (Heath Ian Hunnicutt)
  4. Subject: Re: Windows == OS
  5. Message-ID: <1992Aug28.165518.9103@cco.caltech.edu>
  6. Sender: news@cco.caltech.edu
  7. Nntp-Posting-Host: punisher
  8. Organization: California Institute of Technology, Pasadena
  9. References: <1961cd20@p3.f67.n245.z2.fidonet.org> <TGUEZ.92Aug24191246@jade.tufts.edu>     <1992Aug25.040007.5898@cco.caltech.edu>     <TGUEZ.92Aug25151752@jade.tufts.edu>     <1992Aug26.044858.25614@cco.caltech.edu>     <TGUEZ.92Aug26163457@jade.tufts.edu>     <1992Aug27.001245.10197@cco.caltech.edu> <TGUEZ.92Aug28015529@jade.tufts.edu>
  10. Date: Fri, 28 Aug 1992 16:55:18 GMT
  11. Lines: 268
  12.  
  13. tguez@jade.tufts.edu (Name) writes:
  14.  
  15. >It does not matter how I installed QEMM (as long as it works),
  16. >and if it is anyone's fault that it is not installed properly,
  17. >it's the installation program's fault.  Have I used emm, and it
  18. >would have informed windows that there was a problem and windows
  19. >would of consequently displayed a dialog box is of no material
  20. >here.  It does not matter who informs the user of the error, it
  21. >is important who takes care of things.  If window's would of
  22. >displayed dialog boxes, and qemm or emm would of never display
  23. >the error themselves, then I would have no argument, but that
  24. >would only credit windows with a good job at hiding, not
  25. >managing things.  
  26.     Well it does matter.  The way you have QEMM installed
  27. has caused it to keep control of exception handling.  Once Windows
  28. loads, exception handling is Windows' duty.  Emm does not "inform"
  29. windows of anything, as you state above.  In fact, Windows intercepts
  30. the interrupts (aka exceptions) generated by the processor in the
  31. event of various system errors.  QEMM should relinquish those
  32. interrupts, but apparently does not.  
  33.     Windows DOES display the type of dialog that you wish it
  34. would, but only if you have your system software properly installed.
  35. EMM386.EXE does not "hold Windows' hand" as you imply above.
  36.  
  37.  
  38. >Clearly, you seem to miss the point every time.  It is not
  39.     Oh, really?
  40. >argued that windows does not take care of memory management for
  41. >it's environment, it is argued that windows does not take care
  42. >of system-wide memory management-- as an operating system should.
  43.     Well, then why did YOU start the argument about whether
  44. Windows supported a nice, easy-to-use malloc().  I guess once 
  45. enough people pointed out that Windows does support this, you
  46. had to change your tack again.  
  47.     And, what do you mean by system-wide?  For your info,
  48. if a DOS box malloc()s memory, it really gets it as a result of
  49. Windows handling the request, not as a result of any DOS code
  50. swinging into action.
  51.  
  52.  
  53. >Your response to the virtual machines paragraph clearly shows
  54. >that you have absolutely no idea what virtual machines are. 
  55.     Oh, bull. Your response in this post clearly shows
  56. that you have absolutely no ideas left to discuss on this
  57. subject.
  58.  
  59. >Therefore, let me teach you a little about them:
  60.     Ha, ha, ha.
  61.  
  62. >Conceptually a computer system is made up of layers.  The
  63. >hardware is the lowest level.  The kernel running at the next
  64. >level utilizes the hardware to create a set of system calls to
  65. >be used by higher layers (this is operating system APIs).  The
  66.     And this is what the KERNEL.DLL module does in Windows,
  67. along with SYSTEM.DRV.  These two programs together manage
  68. the processor, memory, hardware I/O, in other words, all the
  69. resources of the computer.  They also provide an API for the
  70. higher level modules and programs.
  71.  
  72. >system programs are the next level, above the kernel, and are
  73. >allowed to use either system calls or hardware calls to enrich
  74. >the set of system APIs.  There is a vague line between system
  75. >programs API and the kernel's API, and sometimes there is no
  76. >telling apart.  System programs view the hardware and kernel
  77. >calls as if they were at the same level-- kernel functions are
  78. >thought to bootstrap the hardware.  On some systems this is
  79.     Actually, my PC boots from a ROM program, I don't know
  80. about yours.
  81.  
  82. >carried even further, and application programs are allowed to
  83. >make system calls.  The application views everything underneath
  84. >it in this hierarchy as though it is apart of the machine itself.
  85.     Whoa!  So you say that all real OS's will not provide
  86. APIs such as OpenComm()?  I guess that would be too abstract and
  87. clean for a real OS, huh?  It sure will be smart when all the
  88. programs you write that go directly to I/O port 2F8h have to be
  89. ported.  Good thing you did't use OpenComm(), huh?  For the
  90. record, Unix does not do the sort of thing you seem expect.  If
  91. I go straight to the hardware in UNIX, I get a BUS ERROR.  OS/2
  92. wouldn't hear of your 'clever' idea, either.
  93.     A good OS _abstracts_ the hardware so that applications
  94. don't have to jump through hoops to use it.  In DOS, apps jumped
  95. through a lot of hoops.  In Windows, we just call OpenComm(), and
  96. we are happy as bugs in rugs.
  97.  
  98.  
  99. >The logical extension of this approach, and also the conclusion
  100. >of this approach is reached in the concept of virtual machines. 
  101. >The development of CPU scheduling algorithms and virtual-memory
  102. >techniques made it possible for an operating system to create
  103. >the illusion of multiple processes.  This virtual machine
  104. >concept does not provide any additional functionally, it
  105. >provides multiple, identical virtual copies of the bare
  106. >underlying hardware.  Virtual machines are obliged, by their
  107. >nature and concept, to support virtual disk-drives, virtual
  108. >printers (otherwise known as spooling) and (even) virtual tape
  109.     Well, that's nice in theory, but what if two machines try
  110. to hit the tape drive at once?  Windows prevents this, as it
  111. obviously makes no sense.  What would your wonderful OS do?  Have
  112. scotty beam down another tape drive?
  113.  
  114. >drivers.  A process or a user that is given a virtual machine
  115. >can run any software that is available to the underline machine.
  116. >On the VM operating system (which I mistook for the CP/M, in an
  117. >earlier post) , which IBM wrote, the user would typically run a
  118. >single-user operating system, I think it's the CMS operating
  119. >system
  120.     Just because you have experience with one operating system
  121. does not make you an expert at OS's in general.  I have written
  122. programs under Windows, OS/2, DOS, UNIX (many flavors), and VMS.
  123. I have no trouble saying that Windows is 90% of an OS, needing
  124. only its own file system.
  125.  
  126. >  Yes, here you have a classical scenario of an operating
  127. >system nested within an operating system.  However, notice that
  128.     Ah, yes.  I had forgotten that example from my CS classes.
  129. *snicker*
  130.  
  131. >the inner operating system does not depend on the services of
  132. >the outer operating system, it does not even know of it's
  133. >existence-- long way from DOS/Windows relationship.  I would
  134.     Once again, the only services Windows uses from DOS
  135. is for file operations.  Even direct access to the harddrive is
  136. managed by Windows.
  137.  
  138. >love to go an and explain to you these concepts but I really
  139. >would rather spend my time more productively.
  140.     Well, that's Ok, anyway.
  141.  
  142.  
  143.  
  144. >I have tried very hard to keep away from these formal discussions and
  145. >to bring out examples that would clearly imply a sort of DOS/Windows
  146. >dependency that is not consistent with a true operating system.
  147. >However, you have repeatedly misunderstood my simple and subtle
  148. >arguments for ignorant arguments and pulled my tongue by the low use
  149. >of personal remarks.  If you still don't get the picture, then I feel
  150. >very sorry for you.  Simple windows reactions could easily shoot it
  151. >down as an operating system, as Erike van Linstee
  152. >(linstee@dutecaj.et.tudelft.nl) put one example, "Ever hear of an OS
  153. >you can quit and still have a functioning machine?!"
  154.     Yes, it is called "Windows."  Then again, ever hear of a non-OS
  155. that runs the processor in a special mode, loads programs in a unique
  156. format, virtualizes hardware, and serializes input, along with
  157. managing memory, cpu time, and I/O access to peripherals?  Nope, me
  158. neither.
  159.  
  160.  
  161. >MS-DOS is one of those operating system that started as a small,
  162. >simple and limited system, and is know in the mids of growing beyond
  163. >it's intendent scope.  Although MS-DOS has some structure, it's level
  164. >of functionality are not well separated:
  165.     You think DOS is an OS, but Windows is not?  You really are
  166. crazy.
  167.  
  168. >This how window seems to look like:
  169.                  ^^^^^ Well, we all know how much you know about
  170. Windows' internals, without having any real reason for your
  171. beliefs.
  172.  
  173. >        +=============== Some Larger Frame =================+
  174. >        |                        |                          |
  175. >        | +--------------------+ | +----------------------+ |
  176. >        | | applications (dos) | | | Windows Applications | |
  177. >        | +--------------------+ | +----------------------+ |
  178. >        |                        |                          |
  179. >        +------------------------+==========================+
  180. >                   |             |     Window's Engine      |
  181. >                   |             +--------------------------+
  182. >                   |             |   Kernel   |   memory    |
  183. >                   |             | device man | management  |
  184. >+--------------------------------+--------------------------+
  185. >|     application program        | window's device drivers**|
  186. >+--------------------------------+==========================+
  187. >|                    command  interpreters                  |
  188. >+-----------------------------------------------------------+
  189. >      |            |          |       |    |
  190. >      +------------+----------+-------+    | * Notice the 
  191. >      |                       |            | soup between DOS
  192. >+--------------------------+  |            | device drivers
  193. >| resident system program  |  |            | and window's
  194. >+--------------------------+  |            | device drivers
  195. >      |      |           |    |            |
  196. >      |      |           |    |            |
  197. >+----------------+       |    |            |
  198. >| MS-DOS device  |       |    |            |
  199. >|   drivers      |       |    |            |
  200. >+----------------+       |    |            |
  201. >      |      |           |    |            |
  202. >+----------------------------------------------+
  203. >|           ROM BIOS device drivers            |
  204. >+----------------------------------------------+
  205.  
  206.     First,  DOS apps running in Windows do not make direct calls
  207. to DOS, as Windows has to fix up the memory references.  How do
  208. you think you can have more than one DOS machine running, and each thinks
  209. it is in memory lower than 1MB?  
  210.     Second, the command interpreter is not involved.  I sometimes
  211. boot straight to Windows without using COMMAND.COM to do so.  There
  212. is no need for COMMAND.COM to be loaded.
  213.     Third, Windows cannot call the BIOS because most BIOSes are
  214. not written to be called from protected mode.  So, Windows must 
  215. either convert all calls to real mode, or emulate the BIOS.  Often,
  216. it just emulates the BIOS.
  217.     Fourth, a DOS application cannot be running "under" windows.
  218. If you are referring to a TSR or something, lump that into the
  219. device driver category.
  220.  
  221. >MS-DOS is not structured well, and windows sorts
  222. >of expands,replaces,intervines, completes, layers 
  223. >and integrates into DOS.  DOS is still the dominant
  224. >operating system at all times.  Windows looks more
  225. >like a shell that breaks the rules and does things
  226. >that it should not than an operating system.
  227.     How do YOU know that DOS is always dominant?  You keep making
  228. these wild claims that imply you understand how Windows works.  I don't
  229. think you have a clue.
  230.  
  231. >I'll tell you what.  I could go over the acceptible definitons of an
  232. >operating systems but arguing with you is really hopeless.  Since you
  233. >are soooo concerned to get an absolute decision if windows is or is
  234. >not an operating system rather then exploring the holes and the
  235. >inconsistency each view creates, I'll just destroy this silley view
  236. >now:
  237.     If you would like to learn about OS's go read a book.  I have
  238. sufficient experience to know one when I see one.  (And yes, I've
  239. read the books, too.)  I have never been "soo concerned about an
  240. absolute decision" either.  I have said from the start the Windows is
  241. 90% and OS, and I intend to stick to that.  I would like to destory
  242. your silly view that you have psychic powers of disassembly that allow
  243. you to make broad statements about how Windows works.
  244.  
  245. >Bare hardware alone is nothing, it's like a human body with all the
  246. >integral parts except the nerves to connect them all.  An operating
  247. >system alone performs no useful function by itself (io.sys, and
  248. >bios.sys without command.com, clearer now?).  An operating system can
  249.     I don't use command.com, even when I'm at the DOS prompt.
  250. Your point, however, is taken.  You just needn't be so condescending
  251. to people who know more than you.
  252.  
  253. >also be viewed as a resource allocator, allocates resources to programs
  254. >(memory for command.com, for instance).  There is no universally
  255. >accepted defintion of what is a part of the operating system or not.
  256. >However, there is one thing that appears in absolutely every operating
  257. >system, and this single thing logically follows from any single statement
  258. >about an opearting system.  I'll use simple words, now, so you'll be
  259. >sure to understand:
  260.  
  261. >An operating system is the one program running at all times on the
  262. >computer, with all else being programs.
  263.     Well, since Windows supplants all of bios.sys, and all of
  264. io.sys other than the file handling stuff, what OS is running
  265. when I run Windows?  
  266.     I think you are wrong. I can start a new OS after
  267. boot-time and still have it be an OS.  Even your friend DOS
  268. has to be loaded by the ROM...
  269.  
  270.  
  271. >Entertained,
  272. >Tomer
  273.  
  274. Might I suggest a duel?  :)
  275.  
  276. Heath
  277.  
  278. -- 
  279. On Saturday, April 18, 1992, this .sig became self-aware.
  280.  
  281.