home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / graphuti / vesamode.zip / VESA.TXT < prev    next >
Text File  |  1993-07-18  |  3KB  |  71 lines

  1.                                                 Ann Arbor
  2.                                                 July 20, 1993
  3.  
  4. The VIPER-VL card is a fine graphics card, but I sometimes want to work in 
  5. text mode too.  Since the VPRMODE utility (supplied by the manufacturer) will 
  6. not set high-res text modes with more than 43 lines, I decided to try another 
  7. approach.  The VPRMODE utility can be used to load (and unload) a VESA driver 
  8. for the VIPER card. However, the on-card BIOS also provides support for some 
  9. of the VESA modes, apparently independent of the TSR driver. The SVGAInfo 
  10. Utility V1.00 from Alan Burke, Oghma Systems Ltd., available from the IBM 
  11. Progamming forum on Compuserve, produces the following analysis of the VIPER 
  12. card BIOS's VESA capabilities.
  13.  
  14. VESA, version: 0102, OEM name: 
  15.       "Diamond VIPER                                               ", 
  16.       64KB memory blks: 4
  17.  
  18.  006A Color Graphics   800  600  16 chars: 8x16
  19.       Window A is readable writeable at segment:A000
  20.       Granularity:64KB, Size:64KB, Bytes/scanline:100
  21.       Planes:4, Banks:1, BankSize:0, Images:1, Mem Model: 4-plane planar
  22.  
  23.  0102 Color Graphics   800  600  16 chars: 8x16
  24.       Window A is readable writeable at segment:A000
  25.       Granularity:64KB, Size:64KB, Bytes/scanline:100
  26.       Planes:4, Banks:1, BankSize:0, Images:1, Mem Model: 4-plane planar
  27.  
  28.  0108 Color Text        80   60  16 chars: 8x8
  29.       Window A is readable writeable at segment:A000
  30.       Granularity:64KB, Size:64KB, Bytes/scanline:80
  31.       Planes:1, Banks:1, BankSize:0, Images:4, Mem Model: Text
  32.  
  33.  0109 Color Text       132   25  16 chars: 8x16
  34.       Window A is readable writeable at segment:A000
  35.       Granularity:64KB, Size:64KB, Bytes/scanline:132
  36.       Planes:1, Banks:1, BankSize:0, Images:4, Mem Model: Text
  37.  
  38.  010A Color Text       132   43  16 chars: 8x9
  39.       Window A is readable writeable at segment:A000
  40.       Granularity:64KB, Size:64KB, Bytes/scanline:132
  41.       Planes:1, Banks:1, BankSize:0, Images:2, Mem Model: Text
  42.  
  43.  010B Color Text       132   50  16 chars: 8x8
  44.       Window A is readable writeable at segment:A000
  45.       Granularity:64KB, Size:64KB, Bytes/scanline:132
  46.       Planes:1, Banks:1, BankSize:0, Images:4, Mem Model: Text
  47.  
  48.  010C Color Text       132   60  16 chars: 8x8
  49.       Window A is readable writeable at segment:A000
  50.       Granularity:64KB, Size:64KB, Bytes/scanline:132
  51.       Planes:1, Banks:1, BankSize:0, Images:2, Mem Model: Text
  52.  
  53. The VPRMODE utility provides access only to modes 0x109 and 0x10a. 
  54.  
  55. As a work-around, I wrote a simple utility, which I call VESAMODE.EXE. This 
  56. utility should set any VESA mode supported by any video card. Of course, to 
  57. set a non-VESA mode, you can either use VESAMODE or the resident MODE command.
  58.  
  59. With this note, I have included an executable version and the C++ code for 
  60. VESAMODE.EXE. For a message giving the correct syntax, invoke VESAMODE with 
  61. no arguments. 
  62.  
  63. Also included are two .bat files that simplify the use of VESAMODE.
  64.  
  65. THIS IS FREEWARE. USE IT IN GOOD HEALTH. 
  66.  
  67.         Jack Courtney
  68.         Ann Arbor, MI
  69.         CompuServe: 70322.1500
  70.         Internet: jack_courtney@um.cc.umich.edu
  71.