home *** CD-ROM | disk | FTP | other *** search
/ DOOM 2 Mania / doomiimaniavolume1techexpresssoftware1995.iso / doom2pk / maps / config.doc < prev    next >
Text File  |  1991-08-22  |  8KB  |  133 lines

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