home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 246.img / VPIC28.ZIP / VPIC.DOC < prev    next >
Text File  |  1990-04-30  |  36KB  |  745 lines

  1.                          VPIC USERS MANUAL
  2.                A Picture File Viewing/Conversion Program
  3.                         by Bob Montgomery
  4.                           CIS 73357,3140
  5.  
  6. INTRODUCTION
  7. Background
  8.  
  9. The original program was called VGIF, reflecting its ability to view only GIF
  10. files. When the program evolved to include other paint file formats, its name
  11. was changed to VPIC. A configuration program (CVPIC.EXE) is also supplied to
  12. configure VPIC to your extended VGA board. See the revision history in Appendix
  13. A for latest additions and bug fixes.
  14.  
  15. IMPORTANT: VPIC requires DOS 2.0 or up to run from current directory, or DOS 3.0
  16. up to run from anywhere. You must configure VPIC for your graphics board using
  17. CVPIC (unless you have an Orchid Designer VGA with 512 K).
  18.  
  19. The Graphics Interchange Format (GIF) is a Service Mark owned by Compuserve
  20. Incorporated. For further information, please contact:
  21.     Compuserve incorporated, Graphics Technology Department,
  22.     5000 Arlington Center Boulevard, Columbus, Ohio 43220, USA
  23.  
  24. GENERAL FEATURES
  25. VPIC is a file viewer for EGA, MCGA, VGA and SuperVGA, and has the following
  26. features:
  27.   *  Views the following file formats in EGA, MCGA, VGA, or SuperVGA:
  28.      1. Dr. Halo CUT files (with PAL if present).
  29.      2. GIF files (50% faster now).
  30.      3. Deluxe Paint LBM (or IFF) files.
  31.      4. MAC files.
  32.      5. Pictor/PC Paint PIC files.
  33.      6. ZSoft PCX files (including 256 color files).
  34.      7. ColorRIX/EGA Paint SCx files.
  35.      8. Targa 16 or 24 TGA files.
  36.  
  37.   *  Saves current image to any of the above formats (except MAC and IFF) in the
  38.      current mode (EGA, MCGA, or VGA).
  39.  
  40.   *  Saves current image to GIF in regular, interlaced, inverted, mirrored,
  41.      or rotated 90 degrees CW or CCW. Great for scans.
  42.  
  43.   *  Configurable for display boards using Tseng3000 and Tseng4000, Paradise,
  44.      Everex, ATI, Trident, C&T, Video 7, Genoa, Zymos, or Ahead (B) VGA chips
  45.      (see configuring VPIC below); the Ahead A chip used on some early boards is
  46.      not supported.
  47.  
  48.   *  /R option allows an application program to show a file and regain control
  49.      without changing the screen mode.
  50.  
  51.   *  Mode can be manually selected or auto selected from menu.
  52.  
  53.   *  Allows you to specifiy a new path from the menu with the [F9] key. Also
  54.      updates menu when files are added or deleted.
  55.  
  56.   *  Very fast GIF decoding.
  57.  
  58.   MENU FEATURES:
  59.   *  Mark/unmark files for viewing with [SPACEBAR].
  60.   *  Menu text color setable in configuration file.
  61.   *  [F1] gives help.
  62.   *  [F2] shows marked files like a slideshow.
  63.   *  [F3] gives file size and colors.
  64.   *  [F4] toggles between EGA and VGA mode.
  65.   *  [F5/F6] decrease/increase default resolution.
  66.   *  [F7] Locks current resolution, or selects auto resolution mode.
  67.   *  [F8] Makes multiple GIF images pause for a keypress.
  68.   *  [F9] prompts for new path.
  69.   *  [F10] shows current path for files.
  70.   *  Shows marked files singly or like a slide show.
  71.   *  Handles up to 500 files.
  72. ==============================================================================
  73.   VIEWING FEATURES
  74.   *  Help while viewing with / or ? key.
  75.   *  Shows filename while decoding, and [ESC] aborts decoding.
  76.   *  Allows deleting a file (with query) with the [Alt-X] key.
  77.   *  Allows adjustment of picture color and VGA contrast and brightness.
  78.   *  Allows saving the current image as a GIF (many options), PC Paint or
  79.      Pictor, ZSoft PCX, ColoRIX or EGA Paint, Targa 16, Dr. Halo CUT, and
  80.      Deluxe Paint II formats in EGA, MCGA, or VGA.
  81. =============================================================================
  82. RUNNING VPIC
  83. Command Format: vpic [[path]filespec][/a][/e][/r][/c][/w][/?].
  84.   *  The default path is the current directory, and the default extensions are
  85.      CUT, GIF, IFF, LBM, MAC, PIC, PCX, SCx, and TGA.
  86.   *  The /a option starts VPIC in Auto resolution select mode.
  87.   *  The /b option causes VPIC to beep after displaying a file except in slide
  88.      mode or /r.
  89.   *  The /c option gives the current configuration; see 6 below.
  90.   *  The /h option allows the viewing of hidden files.
  91.   *  The /e option forces EGA mode, to use extended 16 color modes; see 5 below.
  92.   *  The /r option returns control to a calling program; see 4 below.
  93.   *  The /w option wait for a keypress after each image in a multi_image GIF
  94.      file.
  95.   *  The /? option gives a help screen.
  96.   *  If filespec is a filename, the single file will be shown (the default
  97.      extension is GIF).
  98.   *  If path\filespec is a directory, a menu of all viewable files in that
  99.      directory will appear. Otherwise all files meeting the filespec will
  100.      appear. For example, [vpic d:\pics\*.pcx] would give a menu of all PCX
  101.      files in the PICS directory of drive D, while [vpic d:\pics] would give a
  102.      menu of all viewable files in the PICS directory of drive D.
  103.   *  Options and filespec may be entered in any order.
  104.  
  105. EXAMPLES OF VPIC COMMANDS
  106.     1. VPIC [path\]filename[.ext] shows the file specified. The default path is
  107.        the current directory, and the default extension is GIF.
  108.  
  109.     2. VPIC [path\][filespec] to get a menu of all files in the specified path
  110.        meeting filespec (may contain wildcards). The default path is the current
  111.        directory, and the default filespec is any of the viewable files; just
  112.        entering VPIC will give a menu of all viewable files in the current
  113.        directory. Shows whether VGA or EGA and modes supported in upper left
  114.        corner. If Path contains . or .., a filespec must be given (may contain
  115.        wildcards). Thus ..\*.* would give a menu of all viewable files in the
  116.        parent of the current directory.
  117.  
  118.     3. VPIC /@[path\]slidefile[.ext]  to do a slide show from commands in the
  119.        slidefile file. The default path is the current directory, and the
  120.        default extension is SLD. The commands are placed on seperate lines, and
  121.        consist of either a filename (GIF extension assumed) and optional display
  122.        mode, or a delay (viewing time) spec of the form  d n where n is the
  123.        desired viewing time in seconds. The default viewing time is 5 seconds if
  124.        no delay spec is given, and the default viewing mode is whatever would
  125.        look best. VPIC understands comments preceded by a semicolon, blank or
  126.        comment lines, and extra spaces. For example, the following is file
  127.        contents are understood by VPIC, but not recommended:
  128.  
  129.        file1  1    ;First file in slideshow. Use mode 1.
  130.           file2.pcx         ;This is a ZSoft filename with leading spaces
  131.           ;This is a comment line with leading spaces, next is a blank line.
  132.  
  133.        file3
  134.           d        15 ;Use 15 second delay. Has leading and separator spaces.
  135.  
  136.        To end a slide show after the current picture, press any key. [ESC] ends
  137.        it immediately.
  138.  
  139.        The mode requires a little further explanation. In the above slide file,
  140.        it says to use mode 1 with file1. Modes 1 thru 10 are the VGA (256 color)
  141.        modes, and modes 11 thru 20 are EGA (16 color) modes called out in the
  142.        configuration file. Most display boards only have a few of each type. The
  143.        Orchid Designer has 4 VGA modes and 4 EGA modes in the configuration file.
  144.  
  145.        The VGA modes are                  ║ The EGA modes are
  146.         1. 320x200x256     2. 640x350x256 ║ 11. 640x350x16     12. 640x480x16
  147.         3. 640x480x256     4. 800x600x256 ║ 13. 800x600x16     14. 1024x768x16
  148.  
  149.        Thus, the slide file says to show file1 in the 320x200x256 mode, and show
  150.        all the others in the default modes.
  151.  
  152.     4. VPIC /r shows the file and then returns to DOS (or a calling application
  153.        program) with the picture still on the screen in EGA/VGA. It is not
  154.        necessary to change the video mode between viewing each file, but it is
  155.        up to the calling program to reset text mode (mode 3) after all viewing
  156.        is done. The /e and /a switches are valid in this mode.
  157.  
  158.     5. VPIC /e forces and EGA display with VGA to use extended EGA modes.
  159.  
  160.     6. VPIC /c prints the current configuration of vpic. You can configure VPIC
  161.        to your display board using the CVPIC program and a text configuration
  162.        file describing your board.
  163.  
  164.     7. VPIC /a starts VPIC in auto resolution mode.
  165.  
  166.     8. VPIV /b causes VPIC to beep after a file has been fully decoded. Lets you
  167.        know when the viewing options are available. Doesn't beep in slide mode
  168.        or when using the /r option.
  169.  
  170.     9. VPIC /h allows VPIC to find and display hidden files. Great for those
  171.        R or X rated files you don't want to be normally accessible. This option
  172.        doesn't appear on the help screen.
  173.  
  174.     10. VPIC /?  gives a help screen.
  175.  
  176. CONFIGURING VPIC
  177. Running CVPIC.EXE
  178.     To configure VPIC, enter
  179.          CVPIC [config_file]
  180.     where the default configuration file is VPIC.CFG, which is for the Orchid
  181.     Designer VGA board with white menu text color. Generally, you will answer
  182.     [n] to the 1st question and [y] to the 2nd question.
  183.  
  184.     The default configuration of VPIC is for the Orchid Designer VGA card with
  185.     512K of display memory. If you have just EGA, you should use the EGA.CFG
  186.     file. If you have plain vanilla VGA (modes 10h, 12h, and 13h), use VGA.CFG.
  187.     The meaning of each field is given in the DISPLAY.BRD file, and the
  188.     appropriate portion of this file can be copied to a configuration file for
  189.     most boards using the Tseng, Paradise, Everex, ATI, Trident, C&T, Video 7,
  190.     Ahead (B chip), Zymos, or Genoa VGA chips. Sample configuration files are
  191.     enclosed in this arc file for some of the more popular boards, and can be
  192.     modified for your board.
  193.  
  194. CONFIGURATION FILE (.CFG)
  195. File Format
  196. CVPIC ignores leading spaces in the file, and all characters after a semicolon
  197. are considered comments and ignored. The .CFG file contains the following lines:
  198.  
  199.     1. Board name, which will appear in the VPIC menu. This is user defineable,
  200.        and could be something like 'Joe's VGA Board'.
  201.  
  202.     2. VGA CHIP set, and should be TSENG, PARADISE, EVEREX, ATI, C&T, VIDEO7,
  203.        TRIDENT, AHEADB, GENOA, or GENERIC presently; capitals are required.
  204.  
  205.     3. The number of 64K banks of display ram usable for 256 color VGA pics
  206.        (1 for standard VGA).
  207.  
  208.     4. Menu text color; 0 thru 7 corresponds to black, blue, green, aqua, red,
  209.        violet, brown, and white. For example, 4 would be red text.
  210.  
  211.     5 thru n. The following lines describe the modes supported by the board.
  212.       Each line is of the form: F1 F2 AX BX CX DX W H C  where:
  213.         *  F1 = VGA (256 color) mode flag.
  214.         *  F2 = 256K colors to choose from (as in mode 12h) flag.
  215.         *  AX,BX,CX,DX  register values used to set this mode. Preceeding the
  216.            numbers by 0x indicates hex; ie., 0x10 = 16.
  217.         *  W, H, C  are width, height, colors in this mode.
  218.       All the VGA (256 color) modes should be grouped first, followed by the EGA
  219.       (16 color) modes.
  220.  
  221. COMMANDS IN MENU MODE
  222. Keyboard Commands in Menu Mode
  223.  
  224. 1.  The [up], [down], [right], and [left] arrow keys move the cursor around the
  225.     menu of files. [PgDn/PgUp] goto next/previous page. Pressing a key goes to
  226.     next file starting with this character.
  227.  
  228. 2.  Pressing the [SPACEBAR] marks a file for viewing or slides, and moves to the
  229.     next file; it will also unmark a previously marked file.
  230.  
  231. 3.  Pressing [ENTER] will display the marked files in the order they were
  232.     marked. If no files were marked, pressing enter displays the file at the
  233.     cursor.
  234.  
  235. 4.  Pressing [F1] will bring up the help screen; any key will return to the
  236.     menu.
  237.  
  238. 5.  Pressing [F2] will do a slide show of marked files until a key is pressed.
  239.  
  240. 6.  Pressing [F3] will display the file size and colors on the next to last
  241.     line.
  242.  
  243. 7.  Pressing [F4] will toggle between VGA and EGA modes.
  244.  
  245. 8.  Pressing [F5/F6] will decrease/increase the default resolution for files
  246.     larger than 320x200 in VGA.
  247.  
  248. 9.  Pressing [F7] goes to LOCK, which forces the default resolution (above) no
  249.     matter what the file size. Pressing F7 again goes to AUTO, which
  250.     automatically selects the resolution to display the picture. Pressing F7
  251.     again goes back to to the normal default mode.
  252.  
  253. 10. Pressing [F8] toggles the wait mode, where VPIC waits for a keypress between
  254.     multiple images in a GIF file.
  255.  
  256. 11. [F9] prompts for a new path\filespec, and displays a menu of the files in
  257.     the new path meeting the filespec.
  258.  
  259.  
  260. 12. [Alt_X] prompts if you want to delete the file at the cursor. [Y] deletes
  261.     it, [N] doesn't, and all other keys are ignored.
  262.  
  263. 13. Pressing [ESC] ends the program and returns to DOS.
  264.  
  265. 14. Pressing [Ctrl-Break] or [Ctrl-C] will get you directly to DOS.
  266.  
  267. All other keys are ignored. If errors are encountered, an error message appears
  268. on the next to last line, and disappears when the cursor is moved. The menu
  269. title is the search spec.
  270.  
  271. KEYBOARD COMMANDS IN VIEWING MODE (except in slide mode)
  272.  
  273. 1.  The up/down arrow keys will scroll the picture if longer than the screen,
  274.     provided you have sufficient display memory. The [PgUp] and [PgDn] keys will
  275.     scroll by 10 lines. The Video 7 extended VGA boards do not supported writing
  276.     to non-displayed memory or scrolling pics larger than the screen, so this
  277.     function is disabled for these boards.
  278.  
  279. 2.  If the picture size is <= 1/2 the screen width, pressing [2] will give a
  280.     double size image (which may be scrollable) and pressing [1] will give the
  281.     normal size again. For VGA, the picture will be changed only in the
  282.     horizontal direction; this will unsquash some 320x400 pics so the aspect
  283.     ratio is correct.
  284.  
  285. 3.  Pressing [+] will increase the resolution (320x200 to 640x480, etc).
  286.  
  287. 4.  Pressing [-] will decrease the resolution; useful if 800x600 rolls.
  288.  
  289. 5.  Pressing [/] or [?] gives a help screen of commands available while viewing.
  290.  
  291.     Note: All the following conversion options check if the default filename is
  292.     present, and prompt for a new name if it is. They create a file on the
  293.     current drive and directory with the same dimensions as the file being
  294.     viewed, and let you know what is happening while the conversion proceeds. If
  295.     you screw up at the new filename prompt, hit [Ctrl-C] to escape immediately
  296.     to DOS; this will usually preserve a file you don't want to write over. The
  297.     safest bet is to view files in another directory, since the new file is
  298.     saved to the default directory, which is the drive and directory you ran
  299.     VPIC from. I put VPIC in my UTIL directory, and have my PATH set to include
  300.     UTIL, so I can run VPIC from any drive or directory.
  301.  
  302. 5.  Pressing [Z] will create a ZSoft (PC Paintbrush) file with the same filename
  303.     and extension PCX. The file will be in whatever mode you are currently using
  304.     (EGA or VGA). The VGA palette will be correct for the latest version of PC
  305.     Paintbrush, which saves a VGA palette in the file.
  306.  
  307. 6.  Pressing [P] will create a PC Paint or Pictor file. The default extension is
  308.     PIC, and for EGA it prompts for a PC Paint or Pictor file.
  309.  
  310. 7.  Pressing [G, I, M, U, <, or >] will create a GIF file on the default drive,
  311.     and prompt for a new filename-the default extension is GIF. [G] is for
  312.     non-interlaced, and [I] is for interlaced, [M] is for mirror image, [U] is
  313.     for upside down (inverted), [<] is rotate image 90 degrees CCW, and [>] is
  314.     rotate image 90 degrees CW.
  315.  
  316. 8.  Pressing [R] will create a ColoRix file with the same filename and extension
  317.     SCx where x is a function of the screen size. If in EGA, will prompt if you
  318.     want an EGA Paint or ColoRix file.
  319.  
  320. 9.  Pressing [T] will create a Targa 16 file with the same filename and
  321.     extension TGA.
  322.  
  323. 10. Pressing [C] will create a Dr. Halo CUT file with the same filename and
  324.     extension CUT. A palette file (.PAL) will also be created.
  325.  
  326. 11. Pressing [A] will 'animate' a picture by rotating the palette periodically.
  327.     This is especially effective on fractals, where large areas tend to be the
  328.     same color. Pressing [SPACEBAR] will pause the palette rotation, and
  329.     pressing [ENTER] will terminate it and return to the command mode. Thus, by
  330.     waiting for an especially nice pattern and then pressing [ENTER], the
  331.     pattern can be written to a file using the above file save commands.
  332.     Pressing [ESC] will return to the menu.
  333.  
  334. 12. [Alt_F] displays current filename momentarily.
  335.  
  336. 13. Pressing [Alt-X] will prompt you to delete the current file. If you answer
  337.     [y] it will be deleted, [n] it won't, and all other keys are ignored.
  338.  
  339. 14. Pressing [ENTER] will return to menu or DOS, or show next file for marked
  340.     menu mode.
  341.  
  342. 15. Pressing [ESC] will end the display and return to the menu.
  343.  
  344. 16. The following keys control the picture tone as follows:
  345.     [F1]       Decrease red content of picture.
  346.     [F2]       Increase red content of picture.
  347.     [F3]       Decrease green content of picture.
  348.     [F4]       Increase green content of picture.
  349.     [F5]       Decrease blue content of picture.
  350.     [F6]       Increase blue content of picture.
  351.     [F7]       Decrease contrast of picture (VGA only).
  352.     [F8]       Increase contrast of picture (VGA only).
  353.     [F9]       Decrease brightness of picture (VGA only).
  354.     [F10]      Increase brightness of picture (VGA only).
  355.     [Alt-F10]  Restore original palette after you thoroughly mess up the colors.
  356.     [V]        Reverses the current palette (16/64 EGA only); interesting effect
  357.                especially for black & white images.
  358.  
  359.     After a little experimenting, a 'washed out' VGA picture can be greatly
  360.     improved by using [F1-F10] , and you can always start over by using
  361.     [Alt-F10]. To retain a black background in a VGA picture, the brightness
  362.     should be decreased when the contrast is decreased. If you have really
  363.     improved the picture, you can then save it any of the supported formats.
  364.     VPIC will prompt you if the file exists in the default directory, and you
  365.     have the option of overwriting it or giving a new filename. This works
  366.     really well with images created on the Sharp, Howtec or Targa scanners.
  367.  
  368. All other keys are ignored. Pressing [Ctrl-Break] or [Ctrl-C] will go to DOS.
  369.  
  370. DECODING OTHER FILE FORMATS
  371.  
  372. The file decoding works in whatever mode you are presently using (VGA or EGA)
  373. and at the resolution you are viewing with. This way, if you choose to save to
  374. another file format, it will be in the same mode you are viewing with (EGA,
  375. MCGA, VGA, or SuperVGA). The decoding for other than GIF is not as fast as could
  376. be done, but the added versatility more than compensates for this. For example,
  377. EGA PCX files can be very quickly decoded to EGA, but are in the wrong format
  378. for VGA, and considerable manipulation is required to produce a VGA image. For
  379. all formats except GIF, the method of viewing is to decode to a buffer for a
  380. single line at 1 byte/pixel, then copy this line to the display in whatever mode
  381. you are using. This is a compromise for most file formats, since they are geared
  382. to EGA or VGA, and display time suffers, but it makes the code much simpler.
  383. Besides, the other formats are supported mainly to allow easy conversion to GIF,
  384. which is the preferred format for storage, since it gives the smallest file
  385. size. This will also make EGA <-> VGA conversions possible, which is not
  386. supported by most paint programs.
  387.  
  388. The TARGA viewing uses a fixed palette to speed up the decoding, so the picture
  389. does not have what could be called good color. It is mainly there to verify that
  390. an image is present. Use Image Tools TGAPIC to get an equivalent GIF picture
  391. with excellent color rendition.
  392.  
  393. ADDED FEATURES
  394.  
  395. VPIC is meant to fill a void not covered by paint programs, and to allow very
  396. convenient file viewing and conversion between file formats. It is not meant to
  397. compete with the paint programs, and in general if a paint program does
  398. something well (such as resize a picture to fill the screen or cut out a portion
  399. of the picture), VPIC will not attempt to do it. On the other hand, if you think
  400. of a feature which would enhance VPIC, please let me know, and I will consider
  401. adding it to the program.
  402.  
  403. KNOWN PROBLEMS
  404. 1.  The ATI 1024x768x16 mode uses 2 pixels/byte, unlike any other VGA or EGA
  405.     mode. It will not be supported since it is for one card only, and would
  406.     complicate the VPIC code considerably.
  407.  
  408. IMPORTANT: Support for boards with other VGA chips: VPIC will support other VGA
  409. boards with extended VGA modes if the owners will write me with the details of
  410. how to set the various modes, and how to bank switch the display memory. Of
  411. course, if you also register VPIC I will give the problem more consideration.
  412.  
  413. The bank switching Info for some of the 'not so common' VGA boards is hard to
  414. come by, and is needed if VPIC is to support extended VGA modes for these
  415. boards. A VGA board needs to bank switch for extended modes because there is
  416. only a 64K window in the PC address space for graphics memory (from A000 to
  417. AFFF), and extended modes require more than 64K of memory; 640x480x256 requires
  418. 307200 bytes of memory, or about 4.7 'banks of 64K'. Bank switching is a means
  419. of mapping the (A000 to AFFF) graphics address space into 64K chunks of actual
  420. display memory. The method of bank switching is determined by the VGA chip used
  421. on the display board, and what I need is info on how to switch banks and how to
  422. set the various modes the board supports. The use of a display board would also
  423. help, since it will allow me to test the program with that display board instead
  424. of 'programming blind'.
  425.  
  426. SHAREWARE
  427.            
  428. VPIC is user supported software for the IBM PC.  VPIC is made available for a
  429. free ten day trial period.  If you find this program useful,  you may license
  430. the program for non-commercial use on one machine by sending $15.00 to:
  431.  
  432.      Bob Montgomery
  433.      132 Parsons Road
  434.      Longwood, Fl 32779
  435.  
  436. You may use all updates free once you have registered VPIC. If you are already
  437. registered for VGIF (any version) you may use VPIC for an additional $5. I do
  438. not send updates, but they are available on most graphics oriented BBS's, and at
  439. Compuserve in DL3 of the PICS forum. As an alternative, you can get VPIC from me
  440. by sending a $15 registration fee plus $4 postage and handling ($19 total) or $9
  441. for upgrading VGIF to VPIC. As a bonus; I will fill the rest of the disk with
  442. good pictures. Please specify 360K or 1.2Meg disk (I don't have 3.5" disks) and
  443. EGA, VGA, or SuperVGA (640x480x256, etc) so I'll know what pictures to send.
  444.  
  445. VPIC may be licensed for commercial use on up to 10 computers at a single site
  446. or set of contiguous sites for $75.00. A commercial site is defined as a
  447. business or individual using VPIC as part of his business activities.
  448.  
  449. Clubs, schools,  universities and other organizations may license VPIC for
  450. $45.00 per 6 copies.
  451.  
  452. If you use VPIC as part of a commercial demo or as a utility for another
  453. application you must obtain a license from Bob Montgomery, and pay a $1/copy
  454. royalty for each copy shipped.
  455.  
  456. All other rights are reserved.
  457.  
  458. VPIC may not be changed or modified in any way  except by the author.  VPIC may
  459. be freely distributed for the ten day trial period as long as it remains in its
  460. complete form. Regardless of how the copy is obtained, it is requested that
  461. all users comply with the licensing agreement.
  462.  
  463. All warranties are disclaimed, including damage to hardware and/or software from
  464. use of this product. In no event will I be liable to you for any damages,
  465. including lost profits, lost savings or other incidental or consequential
  466. damages arising out of your use or inability to use the program, or any other
  467. claim by any other party.
  468.  
  469. Contact Bob Montgomery for:
  470.     1. Special versions of VPIC tailored to your application.
  471.     2. Other graphics oriented applications (file conversion, etc).
  472.  
  473. Any suggestions or comments should be mailed directly to me. The following are
  474. graphics oriented BBS's:
  475.  
  476. Compuserve PICS Forum (My ID is 73357,3140)
  477. Tsunami BBS, Half Moon Bay, Calif. (415) 726-2726
  478. PC Rockland, S. Nyack, NY (914) 353-2538 [Freeboard] 1.6 Gbyte Online
  479. Megabyte Image Center     (918) 492-0087 1200/2400/9600 baud USR HST
  480. Event Horizons, Portland OR  (503) 777-1578
  481.  
  482.                 APPENDIX A - REVISION HISTORY
  483.  
  484. History of the original VGIF program.
  485.  
  486. VGIF ver 1.1   1-13-88
  487.     *  Added test for EGA adapter.
  488.     *  Fixed menu colors.
  489.     *  Allow [ESC]ape from marked file viewing.
  490.     *  Added [Ctrl-Break] or [Ctrl-C] exit to DOS anywhere.
  491.     *  Added 'disk full' notification when creating picture file.
  492.     *  Added critical error handler for 'drive not ready' errors.
  493.  
  494. VGIF ver 1.2   1-15-88
  495.     *  Changed name to VGIF.
  496.     *  Slide mode now ignores the end of file mark in slide file, and any key
  497.        will now end slide mode.
  498.     *  Added slides to menu mode if [S] pressed-shows marked files as slides
  499.        until a key is pressed.
  500.  
  501. VGIF ver 1.3   1-21-88
  502.     *  Added better error checking to GIF file decoding. Notifies if bad GIF
  503.        file.
  504.     *  Fixed error reporting bug in single file mode.
  505.  
  506. VGIF ver 1.4   2-9-88
  507.     *  Added instantaneous screen update in slide mode from menu or command
  508.        (SLD) file.
  509.     *  Added the /r option which allows an application program to call VGIF
  510.        to view a file and then regain control.
  511.  
  512. VGIF ver 1.5   3-2-88
  513.     *  Added [PgUp] and [PgDn] keys to scroll by 10 lines at a time.
  514.     *  Added a max pic height of 819 lines so EGA buffer would not overflow.
  515.     *  Greatly improved color reproduction for 'problem' pictures (such as FROG,
  516.        ARCHIT, PUFFIN, VEGTABLE, etc). These pictures typically have more than
  517.        16 colors. Selected colors on basis of frequency of use where possible.
  518.     *  Fixed following bugs:
  519.        1.  Line buffer would overflow into other variables if pic width was
  520.            > 640 pixels, causing strange results.
  521.        2.  Didn't recognize the end of image marker correctly. This would
  522.            cause the palette to change when the image was done.
  523.  
  524. VGIF ver 1.6   3-11-88
  525.     *  Fixed a bug in handling multiple images. First noticed when viewing
  526.        WHIMMI.GIF.
  527.     *  Use same palette for multiple images, and get best color match.
  528.     *  Added [L] and [S] commands while viewing a picture. These allow you to
  529.        create full size paint program files.
  530.  
  531. VGIF ver 2.0   3-26-88
  532.     *  Added the ability to view long GIF files ( > 819 lines) without
  533.        wrapping the display.
  534.     *  Added the [C] and [H] (Dr. Halo) file creation option while viewing.
  535.     *  Added the [L] and [S] prefixes to paint program file creation commands
  536.        while viewing to save long pic files.
  537.     *  Added the Info and Help commands in menu mode.
  538.     *  Deleted the # requirement to specify a directory from the command line.
  539.        The program now looks for a directory which meets the spec on the command
  540.        line. If none is found, it assumes the spec is for a single file.
  541.     *  Added [F1 - F10], and [V] palette control keys while viewing a file.
  542.  
  543. VGIF ver 3.0   5-2-88
  544.     *  Added VGA capability, and support for Tseng extended VGA modes
  545.        (640x480x256 and 800x600x256).
  546.     *  Determines and displays available modes for your system.
  547.  
  548. VGIF ver 3.1   5-11-88
  549.     *  Fixed a bug in dir/file spec from command line. Now accepts
  550.        VGIF d:\dir\*.gif or VGIF d:*.gif, although the [\]*.gif is not required,
  551.        since this is the default filespec.
  552.  
  553.     *  Fixed a bug in forced EGA when doing slides, where an interlaced pic
  554.        displayed at double size would have a 'venetian blind' effect.
  555.  
  556.     *  Changed so pics larger than 320x200 are shown in 640x480 VGA; can get
  557.        800x600 by pressing + key.
  558.  
  559.     *  Note that EGA mode on the Orchid VGA card appears squashed vertically.
  560.        This is normal, and cannot be corrected without reprograming the
  561.        parameters for mode 16, which would change the vertical retrace
  562.        frequency, and probably cause your monitor to roll.
  563.  
  564. VGIF ver 3.2   5-26-88
  565.     *  Added 500 file menu, and assy language text screen updating; now
  566.        super fast.
  567.     *  Fixed a bug which caused the Vega VGA card to hang up.
  568.  
  569. VGIF ver 3.3   6-9-88
  570.     *  Added user spec of video mode for non-Orchid VGA boards.
  571.     *  Added GIF and Pictor save of current screen for VGA/EGA pics.
  572.     *  Added prompts to screen for conversion to other formats.
  573.     *  Removed conversion starting at first visible row-now does whole pic.
  574.  
  575. VGIF ver 3.4   6-23-88
  576.     *  Fixed a bug in the GIF save routine.
  577.     *  Added color, contrast, and brightness adjustment in VGA.
  578.     *  Fixed a bug in menu mode for marked files.
  579.     *  Added /n command line option to stay in 640x480x256 for VGA pics.
  580.  
  581. VGIF ver 3.5   7-14-88
  582.     *  Fixed some misc minor bugs.
  583.     *  Added increase/decrease resolution command while viewing 16 color VGA
  584.        pics (using the /e option).
  585.     *  Added slide mode for VGA.
  586.     *  Added lock mode option to start pics from the menu in a desired mode.
  587.  
  588. VGIF ver 3.6   8-8-88
  589.     *  Fixed some bugs.
  590.     *  Fixed EGA slide show.
  591.  
  592. VGIF ver 3.6A  9-10-88
  593.     *  Fixed 1024x768x16 mode.
  594.  
  595. VGIF ver 4.0   10-20-89
  596.     *  This was a beta test version which got out. It had lots of bugs, which
  597.        were fixed in VPIC.
  598.  
  599. History of VPIC
  600.  
  601. VPIC ver 1.0 & 1.1 12-27-88
  602.     *     Beta test versions.
  603.  
  604. VPIC ver 1.2   12-27-88
  605.     *  Added configuration option for various display boards.
  606.     *  Added VGA file conversion for all previous Paint programs supported.
  607.     *  Added Deluxe Paint 2 conversion.
  608.     *  Added Targa 16 file conversion.
  609.     *  Added EGA/VGA toggle from menu.
  610.     *  Added default resolution select, and Mode Lock key from menu.
  611.     *  Added WAIT option to pause between images of multi-image files.
  612.     *  Added MAC, PCX, & Colorix file viewing capability. Others will be
  613.        added in later versions.
  614.     *  Added 'animate' while viewing.
  615.     *  Fixed VGA 16 color palette.
  616.  
  617. VPIC ver 1.2A   1-4-89
  618.     *  Fixed MAC -> GIF conversion
  619.     *  Fixed CVPIC for ^Z as EOF char.
  620.     *  Fixed 16 color palette for other file formats if VGA 16 colors.
  621.  
  622. VPIC ver 1.3    2-2-89
  623.     *  Fixed cursor in menu.
  624.     *  Fixed 'lock up' if GIF header size wrong (640x350 labeled 350x640).
  625.     *  Now pauses pic if file error and waits for key press-can see partial
  626.        pics in bad files this way.
  627.     *  Shows GIFs with MAC headers (1st 128 bytes are not GIF standard);
  628.        if F3 (info) pressed shows if file has a MAC header.
  629.     *  Fixed so views and saves new ZSoft VGA PCX files which include
  630.        palette at end of file. Still doesn't load PAL files.
  631.     *  Fixed ZSoft file displays and saves.
  632.     *  Added Wait toggle (F8) which pauses between images in multi-image
  633.        GIFs, and allows conversion to other filetypes.
  634.     *  Made MACs black on bright white instead of gray.
  635.  
  636. VPIC ver 1.4   3-15-89
  637.     *  Added printout of filename while decoding except in slide mode.
  638.     *  Added help while viewing a picture; press [?] or [/].
  639.     *  Added delete a file option [X] (with query) while viewing.
  640.     *  Added hit [ESC] while decoding to abort picture.
  641.  
  642. VPIC ver 1.5   3-23-89
  643.     *  Fixed bug in 'Escape while decoding' which would hang system.
  644.     *  Fixed EGA x2 display for interlaced files.
  645.     *  Fixed problem with saving a pic after scrolling.
  646.     *  Fixed palette in animate, so save will use current palette.
  647.     *  Fixed problem with bad files in slide mode that would hang computer.
  648.     *  Fixed error display in /@ slide mode and single file mode.
  649.  
  650. VPIC ver 1.6   4-5-89
  651.     *  Fixed bugs in slide show from command file. Added comments.
  652.     *  Added resolution option for each picture in slide command file.
  653.     *  Fixed miscellaneous minor bugs.
  654.     *  Added configurable menu color.
  655.  
  656. VPIC ver 1.7   6-13-89
  657.     *  Added Trident chip set support (for Maxxon and Logix VGA boards
  658.        and maybe the ATI board).
  659.     *  Fixed a few bugs concerned with putting & getting lines from the
  660.        display screen.
  661.     *  Fixed problem with Ctrl Z at end of slide definition file.
  662.  
  663. VPIC ver 1.8  6-28-89
  664.     *  Added EGA Paint viewing/conversion.
  665.     *  Fixed conversion to 800x600 ColoRIX file.
  666.     *  Fixed other minor bugs.
  667.  
  668. VPIC ver 1.9  7-19-89
  669.     *  Added inverted, mirrored, and rotated GIF saves.
  670.     *  Fixed a bug in the Dr Halo CUT file creation.
  671.     *  Added menu updating after file creation or deletion.
  672.     *  Added new path spec feature from menu with [F9] key.
  673.  
  674. VPIC ver 2.0  8-6-89
  675.     *  Added Pictor/PC Paint PIC, Dr. Halo CUT, Deluxe Paint LBM, and
  676.        Targa 16 or 24 file viewing capability.
  677.     *  Fixed a bug in the palette selection for EGA.
  678.     *  Fixed a bug which would not show VGA for the plain vanilla VGA config.
  679.     *  Fixed a bug in the ZSoft PCX display for extended EGA modes.
  680.     *  Added Auto resolution option and switch from the menu [F7].
  681.     *  Made cursor stay fixed when files are created or deleted.
  682.     *  Added Chips & Technology support. (VPIC 2.0A)
  683.     *  Fixed ZSoft save at higher screen resolution than pic. (VPIC 2.0B)
  684.  
  685. VPIC ver 2.1   9-5-89
  686.     *  Fixed a bug in LBM viewing
  687.     *  Added ColoRIX 16 color SCR and SCP view/create.
  688.     *  Speeded up GIF decoding about 50%.
  689.  
  690. VPIC ver 2.1A  9-10-89
  691.     *  Fixed a memory allocation problem for slides.
  692.     *  Made small increase in speed.
  693.     *  Fixed directory callout (*.PIC, etc).
  694.     *  Re-enabled [ESC] for GIF viewing.
  695.     *  Fixed Chip & Tech bank switching routine.
  696.     *  Fixed Deluxe Paint II (LBM) file creation.
  697.  
  698. VPIC ver 2.2  10-23-89
  699.     *  Fixed problem in new path command ([F9] from menu).
  700.     *  Fixed intermittent GIF decode problem.
  701.     *  Program now tells if GIF image and screen sizes conflict.
  702.     *  Menu now correctly displays file sizes larger than 1 Mbyte.
  703.     *  Now lists & displays Electronic Arts IFF files (same as LBM).
  704.  
  705. VPIC ver 2.3  12-13-89
  706.     *  Fixed C&T bank switching.
  707.     *  Added Everex 678, Ahead (B chip), and Genoa 6400 support.
  708.     *  Fixed bugs in GIF and Pictor decoder.
  709.  
  710. VPIC ver 2.4  12-28-89
  711.     * Fixed bug in GIF decoder for very wide pics.
  712.     * Fixed palette for many file types.
  713.     * Fixed slide mode from menu.
  714.  
  715. VPIC ver 2.5  1-28-90
  716.     * Fixed single file and /r modes.
  717.     * Fixed Pictor viewing for B&W pics.
  718.     * Fixed MAC header interpertation problem.
  719.     * Fixed memory clearing for pictures longer than the screen.
  720.     * Added F10 to menu to display current path. Menu no longer shows
  721.       complete path (only filespec) to avoid clutter with long paths.
  722.     * Deleted path from filename display when showing picture.
  723.     * Added SCY conversion for ColoRIX.
  724.     * Added Zymos VGA chip support.
  725.     * Corrected CVPIC to allow more than 9 banks in config file.
  726.  
  727. VPIC ver 2.6  1-28-90
  728.     * Fixed palette for 2 color GIFs.
  729.     * Fixed SCU display in 1024x768x16 mode.
  730.     * Fixed Pictor EGA and ColoRIX EGA slide viewing.
  731.  
  732. VPIC ver 2.7  3-17-90
  733.     * Fixed GIF bug and palette for files with local color maps.
  734.     * Added /b command line option to beep after a picture is decoded except
  735.       in slide modes.
  736.     * Added Alt_F command while viewing a picture to momentarily display the
  737.       file name.
  738.     * Fixed Targa viewing for all sizes; now handles RLE images too.
  739.  
  740. VPIC ver 2.8  3-27-90
  741.     * Added /h command line option to find hidden files.
  742.     * Changed menu display to allow up to 8 modes for VGA or EGA.
  743.     * Fixed palette in Dr. Halo CUT files.
  744.     * Added Tseng 4000 chip support.
  745.