home *** CD-ROM | disk | FTP | other *** search
/ Best of German Only 1 / romside_best_of_german_only_1.iso / grafik / dos / zeigwpg / zw600drv.exe / SVGA256.DOC < prev    next >
Text File  |  1991-01-26  |  4KB  |  103 lines

  1. **************************************************************
  2. COPYRIGHT 1990, JORDAN HARGRAPHIX SOFTWARE
  3. PORTIONS COPYRIGHT JOHN BRIDGES, 1990
  4.            CHRISTOPHER MORGAN, 1984
  5. **************************************************************
  6.  
  7. Here it is! The SuperVGA BGI driver you have all been waiting for! ;->
  8.  
  9.   This driver supports a wide range of VGA cards, and should work on
  10. all major brands.
  11.  
  12. Card types supported:
  13.   Ahead, ATI, Chips & Tech, Everex, Paradise, Trident, Tseng (both 3000
  14. and 4000 chipsets) and Video7.
  15.  
  16. I have not tested this driver on all these card types, so I can not guarantee
  17. perfect operation with your card.  I have tested this driver extensively
  18. on Trident and ATI cards, and have had no problems.
  19.  
  20. This is a new release, so let me know if you find any bugs.
  21.  
  22. This is a fully functioning BGI driver; only floodfill remains unimplemented.
  23.  
  24.  Right now, the driver only supports 4 modes, although other modes
  25. will be added in future releases.
  26.  
  27. Modes currently supported:
  28.   0) Standard VGA/MCGA 320x200x256
  29.   1) 256k Svga 640x400x256
  30.   2) 512k Svga 640x480x256
  31.   3) 512k Svga 800x600x256
  32.   4) 1024k Svga 1024x768x256
  33.  
  34. -----------------------------------------------------------------------------
  35. INSTALLATION:
  36.   Using the driver in existing programs is easy.
  37.  
  38. ** Installation in C programs:
  39.  
  40. int huge Always()
  41. {
  42.   return VidMode;  /* Place appropriate video mode here: 0,1,2 or 3 */
  43. }
  44.  
  45.   ...
  46.   int GraphDrv = DETECT, GraphMod;
  47.  
  48.   installuserdriver("SVGA256",Always);
  49.   initgraph(&GraphDrv,&GraphMod,"");    
  50.   ...
  51.  
  52. ** Installation in Pascal programs:
  53.  
  54. function Always : integer;
  55.   Always := VidMode;  {Place appropriate video mode here: 0,1,2 or 3}
  56.  
  57.  ...
  58.  var
  59.    AutoDetect : pointer;
  60.    GraphDrv : integer;
  61.    GraphMod : integer;
  62.  
  63.    AutoDetect := @Always;
  64.    GraphDrv := installuserdriver('SVGA256',AutoDetect);
  65.    GraphDrv := DETECT;
  66.    InitGraph(GraphDrv,GraphMod,'');
  67.    ...
  68.  
  69.  
  70. -------------------------------------------------------------------------
  71. WARNING: The driver does not test to see if the card installed is
  72. actually a VGA card (If it does not detect a SuperVGA card, it treats
  73. the card as a standard VGA), so DO NOT use the driver if you do not have
  74. a VGA card installed. (I will try to fix this in the next version)
  75.  
  76. -------------------------------------------------------------------------
  77.  
  78. REGISTRATION:
  79.   I have decided to make this first driver available free of charge,
  80. although donations of $10-$20 would be greatly appreciated and certainly
  81. expedite the release of future versions. :->
  82. With donations of $15 and up, you will be considered a registered user
  83. and will entitle you to a printed copy of the source and updates on future
  84. releases.
  85.  
  86. Send checks/money/etc to: Jordan Hargrave
  87.               1000 Morewood Ave, Box #3277
  88.               Pittsburgh, PA 15213
  89.  
  90. Watch for other Jordan Hargraphix productions to be released soon:
  91.  
  92.  Hextris : A tetris-like game with hexagonal shaped pieces, converted
  93.        from the popular UNIX game. (Copyright 1990 by Dave Markley)
  94.  
  95. *===============================*===========================================*
  96. | Jordan Hargrave        |   Internet:    jh5y@andrew.cmu.edu        |
  97. | 1000 Morewood Ave, Box #3277  |     Bitnet:    jh5y%andrew.cmu.edu@cmccvb  |
  98. | Pittsburgh, PA 15213        |       UUCP:    uunet!andrew.cmu.edu!jh5y   |
  99. | (412) 268-4493         |    Prodigy:    HXNJ79A                |
  100. |                  | Compuserve:    [72510,1143]            |
  101. *===============================*===========================================*
  102.  
  103.