home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / advocacy / 8592 < prev    next >
Encoding:
Text File  |  1992-11-19  |  12.9 KB  |  299 lines

  1. Newsgroups: comp.os.os2.advocacy
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!network.ucsd.edu!news!manta!discar
  3. From: discar@nosc.mil (Joe Discar)
  4. Subject: Re: Windows 3.1 an "operating system"?
  5. Message-ID: <1992Nov19.210956.8775@nosc.mil>
  6. Organization: Naval Ocean Systems Center, San Diego
  7. References: <1992Nov18.105730.27496@donau.et.tudelft.nl> <1992Nov18.184602.13761@nosc.mil> <1992Nov19.105146.9265@donau.et.tudelft.nl>
  8. Date: Thu, 19 Nov 1992 21:09:56 GMT
  9. Lines: 288
  10.  
  11.  
  12. I've taken the liberty  to rearrange the chronology of the quotes, so you
  13. could better understand--that you recognize that PC programmers (other than
  14. myself)  consider the BIOS an intricate part of th operating system.  This
  15. necessitates the belief that an oeprating system is software that provides
  16. services to user programs--regardless of the actual architecture (e.g., how
  17. such an OS is designed or layered).
  18.  
  19. Joe:
  20. >
  21. >[Several levels of old comments deleted]
  22. >>As I said, for DOS, the BIOS is definitely part of the "operating system."
  23. >>Is it a part of OS/2?  Only to boot--unless it is used for something else,
  24. >>such as a DOS VM window (which I am not certain it is).  Is the BIOS software?
  25. >>As I stated before, lots of people argue if firmware is hardware or software.
  26. >>If it is hardware, then the BIOS is NOT part of the operating system (but
  27. >>part of the "computer system")--if it's software, then the BIOS can be 
  28. >>considered part of DOS.  I, being more a code slinger than a solder
  29. >>shooter, consider the BIOS software, and therefore part of the OS.
  30. >>
  31. >
  32. >
  33. >>>that's what you appear to be referencing here. You seem to argue that
  34. >>>the components that make the system work are part of that system. Well,
  35. >>>that depends on what system you're considering. You say that the operating
  36. >>>system is the collection of parts that let the apps use the hardware.
  37. >>
  38. >>I say that an operating SYSTEM is a collection of *software* parts that let
  39. >>the apps use the hardware (I am not trying to change the textbook definition
  40. >>of an OS, all of which agree that an OS is software)....
  41. >>
  42. >
  43. >
  44. >I think you would be hard pressed to quote a textbook which said
  45. >that any software used by the OS is automatically part of it.
  46.  
  47. Douglas Comer _Operating System Design, a XINU approach_, p. 1.
  48.  
  49. "Hidden in every computer system is the software that controls processing, 
  50. manages resources, and communicates with external decices like disks and
  51. printers.  _Collectively_ [my emphasis], the programs that perform these
  52. chores are sometimes referred to as the executive, monitor, task manager,
  53. or kernel.  We will use the broader term OPERATING SYSTEM."
  54.  
  55. It is clear at least in one textbook that an operating system is a collection
  56. of SOFTWARE parts...
  57.  
  58.  
  59. >>Then why does DOS work on AT&T BIOSless machines?  But the DOS applications that
  60. >I can't believe you said that... DOS can work on machines without BIOS because
  61. >DOS does not *need* the BIOS.  BIOS is not part of DOS.  Any program that does
  62. >not use DOS calls exclusively will not work on such a machine, whether it is
  63.  
  64.  
  65. >using the BIOS or accessing the hardware directly.
  66. >OK, since I messed up his questions, basically here it is again:
  67. >"Why do techniques taught in DOS programming manuals not work on systems 
  68. >without BIOS.
  69. >
  70. >This is because DOS has very limited functionallity, and to do some things
  71. >that every program needs to do it is necessary to either access the
  72. >hardware directly or use BIOS calls.  Since the BIOS is standardized,
  73. >naturally the books suggest using it.  
  74.  
  75. Right, which is why I am suggesting that the argument is really
  76. semantic.  When *I* say "DOS" I really mean "DOS that runs on an 100%
  77. IBM PC compatible"--which is entirely different than the operating
  78. system "DOS that runs on ant AT&T".  Why?  Because of DOS's reliance on
  79. the BIOS to perform system functions, the two operating systems are not
  80. 100% compatible.  The same is *not* true of OS/2 (or Unix) because these
  81. OS's provide suitable non-platform-specific APIs to system functions.
  82. But one of the reasons DOS *has* "limited functionality" is BECAUSE
  83. the designers relied that many operating-system functions would be performed
  84. directly by the BIOS.  And in this sense, the BIOS is "part of the design
  85. of the IBM PC Disk Operating System."
  86.  
  87.  
  88. >
  89. >>>DOS is a piece of software to be loaded from disk to provide an
  90. >
  91.  
  92. >
  93. >>>Or, early IBM machines had the Basic interpreter
  94. >>>included in the BIOS, does that make Basic part of DOS? If it does,
  95. >>>I have a deficient DOS cause I never had Basic on it. And what about
  96. >>
  97. >>And if you were using those DOS utilities (BASIC and BASICA), yes you would
  98. >>have a deficient DOS.  Now, of course, DOS doesn't depend on the BASIC
  99. >>ROMs, so therefore the BASIC ROMs are no longer a part of DOS... as it's
  100. >>running.
  101. >>
  102.  
  103. Uh, actually I was being facetious.  Languages are not part of DOS (unless
  104. you extend an operating system's definition to what is included in the
  105. "packaging.")  Reference?  Again, Douglas Comer in _Operating System Design_, 
  106. p. 3 (1.3 WHAT AN OPERATING SYSTEM IS NOT):
  107.  
  108. "First, an operating system is not a language or a compiler, even though
  109. vendors usually supply compilers with their systems...."
  110.  
  111. However, if DOS itself used the BASIC ROM directly for an OS-related
  112. function (such as File Management or string processing), the BASIC ROM would
  113. indeed be part of the operating system.
  114.  
  115.  
  116. >
  117. >
  118. >Uh, so is what you're saying that if you're *using* BASIC then it's part of
  119. >the OS?  BASIC is indeed now part of DOS, rather than the BIOS (although for
  120. >a while it was in both places, but only the DOS version could use the disk)
  121. >but this just means they have added BASIC to DOS and removed it from the 
  122. >BIOS.  It certainly does not mean that the BIOS is part of DOS.
  123. >
  124. >I really doubt that DOS ever depended on the BASIC ROMs.  Therefore, they are
  125. >certainly not part of DOS.  
  126. >
  127.  
  128. I didn't intentionally sugggest they were.  Fred had, and I was trying to say
  129. that if DOS depended on it (which is doesn't), but if it did, it would be part
  130. of the operating system.
  131.  
  132. >[stuff deleted]
  133. >>>and the architecture DOS was built on is the IBM PC, a machine
  134. >>>consisting of a 8086 CPU, several parts for the interrupt mechanism,
  135. >>>an io controler, a data bus and a BIOS to provide an interface to the
  136. >>>hardware then available.
  137. >>>That is the architecture.
  138. >>
  139. >>Then why does DOS work on AT&T BIOSless machines?  But the DOS applications that
  140. >I can't believe you said that... DOS can work on machines without BIOS because
  141. >DOS does not *need* the BIOS.  BIOS is not part of DOS.  Any program that does
  142. >not use DOS calls exclusively will not work on such a machine, whether it is
  143. >using the BIOS or accessing the hardware directly.
  144. >
  145.  
  146. Ahhh, but twhen I say "DOS" I refer to DOS running on a PC.  DOS on a PC is
  147. just as much "DOS" as DOS on an AT&T only from a general sense (much as
  148. my Wife and I belong to the same class "Man") but if the API changes because
  149. of the existence (or absense) of the BIOS, they are, technically, different
  150. operating systems (much as you and I are "Men" but we are different men).
  151. I don't know if I'm being clear... but the problem appears to be semantic.
  152. As you said, because of the design of DOS, many DOS programmers call the BIOS
  153. directly because the BIOS is part of the standard "DOS"--it is valid
  154. to consider that, if the yare programming DOS, the BIOS calls are there.
  155.  
  156.  
  157. >"Why do techniques taught in DOS programming manuals not work on systems 
  158. >without BIOS.
  159. >
  160. >This is because DOS has very limited functionallity, and to do some things
  161. >that every program needs to do it is necessary to either access the
  162. >hardware directly or use BIOS calls.  Since the BIOS is standardized,
  163. >naturally the books suggest using it.  
  164.  
  165. This is because DOS's functionality only provide further enhancement to
  166. services provided in the BIOS.  If the functionality was already adequate
  167. in the BIOS, DOS does not attempt to duplicate it--relying on the fact that
  168. if the programmer wants to do that function he can call the BIOS.  In other
  169. words, the API provided for by the BIOS is inherited by DOS.
  170.  
  171. >
  172. >>>DOS is a piece of software to be loaded from disk to provide an
  173. >>>abstraction from the hardware so users can load applications, manipulate
  174. >>>files and use the harware to their avail.
  175. >>>That is the operating system called DOS.
  176. >>
  177. >>Correct.  A good OS should insulate the programmer from the lower software 
  178. >>layers.  But is it not still valid to design an OS that doesn't perform
  179. >>such insulation--in other words, to make the BIOS API an inherent part of
  180. >>DOS?
  181. >>
  182. >
  183. >I would say that it is not valid, since that very statement implies that 
  184. >the BIOS pre-existed DOS.
  185.  
  186. The BIOS did pre-exist DOS.  PC's ran just fine without a disk operating
  187. system, thank you... the BIOS (and BASIC) provided ample functionality
  188. at the time.
  189.  
  190. >
  191. >["is BIOS hardware or software" statement deleted, since it is getting
  192. >  awfully repetitive]
  193. >
  194.  
  195. But you still don't see the quandry.  If BIOS is hardware, it is not part of the
  196. OS.  If it software, then it is part of the OS (an OS being [Douglas p. 1]
  197. "Collectively, the *programs* that perform [process control, resource
  198. management, etc.]"
  199.  
  200. >>>To say it once again, the BIOS is not part of DOS, is not part of OS2,
  201. >>>is not part of Xenix, is not part of Linux, is not part of BSD386,
  202. >>>is not part of ...
  203. >>
  204. >>This is only true, again, if you do not consider the BIOS a piece of software.
  205. >>There is the echo of another argument: several people have installed
  206. >>OS/2 on various machines--and could not boot because of BIOS problems (yet,
  207. >>may I point out that such "BIOS" problems do not exist on other operating
  208. >>systems such as Windows+DOS or DOS).  There are two schools of thought:
  209. >>(1)  The hardware is non-compliant (this is what most OS/2 advocates
  210. >>assert).  or (2)  OS/2 still needs ironing out (this is what the trade rags
  211. >>basically say).  Which is right?  Are incompatibility problems an issue with
  212. >>the hardware or with the software?
  213. >>
  214. >
  215. >That fact that OS/2 does not work with some BIOSs (just what is the plural of
  216. >BIOS?) implies that BIOS is part of the computer architecture. No one ever said
  217. >that OS/2  could not load on a machine because it had a DOS conflict because
  218. >DOS is an operating system, and OS/2 replaces it.
  219.  
  220. Or implies that OS/2 is not designed to use the BIOS resources correctly.
  221. Look at the trade rags (November PC Magazine) is it OS/2's fault that
  222. it doesn't work on MAchine X?  At least some writers allude to it: or it
  223. wouldn't be an issue of which operating system is better.  But before I get
  224. flamed for THIS too: in the OS/2 architecture the BIOS is more hardware than 
  225. software--since the BIOS is only used (to my knowledge, how about DOS windows?)
  226. in that grey area called "booting".  In DOS, the BIOS is clearly software
  227. that has been integrated into DOS.
  228.  
  229. >
  230. >
  231. >[referring to BIOS]
  232. >>>It is part of the PC architecture.
  233. >>>
  234. >>>
  235. >>
  236. >>So is DOS, so is OS/2, so is Windows.  I believe (as I said before in a 
  237. >>previous post) that the issue of the BIOS being a part of OS/2 is not
  238. >>quite clear since OS/2 "uses" the BIOS only to boot (and I am uncertain if
  239. >>OS/2 depends on the BIOS to perform DOS windows).  But the BIOS is 
  240. >>definitely part of the DOS architecture--which is why DOS software breaks
  241. >>if the BIOS is not very close to 100% PC compliant.
  242. >>
  243. >>
  244. >
  245. >>>>>>DOS<<<<<< is part of the PC architecture????? And OS/2 and Windows??
  246. >Blech!
  247.  
  248. It depends on how you view an architecure.  Is the architecture the
  249. foundation?  The frame?  The walls? the ceiling lights?  If my PC is
  250. set up *only* to boot OS/2--and all software that I ever use or design to
  251. use uses OS/2--couldn't OS/2 be considered part of *my* PC architecture?
  252.  
  253. Architecture: \ar-ke-tek-cher\... 2  a: formation or construction as or as
  254. if as tje result of a conscious act   b: a unifying or coherent form or
  255. structure...
  256.  
  257.            Webster's 9th New Collegiate Dictionary
  258.  
  259.  
  260. >
  261. >I think maybe you should read Hennesey and Patterson for a definition of
  262. >computer architecture.
  263. >
  264. >You will probably find that the definition does not include every operating
  265. >system available for the computer.
  266. >
  267.  
  268. Neither does the definition include every computer.  Any given definition 
  269. of  particular computer architecture is only valid for that instance.
  270. One could say "*Generally* the BIOS is part of the PC architecture" but
  271. that is not altogether true.  At JPL I helped in the development of a
  272. biometric experimental machine based on the "PC architecture" where we
  273. ripped out the BIOS altogether and replaced it with our own  program.
  274.  
  275. >
  276. >Doesn't it seem more logical that if you replace one operating system (DOS)
  277. >with another (OS/2, UNIX, anything) that the parts of the computer which
  278. >remain constant (video hardware, CPU, diskdrive, *BIOS*) are not part of
  279. >the operating system?
  280. >
  281. >It seems to me that your idea that BIOS is part of the operating system
  282. >leads to a number of inconsistancies.
  283. >
  284. >
  285.  
  286. Only if you consider it part of the machine and not software in its own
  287. right.
  288.  
  289. >
  290. >Peter Dunlap            |  CS Department
  291.  
  292.  
  293. >pdunlap@cs.utexas.edu   |  University of Texas at Austin
  294. >------
  295. >It's not like I never make mistakes...I bought a PS/2
  296. >
  297.  
  298.  
  299.