home *** CD-ROM | disk | FTP | other *** search
/ PC Format 20 / Disk20-1.iso / VPICT.ZIP / CONFIG.DOC < prev    next >
Text File  |  1992-09-03  |  11KB  |  175 lines

  1.  
  2.     CONFIGURING VPIC
  3.  
  4.     VPIC must be configured to run correctly with your display board.  The  con-
  5.     figuration process tells VPIC:
  6.     1. The title you want for the menu.
  7.     2. What VGA chip you have, so it can use the proper bank switching routine.
  8.     3. How much memory you have (in 64K banks).
  9.     4. The menu color you want (background:foreground).
  10.     5. How to set the various modes you want to use.
  11.  
  12.     This method is used instead of trying to autodetect the VGA chip and  memory
  13.     because:
  14.     1. Some chips are very hard to detect, and memory on board is even harder.
  15.     2. As new VGA chips are released, there is a delay before the detection is
  16.        implemented in the program.
  17.     3. The WHICHVGA program is provided to autodetect the VGA chip and memory,
  18.        but it fails on some chips.
  19.     4. The config file provides more user control than automatic means.
  20.  
  21.     If you aren't sure which VGA chip your board uses,  you  can  run  WHICHVGA,
  22.     which will try to identify your VGA chip and the amount of memory you  have.
  23.     Also check for a list of some of the VGA boards each  chip  was used  on. If
  24.     this doesn't work, you can remove the display board and look  at  the  label
  25.     on the large chip with leads coming out all four sides. Sometimes,  you  can
  26.     tell without removing the board by using DEBUG (or Turbo Debugger, Codeview,
  27.     or any debugger) and 'dumping' the contents of display  BIOS.  To  do  this,
  28.     enter DEBUG at the DOS prompt and you  will  get  a  -  prompt.  Then  enter
  29.     dC000:0 to display the first part of display BIOS. To  dump  more  of  BIOS,
  30.     juts enter d. You may recognize the chip manufacturers name  here,  such  as
  31.     ATI, Trident, Tseng, Paradise, etc. To exit DEBUG, just enter q.
  32.  
  33.     If WHICHVGA comes back with VESA, that means that your  board  supports  the
  34.     VESA standard, which offers a standard interface for VPIC to  your  SuperVGA
  35.     display adapter. It defines the SuperVGA extended modes that your card  will
  36.     do, and has a standard interface for setting the mode  and  bank  switching,
  37.     etc. You  may  have  received  a  VESA  `Terminate and Stay Resident'  (TSR)
  38.     program with your VGA board. If so, you are encouraged to use it,  since  it
  39.     more or less guarantees that VPIC will work with your display card. The only
  40.     disadvantage of VESA is concerned with scrolling the VGA screen, since there
  41.     is no standard interface for setting the top of screen beyond 16 bits  (line
  42.     81 at 800x600x256, line 102 at 640x480x256, or  line  204  at  320x200x256).
  43.     This version of VPIC automatically reads the VESA  info  from  your  display
  44.     BIOS, and uses the VESA interface. If you enter VPIC  with  the  /v  option,
  45.     VESA info is ignored and VPIC uses the  configuration  file  info;  this  is
  46.     helpful when VESA returns info VPIC isn't expecting or no  info  on  certain
  47.     modes.
  48.  
  49.  
  50.  
  51.  
  52.     The current VPIC config file VGA chips and the VGA chip manufacturers are:
  53.     VGA Chip    Manufacturer/version        Comments
  54.     =================================================================
  55.     AHEADA     Ahead ver A             Older Ahead cards.
  56.     AHEADB     Ahead ver B             Ahead VGA Wizard/Deluxe.
  57.     ATIOLD     ATI, 1024x768x16 mode 65h   ATI ver 1 chip, VGAWonder.
  58.     ATINEW     ATI, 1024x768x16 mode 55h   ATI ver 2 up chip, VGAWonder+.
  59.                For the ATI Ultra, be sure to run ATI's HDILOAD program first to
  60.                activate the 8514A interface for the 1024x768x256 mode.
  61.     CIRRUS     Cirrus CL-GD 500/600    MaxLogic MaxVGA boards NOT SUPPORTED YET.
  62.     CHIPSTECH  Chips & Technology 82C452   Cardinal, Older Boca.
  63.     EVEREX     Original Everex chip
  64.     EVBIOS     Everex 673, etc         Has bank switching built into BIOS.
  65.     GENOA      Genoa (Sim ET 3000)     5300/6300 = 256K, others = 512K.
  66.     HEADLAND   Headland HT-208         Used on VGA-1024i.
  67.     NCR        NCR                     Boca, PVGA 1024i, etc
  68.     OAK        Oak
  69.     PARADISE   Paradise                Older Paradise cards.
  70.     REALTEK    Realtek                 Used in RTVGA boards.
  71.     S3         S3 GUI Accelerator      Used on Orchid Fahr 1280, Diamond Stealth,
  72.                                         Genoa Windows VGA, etc.
  73.     TRI88BR    Trident TVGA 8800BR     Used on older Trident boards, 128K banks.
  74.     TRI88CS    Trident TVGA 8800CS     Used on older Trident boards (Maxxon)
  75.     TRI89      Trident TVGA 8900       Latest Trident VGA chip, 1M memory avail.
  76.     TS3000     Tseng ET 3000           Used on early Genoa, Orchid, others.
  77.     TS4000     Tseng ET 4000           Recent Orchid, STB, other, 1M memory.
  78.     TS4000HI   Tseng ET 4000 HiColor   Does 32K colors to 800x600, 1M memory.
  79.     WD90C      Western Digital WD90C00  Recent Paradise cards, same operation.
  80.     VIDEO7     Video 7                 Earlier Video 7 boards, BIOS bank switch.
  81.                                         Hewlett Packard SVGA.
  82.     ZYMOS      Zymos Poach 51          True Tech HiRes and others.
  83.     VESA       VESA Standard           For boards which have VESA in BIOS.
  84.  
  85.     As new chips become available, they will be added to this list. Run WHICHVGA
  86.     to find your VGA chip (works most of the time), and then run CONFIG and find
  87.     a CFG file using that VGA chip. Check that the modes agree with the graphics
  88.     modes in your manual (16 and 256 color modes only); if they match your  card
  89.     exactly, use that CFG file by pressing ENTER. If not, copy the closest  file
  90.     to a new filename with extension CFG and change the modes to agree with your
  91.     manual. Make the title and menu color whatever you like  (see  CONFIGURATION
  92.     FILE FORMAT). Then  rerun  CONFIG,  pick  that  file,  and  press  ENTER  to
  93.     configure VPIC. There are numerous configuration files which come with VPIC,
  94.     but there are so many boards out there that I can't list all of them.
  95.  
  96.     MENU CONFIGURATION
  97.     To configure VPIC, make sure that VPIC, CVPIC,  CONFIG,  and  all  the  .CFG
  98.     files are in the current directory. By running the CONFIG program, VPIC  can
  99.     be configured from a menu. CONFIG lists all the configuration files (with  a
  100.     .cfg extension) in the current directory, and shows you the contents of each
  101.     as you move around the list using the cursor keys. ESCape aborts the  CONFIG
  102.     program without changing VPIC, and ENTER configures VPIC for the highlighted
  103.     file. Pressing a letter key jumps to next filename starting with that letter
  104.     (or number).
  105.  
  106.     MANUAL CONFIGURATION
  107.     You can use CVPIC to configure VPIC manually by entering:
  108.          CVPIC config_file[.ext]
  109.     where the default extension is .cfg and  config_file  is  the  configuration
  110.     file you want to use.
  111.  
  112.  
  113.  
  114.  
  115.     CONFIGURATION FILE (.CFG) FORMAT
  116.     CVPIC ignores leading spaces and blank lines in the file, and all characters
  117.     after a semicolon are considered comments and ignored. The .CFG file contains
  118.     the following lines, which can be up to 150 characters in length each:
  119.  
  120.         1. Board name, which will appear in the VPIC menu. This is user  define-
  121.            able, and could be something like 'Joe's VGA Board'.
  122.  
  123.         2. VGA CHIP should be one of the names supported  by  VPIC;  see  above.
  124.            Upper or lower case is OK.
  125.  
  126.         3. The number of 64K banks of display ram usable  for  pictures  (1  for
  127.            standard VGA (no extended modes), 4 for 256K, 8 for 512K, 16 for 1M).
  128.  
  129.         4. Menu text color. A number whose value is  background*16 + foreground.
  130.            The allowable background colors are  0  thru  7,  and  the  allowable
  131.            foreground colors are 0 thru 15. This number is easiest to figure  if
  132.            entered in hex (prefixed by 0x); then the 1st digit is the background
  133.            color (0-7) and the 2nd digit is  the  foreground  color  (0-F).  The
  134.            digits correspond to black (0), blue (1),  green (2),  aqua (3),  red
  135.            (4), violet (5), brown (6), and white (7), and  the  digits  8-F  are
  136.            intensified versions of the 0-7. For example, 0x3E would tell VPIC to
  137.            use bright yellow text on an aqua background. CONFIG gives the  value
  138.            in hex, and the corresponding foreground-background colors.
  139.  
  140.         5 thru n. The following lines describe the modes supported by the board.
  141.           Each line is of the form: F1 F2 AX BX CX DX W H C G P where:
  142.             *  F1 = 0 for 16 color modes, 1 for 256 color modes, > 1 for  Sierra
  143.                DAC modes (for Targa's only) as follows:
  144.                     2 => 15 bits/pixel (32,000 colors)
  145.                     3 => 16 bits/pixel (64,000 colors)
  146.                     4 => 24 bits/pixel (16,000,000 colors)
  147.             *  F2 = 0 for EGA (640x350x16) with 64 colors to choose from, and  1
  148.                for all others modes (which have 256,000 colors to choose from).
  149.             *  AX,BX,CX,DX  register values used to set this mode. Preceding the
  150.                numbers by 0x indicates hex; ie., 0x10 = 16. Using 8514 for AX
  151.                indicates an 8514A interface, where BX is the mode.
  152.             *  W, H, C  are width, height, colors in this mode. For 24 bit modes
  153.                the colors field has the color order; 123=>BGR, 321=>RGB.
  154.           Additional Information if known
  155.             *  G is the bank granularity in Kbytes; for instance,  the  Paradise
  156.                has 4K banks.
  157.             *  P is the number of color planes; usually 1 for  256  color  modes
  158.                and 4 for 16 color modes. However, the ATI in 1024x768x16 and the
  159.                S3 in 800x600x16 and 1024x768x16 uses 1 plane and 2 pixels/byte.
  160.  
  161.           The modes amy be entered in any order, but listing all  the  VGA  (256
  162.           color) modes followed by the EGA (16 color)  modes,  followed  by  the
  163.           Sierra DAC modes makes sense, and the mode numbers can  be  determined
  164.           by looking at the configuration file.
  165.  
  166.           For specifying the mode N from the command line (/mN option for VPIC), the
  167.           mode numbers increase with increasing resolution and can be found from
  168.           the menu screen as follows:
  169.             *  The 256 color modes are numbered 1 thru 10 starting at 320x200.
  170.             *  The 16 color modes are numbered 11 thru 20 starting at 640x350.
  171.           If you are configured with the Sierra DAC, Targa's will be automatically
  172.           shown in 32K colors if you pick a resolution supported  by  the  board
  173.           for the Sierra DAC.
  174.  
  175.