home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6565 < prev    next >
Encoding:
Text File  |  1992-07-23  |  4.2 KB  |  85 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!darwin.sura.net!jvnc.net!primerd.prime.com!hammer!cummings
  3. From: cummings@hammer.Prime.COM (Kevin Cummings)
  4. Subject: Re: X386:  Plain VGA 16-color mode
  5. Message-ID: <1992Jul21.144816@hammer.Prime.COM>
  6. Sender: cummings@hammer (Kevin Cummings)
  7. Organization: Prime Computer R&D
  8. References: <1992Jul18.212200.14727@CSD-NewsHost.Stanford.EDU> <1992Jul20.193052.20753@crd.ge.com>
  9. Date: Tue, 21 Jul 1992 18:48:16 GMT
  10. Lines: 73
  11.  
  12. In article <1992Jul20.193052.20753@crd.ge.com>, davidsen@ariel.crd.GE.COM (william E Davidsen) writes:
  13. > In article <1992Jul18.212200.14727@CSD-NewsHost.Stanford.EDU>, bothner@Xenon.Stanford.EDU (Per M. Bothner) writes:
  14. > |> 
  15. > |> Is anyone working on enhancing X386 to support vanilla
  16. > |> VGA systems (640*480, 16 colors)?  (I have a laptop, so
  17. > |> I want to make X work using the existing VGA controller.)
  18. > |> 
  19. > |> If no-one else is working on it, I might give it a try.
  20. > |> (In an earlier life, I backed X servers for a while.)
  21. >   If you do this, you could do the world a real favor and be sure the 16
  22. > color mode works in the general case. The ET4000 will support
  23. > 1280x1024x16 on almost every card (I tried some MS-windows drivers on
  24. > 4-5 cards I had around, and all worked. Many time resolution would be
  25. > more useful than colors when opening a lot of text windows.
  26.  
  27. Yes, yes, yes!  Just a small point to remember here, video cards with up to 256K
  28. of memory (yes, this includes EGA!) should all be somewhat compatible with
  29. regards to video memory access up though 800x600x16!  (I still own, but no longer
  30. use, an EGA card that was 800x600x16 compatible.)  The video graphics library I
  31. used under DOS uses the same routines (after video selection is done) for 16 color
  32. EGA graphics as for 16 color VGA graphics.  After 800x600, you require 512K of
  33. video memory (OK, really 384K), but the bitmap for 1024x768x16 requires 96K of
  34. addressable memory which will require some bank switching since all of the
  35. addressable memory can't be fit between A0000 and AFFFF.  1280x1024 requires 160K
  36. of addressable memory (3 banks) and 1M of real video memory (well, 640K, OK?).
  37.  
  38. >   Someday I hope to hear that someone has hacked a hicolor 800x600 X for
  39. > all the checp hicolor cards around.
  40.  
  41. Hopefully compatible with 640x480x32K as well!
  42.  
  43. For those who prefer to look at tables:
  44.  
  45. Board        Required    Bitmap    Numer of    Total Video Memory
  46. Types        Resolution:    memory:    64K Banks:    Required    On Board
  47. EGA        640x200x16    16000    1         63K         64K
  48. EGA        640x350x16    28000    1        110K        128K
  49. VGA        640x400x16    32000    1        125K        128K
  50. SEGA/VGA    640x480x16    37.5K    1        150K        256K
  51. SEGA/SVGA    800x600x16    58.6K    1        234K        256K
  52. SVGA        1024x768x16    96K    2        384K        512K
  53. SVGA        1152x900x16    126K    2        506K        512K
  54. SVGA        1280x1024x16    160K    3        640K        1M
  55.  
  56. XGA        640x480x32K    600K?   10?        600K        1M
  57. ???        800x600x32K    937.5K?    15?        937.5K        1M
  58.  
  59. Please note that none of the above entries takes into account anything about
  60. sync rates required to attain those resolutions, just the memory required to
  61. support them.  And certain video chip sets may not support all of the resoltuions
  62. listed above (like the S3 chip doesn't support 1152x900x16 or 800x600x32K).
  63.  
  64. The table for 256 color modes is left as an exercise to the reader.  Remember
  65. that most 256 color modes are byte mapped, not planear! and require 8 times the
  66. addressable memory in the byte map as the corresponding 16 color mode!  And the
  67. 32K color modes require twice as much memory as the 256 color modes.  I also
  68. think I read that the 32K color modes require that each two byte color pixel value
  69. be written to memory as two seperate bytes in different memory banks.  I beleive
  70. that is how the S3 chip works.  Does the ET4000 work the same way?
  71.  
  72. =================================================================
  73. Kevin J. Cummings                       PrimeService
  74. 20 Briarwood Road                       A Computervision Company
  75. Framingham, Mass.                       500 Old Connecticut Path
  76.                     Framingham, Mass.
  77. Work:  cummings@primerd.Prime.COM
  78. Home:  cummings@kjc386.framingham.ma.us
  79.  
  80. Std. Disclaimer: "Mr. McKittrick, after careful consideration,
  81.           I've come to the conclusion that your new
  82.           defense system SUCKS..."   --  War Games
  83. =================================================================
  84.