home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / programm / 8030 < prev    next >
Encoding:
Text File  |  1993-01-26  |  2.2 KB  |  50 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!cs.utexas.edu!milano!cactus.org!wixer!johnw
  3. From: johnw@wixer.cactus.org (john winthrop)
  4. Subject: Why OS/2 doesn't support VGA modes in windows
  5. Message-ID: <1993Jan26.040548.26248@wixer.cactus.org>
  6. Organization: Real/Time Communications
  7. Date: Tue, 26 Jan 1993 04:05:48 GMT
  8. Lines: 40
  9.  
  10. There are two main reasons that os/2 doesn't support VGA (and SVGA)
  11. modes in a window...
  12.  
  13. first, (s)vga modes  take up a lot of memory (up to 1 meg generally,
  14. newer cards use even more memory).... To support virtualized vga modes
  15. would mean that os/2 would have to have at least that much memory
  16. available FOR EACH WINDOW! This would eat up resources faster than
  17. godzilla could trample Tokyo.
  18.  
  19. Second, most vga modes use bit planes.  For those not familiar with bit
  20. planes, they are simply a mechanism for accessing more than one byte of
  21. video memory at a time, by compromising on whether you want to access
  22. one pixel color on the screen, or access a group of pixels quickly.
  23.  
  24. One write to a bit plane could update several bytes of video memory,
  25. which would recquire os/2 to modify those bytes in its own bufffer.  The
  26. result would be the speed of the original apple ][...  Much of the
  27. success of vga is due to the fact that it is so quick to do pixel writes
  28. and copies.
  29.  
  30. Other bitplane modes are supported in OS/2 (ie EGA), because of a
  31. "trick" the designers used to support them... The designers took some
  32. left over memory at the end of your video cards buffer and uses it to
  33. virtualize writes to the screen... notice, however, that this is seems
  34. to be enabled only with the "scaled image" option, and it is VERY
  35. slow...
  36.  
  37. As I have said over and over, it seems that the biggest flaws in OS/2
  38. are really the flaws of the PC architecture, which was not designed as a
  39. virtual machine or meant to be used for mult-user,multi-process
  40. environments.
  41.  
  42. ---------------------------------------------------------------------------
  43. OS/2: Mainframe power for todays desktop
  44.  
  45. -- 
  46. John Winthrop                    | "The only solution is:
  47. johnw@wixer.cactus.org           |  cd /
  48. cactus.org!wixer!johnw           |  rm -rf ."
  49. =================================================================
  50.