home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / pascal / 6637 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.1 KB

  1. Path: sparky!uunet!gumby!wupost!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
  2. From: baylor@ccwf.cc.utexas.edu (Baylor)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: tp graphics
  5. Message-ID: <83776@ut-emx.uucp>
  6. Date: 16 Nov 92 21:46:51 GMT
  7. Sender: news@ut-emx.uucp
  8. Organization: The University of Texas at Austin, Austin TX
  9. Lines: 17
  10.  
  11. >
  12. >As to SetActivePage and SetVisualPage, Borland has not produced a 320x200x256 driver
  13. >that does have working page routines;  I've never found one that does and I've quite
  14. >a collection!!  I've never found out why, because it is SOOOO simple to implement but
  15. >they just HAVEN'T DONE IT YET!!  Again, Scott's gametp10.zip contains the facility
  16.  
  17.     They haven't done it yet because it's imposible.
  18.     That is if you're refering to spare video pages i mode $13.
  19.     Mode $13 is linear because they disabled chain4. 320x200 uses all
  20. 64k available. To get around this and have spare pages, you either need
  21. to go planar (mode Y 320x200x4 linear mapping) or else create a virtual
  22. page like array[0..64000] of byte and when swapping you actually 
  23. do a lds array, movsw of the whole page (how sprites, wgt and i think
  24. gametp does it).
  25.                             - baylor
  26.  
  27.  
  28.