home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / ibm / pc / hardware / 20606 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  2.4 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!rpi!bu.edu!dartvax!mars.caps.maine.edu!maine.maine.edu!ree700a
  2. From: REE700A@MAINE.MAINE.EDU
  3. Newsgroups: comp.sys.ibm.pc.hardware
  4. Subject: Re: 32 bit BIOS, etc. (was RE: 486/50'2 vs Sun 2's
  5. Message-ID: <92211.101635REE700A@MAINE.MAINE.EDU>
  6. Date: 29 Jul 92 14:16:35 GMT
  7. References: <92210.111717REE700A@MAINE.MAINE.EDU>
  8.  <1992Jul28.175548.26125@usenet.ins.cwru.edu>
  9. Organization: University of Maine System
  10. Lines: 36
  11.  
  12. =========================================================================
  13. />+>perhaps this would have more to do with the key-repeat rate on the 486 ??
  14. />+>also: a 486 running 32bit OS/2 2.0 programs is about 4 time faster on
  15. />+>integer code ( let alone floating point ) than the same machine under dos.
  16. />+>(ie: think about what you are actually measuring !!!)
  17. />
  18. />  Maybe OS/2 avoids the DOS-bios (hence it's large size) but, 32-bit pointers
  19. />dont inherently buy you anything except simpler segmentation (not to understat
  20. /> the advantages to the developer there).  Otherwise, there is little or no sav
  21. />ngs between 32-bit protected mode pointers and 16-bit protected mode pointers.
  22.  
  23.  
  24. /I though the 32 bit "flat" address space worked quicker because the processor
  25. /did not get bogged down computing the 'segment-offset' stuff every time it had
  26. /to do a pointer.
  27.  
  28. To quote Bart Simpson,   "Au Contraire, Mon Frere"
  29.   In Real Mode, it is a simple matter of shifting a word left 4 bits and
  30. adding the offset.  In protected mode, the segmant is a _HANDLE_ which points
  31. into a (memory resident) table of segment descriptors.  The segment descriptor
  32. then contains the base address of the segment (incurring one memory fetch just
  33. to get the address of the desired memory fetch).  If PAGING is active, a second
  34. level lookup is required (hence a second memory fetch) and finally, the offset
  35. is added.
  36.  
  37.    How, you might ask, does protected mode run at all with all this overhead?
  38. The 386 & 486 have segment discriptor shadow registers which are loaded the
  39. first time a segment registor is loaded.  This eliminates the first fetch.  I'm
  40. not clear about the paging; however, I suspect that most OS'es don't use it
  41. (i.e. the Hardware version) and perform there own Virtual Memory operations
  42. when a page fault Exception occurs.
  43.  
  44.    For more details about the 486 wonderchip and what it could do if we'd
  45. let it, buy the book "80486 Programming" from the Computer Book Club...
  46.  
  47. Jeff "Scandle" Andle
  48.