home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8721 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.1 KB

  1. Xref: sparky comp.os.linux:8721 comp.sys.ibm.pc.hardware:22301
  2. Newsgroups: comp.os.linux,comp.sys.ibm.pc.hardware
  3. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!shravani!rajat
  4. From: rajat@watson.ibm.com (Rajat Datta)
  5. Subject: Re: Need help with programming ET4000
  6. Sender: news@watson.ibm.com (NNTP News Poster)
  7. Message-ID: <1992Aug20.203216.39824@watson.ibm.com>
  8. Date: Thu, 20 Aug 1992 20:32:16 GMT
  9. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  10. References: <willmore.714336630@help.cc.iastate.edu>
  11. Nntp-Posting-Host: shravani.watson.ibm.com
  12. Organization: IBM T.J. Watson Research Center
  13. Keywords: ET4000 SVGA
  14. Lines: 27
  15.  
  16. I have modified the vga.c program in vgalib 1.0 to work on et4000's in
  17. extended mode.  If you, and anyone else, is interested in my changes,
  18. please send me a note and I'll mail it to you (I can't mail till
  19. tomorrow cuz it's on my home machine and not here at work).  I still
  20. can't change the clock value on my et4000 based card (have no idea how
  21. it's done), so am stuck with 800x600-16 mode since I boot Linux in
  22. 100x40 mode (Linux changes the clock value via a bios call).  If
  23. anyone can tell me how to change the clock value, I would very much
  24. appreciate it.
  25.  
  26. I do recommend getting vgalib 1.0 (it's available on tsx-11.mit.edu
  27. under the Linux tree).  It's an excellent package and certainly enough
  28. for doing vga-only graphics (boot in Linux in 80*25 mode).
  29.  
  30. Index 0x33 at at 0x3d4 increases the display start address size by 2
  31. bits.  The upper and lower halves of the address are at index 0x0c and
  32. 0x0d (I believe; I'm typing this from memory).  Taken together this
  33. gives you a 18bit pointer into the display memory.  The maximum
  34. display memory can be 256K by 4 planes (total 1 Mbyte; 2**18 is 256k).
  35. This lets you set from where in the memory to get the display image
  36. from.  Properly done this lets you scroll down an image very quickly.
  37. Or, you have four pages (in 800x600-16 mode) and you can display one
  38. frame of animation, while you're filling in the next frames in the
  39. other pages, and then switch the display page without moving 60000
  40. *4 bytes (800*600/8 * 4 planes).
  41. -- 
  42. rajat (rajat@watson.ibm.com)
  43.