home *** CD-ROM | disk | FTP | other *** search
/ 1st Canadian Shareware Disc / 1st_Canadian_Shareware_Disc_1991.ISO / graphics / vpic41 / vpic.doc < prev    next >
Text File  |  1991-03-27  |  46KB  |  920 lines

  1.                          VPIC USERS MANUAL
  2.                A Picture File Viewing/Conversion Program
  3.         (C) Copyright 1990 Bob Montgomery, All Rights Reserved
  4.                         by Bob Montgomery
  5.                           CIS 73357,3140
  6.  
  7. INTRODUCTION
  8. Background
  9.  
  10. The original program was called VGIF, reflecting its ability to view only GIF
  11. files. When the program evolved to include other paint file formats, its name
  12. was changed to VPIC. VPIC ver 4.0 and up implements all of the GIF89a features.
  13. See the revision history in Appendix A for latest additions and bug fixes.
  14.  
  15. Print VPIC.TXT at 17 chars/inch and 8 lines/inch for a handy reference card.
  16. Look at the section titled 'How Vpic Operates' for an explanation of the
  17. differences between VPIC and other viewers, and the advantages and
  18. disadvantages of both types.
  19.  
  20. IMPORTANT: VPIC requires DOS 2.0 or up to run from current directory, or DOS 3.0
  21. up to run from anywhere. You must configure VPIC for your graphics board using
  22. CVPIC or CONFIG (unless you have an Orchid Designer VGA with 512 K). The WHICHVGA
  23. program will try to identify your VGA chip and amount of display memory.
  24. See CONFIG.DOC.
  25.  
  26. The Graphics Interchange Format (GIF) is a Service Mark owned by Compuserve
  27. Incorporated. For further information, please contact:
  28.     Compuserve incorporated, Graphics Technology Department,
  29.     5000 Arlington Center Boulevard, Columbus, Ohio 43220, USA
  30.  
  31. GENERAL FEATURES
  32. VPIC is a file viewer for EGA, MCGA, VGA and SuperVGA, and has the following
  33. features:
  34.   *  Views the following file formats in EGA, MCGA, VGA, or SuperVGA:
  35.      1. Dr. Halo CUT files (with PAL if present). Not Dr. Halo PIC files, which
  36.         are display adapter specific.
  37.      2. GIF87a and GIF89a files; saves to GIF87a format only since GIF89a stuff
  38.         is mainly animation and text handling enhancements.
  39.      3. Deluxe Paint LBM (or IFF) files, regular and enhanced.
  40.      4. MAC files, display only.
  41.      5. Pictor/PC Paint PIC files.
  42.      6. ZSoft PCX files (including 256 color files).
  43.      7. ColorRIX/EGA Paint SCx files, uncompressed only. RIX wont tell anyone
  44.         his compression algorythm, so compressed files can't be done. Use
  45.         RIXLATE to uncompress SCx files that are compressed.
  46.      8. Targa 8 thru 32 TGA files, comressed or uncompressed. Also uncompresses
  47.         Targa files that are compressed (e option while viewing).
  48.      9. Binary Image Files (BIF) from B&W image capture boards.
  49.     10. Microsoft Windows 3.0 Bitmap BMP files, compressed or uncompressed. The
  50.         compression algorythm is inefficient, so for pictures without much
  51.         repetition, uncompressed files are generrally smaller than compressed
  52.         files.
  53.  
  54.   *  Saves current image to any of the above formats (except MAC, FRA, BIF, and
  55.      IFF) in the current mode (EGA, MCGA, or VGA). Also uncompresses TGA files,
  56.      and converts a color picture to a 64 grey shade image (in VGA mode).
  57.  
  58.   *  Saves current image to GIF in regular, interlaced, inverted, mirrored,
  59.      or rotated 90 degrees CW or CCW. Great for scans.
  60.  
  61.   *  Configurable for display boards using Tseng3000 and Tseng4000, Paradise,
  62.      Everex, ATI, Trident, C&T, Video 7, Genoa, Zymos, or Ahead (B) VGA chips
  63.      (see configuring VPIC below); the Ahead A chip used on some early boards is
  64.      not supported. Configuration program automates the configuration process.
  65.  
  66.   *  /R option allows an application program to show a file and regain control
  67.      without changing the screen mode.
  68.  
  69.   *  Viewing mode can be manually selected or auto selected from menu.
  70.  
  71.   *  Allows you to specifiy a new path from the menu with the [F9] key. Also
  72.      updates menu when files are added or deleted.
  73.  
  74.   *  Very fast GIF decoding.
  75.  
  76.   MENU FEATURES:
  77.   *  Mark/unmark files for viewing with [SPACEBAR].
  78.   *  Menu text color setable in configuration file.
  79.   *  [F1] gives help.
  80.   *  [F2] shows marked files like a slideshow.
  81.   *  [F3] gives file size and colors.
  82.   *  [F4] toggles between EGA and VGA mode.
  83.   *  [F5/F6] decrease/increase default resolution.
  84.   *  [F7] Locks current resolution, or selects auto resolution mode.
  85.   *  [F8] Makes multiple GIF images pause for a keypress.
  86.   *  [F9] prompts for new path.
  87.   *  [F10] shows current path for files.
  88.   *  Shows marked files singly or like a slide show.
  89.   *  Handles up to 500 files.
  90. ==============================================================================
  91.   VIEWING FEATURES
  92.   *  Help while viewing with / or ? key.
  93.   *  Shows filename while decoding, and [ESC] aborts decoding.
  94.   *  Allows deleting a file (with query) with the [Alt-X] key.
  95.   *  Allows adjustment of picture color and VGA contrast and brightness.
  96.   *  Allows saving the current image as a GIF (many options), PC Paint or
  97.      Pictor, ZSoft PCX, ColoRIX or EGA Paint, Targa 16, Dr. Halo CUT, and
  98.      Deluxe Paint II formats in EGA, MCGA, or VGA.
  99. =============================================================================
  100. RUNNING VPIC
  101. Command Format: vpic [[path]filespec][/a][/e][/r][/c][/w][/?].
  102.   *  The default path is the current directory, and the default extensions are
  103.      CUT, GIF, IFF, LBM, MAC, PIC, PCX, SCx, and TGA.
  104.   *  The /a option starts VPIC in Auto resolution select mode.
  105.   *  The /b option causes VPIC to beep after displaying a file except in slide
  106.      mode or /r.
  107.   *  The /c option gives the current configuration; see 6 below.
  108.   *  The /e option forces EGA mode, to use extended 16 color modes; see 5 below.
  109.   *  The /h option allows the viewing of hidden files.
  110.   *  The /r option returns control to a calling program; see 4 below.
  111.   *  The /w option wait for a keypress after each image in a multi_image GIF
  112.      file.
  113.   *  The /? option gives a help screen.
  114.   *  If filespec is a filename, the single file will be shown (the default
  115.      extension is GIF).
  116.   *  If path\filespec is a directory, a menu of all viewable files in that
  117.      directory will appear. Otherwise all files meeting the filespec will
  118.      appear. For example, [vpic d:\pics\*.pcx] would give a menu of all PCX
  119.      files in the PICS directory of drive D, while [vpic d:\pics] would give a
  120.      menu of all viewable files in the PICS directory of drive D.
  121.   *  Options and filespec may be entered in any order.
  122.  
  123. EXAMPLES OF VPIC COMMANDS
  124.     1. VPIC [path\]filename[.ext] shows the file specified. The default path is
  125.        the current directory, and the default extension is GIF.
  126.  
  127.     2. VPIC [path\][filespec] to get a menu of all files in the specified path
  128.        meeting filespec (may contain wildcards). The default path is the current
  129.        directory, and the default filespec is any of the viewable files; just
  130.        entering VPIC will give a menu of all viewable files in the current
  131.        directory. Shows whether VGA or EGA and modes supported in upper left
  132.        corner. If Path contains . or .., a filespec must be given (may contain
  133.        wildcards). Thus ..\*.* would give a menu of all viewable files in the
  134.        parent of the current directory.
  135.  
  136.     3. VPIC /@[path\]slidefile[.ext]  to do a slide show from commands in a
  137.        slidefile. The default path is the current directory, and the default
  138.        slidefile extension is SLD. The commands are placed on seperate lines,
  139.        and consist of either:
  140.        a. A filename (GIF extension assumed) and optional:
  141.           1. Display mode (number) and/or
  142.           2. Animate command (a followed by optional number with no spaces).
  143.        b. A delay (viewing time) spec of the form  d n (space required) where n
  144.           is the desired viewing time in seconds.
  145.  
  146.        The maximum number of files is 100. The number following the optional 'a'
  147.        is the number of vertical retraces between animation steps. The default
  148.        value is 8 (if no number follows the 'a'). The mode is explained below.
  149.  
  150.        The default viewing time is 5 seconds if no delay spec is given; a delay
  151.        spec applies to all files following in the slide file until changed. The
  152.        first slide is not delayed the first time it is shown. The default
  153.        viewing mode is whatever would look best.
  154.  
  155.        VPIC understands comments preceded by a semicolon, blank or comment
  156.        lines, and extra spaces. For example, the following slide file contents
  157.        are understood by VPIC, but not recommended:
  158.  
  159.        d 20         ;Delay for file1.gif & file2.pcx is 20 seconds.
  160.        file1  1     ;First file in slideshow. File1.gif using mode 1.
  161.           file2.pcx ;This is a ZSoft filename with leading spaces.
  162.           ;This is a comment line with leading spaces, next is a blank line.
  163.  
  164.        d 10         ;File3 is delayed 10 seconds.
  165.        file3 a30    ;Show file 3, animate at 1 shift every 30 vertical retraces.
  166.           d      15 ;15 second delay file4.gif. Has leading & separator spaces.
  167.        file4        ;Show file4.gif, then do a 20 second delay for file1.gif.
  168.  
  169.        To end a slide show after the current picture, press any key. [ESC] ends
  170.        it immediately.
  171.  
  172.        The mode requires a little further explanation. In the above slide file,
  173.        it says to use mode 1 with file1. Modes 1 thru 10 are the VGA (256 color)
  174.        modes, and modes 11 thru 20 are EGA (16 color) modes called out in the
  175.        configuration file. Most display boards only have a few of each type. The
  176.        Orchid Designer has 4 VGA modes and 4 EGA modes in the configuration file.
  177.  
  178.        The VGA modes are                  ║ The EGA modes are
  179.         1. 320x200x256     2. 640x350x256 ║ 11. 640x350x16     12. 640x480x16
  180.         3. 640x480x256     4. 800x600x256 ║ 13. 800x600x16     14. 1024x768x16
  181.  
  182.        Thus, the slide file says to show file1 in the 320x200x256 mode, and show
  183.        all the others in the default modes (whatever looks best). The CONFIG
  184.        program lists the modes and their corresponding mode numbers for you if
  185.        you highlight the configuration file for your board.
  186.  
  187.     4. VPIC /r shows the file and then returns to DOS (or a calling application
  188.        program) with the picture still on the screen in EGA/VGA. It is not
  189.        necessary to change the video mode between viewing each file, but it is
  190.        up to the calling program to reset text mode (mode 3) after all viewing
  191.        is done. The /e and /a switches are valid in this mode.
  192.  
  193.     5. VPIC /e forces and EGA display with VGA to use extended EGA modes.
  194.  
  195.     6. VPIC /c prints the current configuration of vpic. You can configure VPIC
  196.        to your display board using the CVPIC program and a text configuration
  197.        file describing your board.
  198.  
  199.     7. VPIC /a starts VPIC in auto resolution mode.
  200.  
  201.     8. VPIV /b causes VPIC to beep after a file has been fully decoded. Lets you
  202.        know when the viewing options are available. Doesn't beep in slide mode
  203.        or when using the /r option.
  204.  
  205.     9. VPIC /h allows VPIC to find and display hidden files. Great for those
  206.        R or X rated files you don't want to be normally accessible. This option
  207.        doesn't appear on the help screen.
  208.  
  209.     10. VPIC /?  gives a help screen.
  210.  
  211. COMMANDS IN MENU MODE
  212. Keyboard Commands in Menu Mode
  213.  
  214. 1.  The [up], [down], [right], and [left] arrow keys move the cursor around the
  215.     menu of files. [PgDn/PgUp] goto next/previous page. Pressing a key goes to
  216.     next file starting with this character.
  217.  
  218. 2.  Pressing the [SPACEBAR] marks a file for viewing or slides, and moves to the
  219.     next file; it will also unmark a previously marked file.
  220.  
  221. 3.  Pressing [ENTER] will display the marked files in the order they were
  222.     marked. If no files were marked, pressing enter displays the file at the
  223.     cursor.
  224.  
  225. 4.  Pressing [F1] will bring up the help screen; any key will return to the
  226.     menu.
  227.  
  228. 5.  Pressing [F2] will do a slide show of marked files until a key is pressed.
  229.  
  230. 6.  Pressing [F3] will display the file size and colors on the next to last
  231.     line.
  232.  
  233. 7.  Pressing [F4] will toggle between VGA and EGA modes.
  234.  
  235. 8.  Pressing [F5/F6] will decrease/increase the default resolution for files
  236.     larger than 320x200 in VGA.
  237.  
  238. 9.  Pressing [F7] goes to LOCK, which forces the default resolution (above) no
  239.     matter what the file size. Pressing F7 again goes to AUTO, which
  240.     automatically selects the resolution to display the picture. Pressing F7
  241.     again goes back to to the normal default mode.
  242.  
  243. 10. Pressing [F8] toggles the wait mode, where VPIC waits for a keypress between
  244.     multiple images in a GIF file.
  245.  
  246. 11. [F9] prompts for a new path\filespec, and displays a menu of the files in
  247.     the new path meeting the filespec.
  248.  
  249.  
  250. 12. [Alt_X] prompts if you want to delete the file at the cursor. [Y] deletes
  251.     it, [N] or ESC doesn't, and all other keys are ignored.
  252.  
  253. 13. Pressing [ESC] ends the program and returns to DOS.
  254.  
  255. 14. Pressing [Ctrl-Break] or [Ctrl-C] will get you directly to DOS.
  256.  
  257. All other keys are ignored. If errors are encountered, an error message appears
  258. on the next to last line, and disappears when the cursor is moved. The menu
  259. title is the search spec.
  260.  
  261. KEYBOARD COMMANDS IN VIEWING MODE (except in slide mode)
  262.  
  263. *   The up/down arrow keys will scroll the picture if longer than the screen,
  264.     provided you have sufficient display memory. The [PgUp] and [PgDn] keys will
  265.     scroll by 10 lines. The Video 7 extended VGA boards do not supported writing
  266.     to non-displayed memory or scrolling pics larger than the screen, so this
  267.     function is disabled for these boards.
  268.  
  269. *   If the picture size is <= 1/2 the screen width, pressing [2] will give a
  270.     double size image (which may be scrollable) and pressing [1] will give the
  271.     normal size again. For VGA, the picture will be changed only in the
  272.     horizontal direction; this will unsquash some 320x400 pics so the aspect
  273.     ratio is correct.
  274.  
  275. *   Pressing [+] will increase the resolution (320x200 to 640x480, etc).
  276.  
  277. *   Pressing [-] will decrease the resolution; useful if 800x600 rolls.
  278.  
  279. *   Pressing [/] or [?] gives a help screen of commands available while viewing.
  280.  
  281.     Note: All the following conversion options check if the default filename is
  282.     present, and prompt for a new name if it is. They create a file on the
  283.     current drive and directory with the same dimensions as the file being
  284.     viewed, and let you know what is happening while the conversion proceeds. If
  285.     you screw up at the new filename prompt, hit [Ctrl-C] to escape immediately
  286.     to DOS; this will usually preserve a file you don't want to write over. The
  287.     safest bet is to view files in another directory, since the new file is
  288.     saved to the default directory, which is the drive and directory you ran
  289.     VPIC from. I put VPIC in my UTIL directory, and have my PATH set to include
  290.     UTIL, so I can run VPIC from any drive or directory.
  291.  
  292. *   Pressing [A] will 'animate' a picture by rotating the palette periodically.
  293.     This is especially effective on fractals, where large areas tend to be the
  294.     same color. Pressing [SPACEBAR] will pause the palette rotation, and
  295.     pressing [ENTER] will terminate it and return to the command mode. Thus, by
  296.     waiting for an especially nice pattern and then pressing [ENTER], the
  297.     pattern can be written to a file using the above file save commands.
  298.     Pressing [ESC] will return to the menu. The rate of palette rotation can be
  299.     increased/decresed with the up/down (slow) or PgUp/PgDn (fast) arrow keys.
  300.  
  301. *   Pressing [B] will convert a color VGA picture to a 64 shade gray picture.
  302.     The resulting image can be saved with the gray palette. Only works in VGA.
  303.  
  304. *   Pressing [C] will create a Dr. Halo CUT file with the same filename and
  305.     extension CUT. A palette file (.PAL) will also be created.
  306.  
  307. *   Pressing [E] will expand a Run Length Encoded (RLE) compressed Targa file. If
  308.     the file is not a Targa or is already uncompressed, this key does nothing.
  309.  
  310. *   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. *   Pressing [P] will create a PC Paint or Pictor file. The default extension is
  317.     PIC, and for EGA it prompts for a PC Paint or Pictor file.
  318.  
  319. *   Pressing [R] will create a ColoRix file with the same filename and extension
  320.     SCx where x is a function of the screen size. If in EGA, will prompt if you
  321.     want an EGA Paint or ColoRix file.
  322.  
  323. *   Pressing [T] will create a Targa 16 file with the same filename and
  324.     extension TGA.
  325.  
  326. *   Pressing [Z] will create a ZSoft (PC Paintbrush) file with the same filename
  327.     and extension PCX. The file will be in whatever mode you are currently using
  328.     (EGA or VGA). The VGA palette will be correct for the latest version of PC
  329.     Paintbrush, which saves a VGA palette in the file.
  330.  
  331. *   [Alt_F] displays current filename momentarily.
  332.  
  333. *   Pressing [Alt-X] will prompt you to delete the current file. If you answer
  334.     [y] it will be deleted, [n] or ESC it won't, and all other keys are ignored.
  335.  
  336. *   Pressing [ENTER] will return to menu or DOS, or show next file for marked
  337.     menu mode.
  338.  
  339. *   Pressing [ESC] will end the display and return to the menu.
  340.  
  341. *   The following keys control the picture tone as follows:
  342.     [F1]       Decrease red content of picture.
  343.     [F2]       Increase red content of picture.
  344.     [F3]       Decrease green content of picture.
  345.     [F4]       Increase green content of picture.
  346.     [F5]       Decrease blue content of picture.
  347.     [F6]       Increase blue content of picture.
  348.     [F7]       Decrease contrast of picture (VGA only).
  349.     [F8]       Increase contrast of picture (VGA only).
  350.     [F9]       Decrease brightness of picture (VGA only).
  351.     [F10]      Increase brightness of picture (VGA only).
  352.     [Alt-F10]  Restore original palette after you thoroughly mess up the colors.
  353.     [V]        Reverses the current palette (16/64 EGA only); interesting effect
  354.                especially for black & white images.
  355.  
  356.     After a little experimenting, a 'washed out' VGA picture can be greatly
  357.     improved by using [F1-F10] , and you can always start over by using
  358.     [Alt-F10]. To retain a black background in a VGA picture, the brightness
  359.     should be decreased when the contrast is decreased. If you have really
  360.     improved the picture, you can then save it any of the supported formats.
  361.     VPIC will prompt you if the file exists in the default directory, and you
  362.     have the option of overwriting it or giving a new filename. This works
  363.     really well with images created on the Sharp, Howtec or Targa scanners.
  364.  
  365. All other keys are ignored. Pressing [Ctrl-Break] or [Ctrl-C] will go to DOS.
  366.  
  367. DECODING OTHER FILE FORMATS
  368.  
  369. The file decoding works in whatever mode you are presently using (VGA or EGA)
  370. and at the resolution you are viewing with. This way, if you choose to save to
  371. another file format, it will be in the same mode you are viewing with (EGA,
  372. MCGA, VGA, or SuperVGA). The decoding for other than GIF is not as fast as could
  373. be done, but the added versatility more than compensates for this. For example,
  374. EGA PCX files can be very quickly decoded to EGA, but are in the wrong format
  375. for VGA, and considerable manipulation is required to produce a VGA image. For
  376. all formats except GIF, the method of viewing is to decode to a buffer for a
  377. single line at 1 byte/pixel, then copy this line to the display in whatever mode
  378. you are using. This is a compromise for most file formats, since they are geared
  379. to EGA or VGA, and display time suffers, but it makes the code much simpler.
  380. Besides, the other formats are supported mainly to allow easy conversion to GIF,
  381. which is the preferred format for storage, since it gives the smallest file
  382. size. This will also make EGA <-> VGA conversions possible, which is not
  383. supported by most paint programs.
  384.  
  385. The TARGA viewing uses a fixed palette to speed up the decoding, so the picture
  386. does not have what could be called good color. It is mainly there to verify that
  387. an image is present. Use Image Tools TGAPIC to get an equivalent GIF picture
  388. with excellent color rendition.
  389.  
  390. ADDED FEATURES
  391.  
  392. VPIC is meant to fill a void not covered by paint programs, and to allow very
  393. convenient file viewing and conversion between file formats. It is not meant to
  394. compete with the paint programs, and in general if a paint program does
  395. something well (such as resize a picture to fill the screen or cut out a portion
  396. of the picture), VPIC will not attempt to do it. On the other hand, if you think
  397. of a feature which would enhance VPIC, please let me know, and I will consider
  398. adding it to the program.
  399.  
  400. KNOWN PROBLEMS
  401. 1. The ATI 1024x768x16 mode uses 2 pixels/byte, unlike any other VGA or EGA
  402.    mode. It is supported for most viewing and conversions, but will not view or
  403.    convert to EGA Paint files, ColoRIX EGA files, or Pictor EGA files, since
  404.    these are on an EGA plane basis.
  405.  
  406. 2. If you have a board with the Trident TVGA 8900 VGA chip, do not run MAMODE
  407.    before running VPIC, or run MAMODE 64 if you were in a 128K bank mode.
  408.  
  409. IMPORTANT: Support for boards with other VGA chips: VPIC will support other VGA
  410. boards with extended VGA modes if the owners will write me with the details of
  411. how to set the various modes, and how to bank switch the display memory. Of
  412. course, if you also register VPIC I will give the problem more consideration.
  413.  
  414. The bank switching Info for some of the 'not so common' VGA boards is hard to
  415. come by, and is needed if VPIC is to support extended VGA modes for these
  416. boards. A VGA board needs to bank switch for extended modes because there is
  417. only a 64K window in the PC address space for graphics memory (from A000 to
  418. AFFF), and extended modes require more than 64K of memory; 640x480x256 requires
  419. 307200 bytes of memory, or about 4.7 'banks of 64K'. Bank switching is a means
  420. of mapping the (A000 to AFFF) graphics address space into 64K chunks of actual
  421. display memory. The method of bank switching is determined by the VGA chip used
  422. on the display board, and what I need is info on how to switch banks and how to
  423. set the various modes the board supports. The use of a display board would also
  424. help, since it will allow me to test the program with that display board instead
  425. of 'programming blind'.
  426.  
  427. HOW VPIC OPERATES - VPIC decodes a picture file directly to screen memory on
  428.     your  display card. The other technique is to decode to CPU (normal) memory
  429.     and then copy the picture (or a portion of it) to screen memory. Both ways
  430.     have their advantages and disadvantages.
  431.  
  432. DECODING DIRECTLY TO SCREEN MEMORY (LIKE VPIC).
  433.  
  434. ADVANTAGES -  This method offers the best speed, since it doesn't  have  to  go
  435.     thru the intermediate step of decoding to  CPU  memory first.  It will also
  436.     always decode large pictures,  even above  the  maximum display size. The
  437.     CPU method  usually  doesn't  have  sufficient memory for large pics, like
  438.     1024x768x256, or even  800x600x256 if you have any TSR's in memory; these
  439.     pics require 1 byte/pixel.
  440.  
  441.     The file conversion options uses the current palette data and the current
  442.     data in display memory to make the new file.  Thus,  what you see is what
  443.     you get in a new file format,  in  whatever  mode you are viewing (256 or 16
  444.     color).
  445.  
  446. DISADVANTAGES - Because the picture is decoded  directly to  screen  memory,
  447.     any picture data beyond the right edge of the screen is thrown  away. For
  448.     this reason, you can't  scroll  left  and  right.  VPIC  will continue to
  449.     decode to display memory beyond  the  bottom  of  the screen until:
  450.  
  451.         1.  It runs out of memory, set by BANKS in the  configuration file.
  452.  
  453.         2.  If the card does not  wrap  this  memory  back  onto  the displayed
  454.             screen, like  the Video 7 cards.
  455.  
  456.     Thus, if your display card meets the above criteria,  you will be able to
  457.     scroll up and down.
  458.  
  459.     If the screen doesn't display the whole  picture,  any  converted file will
  460.     be truncated on the right edge to the screen size.
  461.  
  462.     In the SLIDE mode of VPIC, the next picture  is  decoded  to  CPU memory
  463.     while you view the current picture, and then copied to the screen when the
  464.     delay time is up.  If you don't have  enough  CPU memory, you get the
  465.     portion of the picture that VPIC can display.
  466.  
  467. DECODING TO CPU MEMORY FIRST
  468.  
  469. ADVANTAGES - If there is sufficient CPU memory to hold the whole picture (at 1
  470.     byte/pixel), a rectangular area equal to the screen size  can be copied to
  471.     display memory,  which allows you to scroll around  the picture in all
  472.     directions.
  473.  
  474. DISADVANTAGES - If there is not sufficient CPU memory, most of the programs
  475.     will refuse to display the picture.  There is also the wait while  the
  476.     picture is decoded to CPU memory before you get to see it.
  477.  
  478. SHAREWARE
  479.     VPIC is user supported software for the IBM PC.  VPIC is made available for
  480. a free ten day trial period.  If you find this program useful,  you may license
  481. the program for non-commercial use on one machine by sending $15.00 to:
  482.  
  483.      Bob Montgomery
  484.      543 Via Fontana #203
  485.      Altamonte Springs, FL 32714
  486.  
  487. VPIC may be licensed for commercial use on up to 10 computers at a single site
  488. or set of sites for $75.00. A commercial site is defined as a business or
  489. individual using VPIC as part of his business activities.
  490.  
  491. Clubs, schools,  universities and other organizations may license VPIC for
  492. $45.00 per 6 copies.
  493.  
  494. If you use VPIC as part of a commercial demo or as a utility for another
  495. application you must obtain a license from Bob Montgomery, and pay a $1/copy
  496. royalty for each copy shipped.
  497.  
  498. VPIC is copyrighted software, and all rights are reserved.
  499.  
  500. VPIC may not be changed or modified in any way  except by the author.  VPIC may
  501. be freely distributed for the ten day trial period as long as it remains in its
  502. complete form. Regardless of how the copy is obtained, it is requested that
  503. all users comply with the licensing agreement.
  504.  
  505. All warranties are disclaimed, including damage to hardware and/or software from
  506. use of this product. In no event will I be liable to you for any damages,
  507. including lost profits, lost savings or other incidental or consequential
  508. damages arising out of your use or inability to use the program, or any other
  509. claim by any other party.
  510.  
  511. INDIVIDUAL USERS
  512.     You may use all updates free once you have registered VPIC. If you are
  513. already registered for VGIF (any version) you may use VPIC for an additional $5.
  514. I do not send updates, but they are available on most graphics oriented BBS's,
  515. and at Compuserve in DL3 of the PICS forum. As an alternative, you can get VPIC
  516. from me by sending:
  517.     1. $15 VPIC registration fee
  518.     2. $5 for upgrading VGIF to VPIC.
  519.     3. $0 for updates of VPIC.
  520. Please include $5 ($10 outside the USA and Canada) for materials, postage, and
  521. handling on all orders. Thus, 1 = $20/$25, 2 = $10/$15, and 3 = $5/$10 for
  522. domestic/foreign orders. As a bonus; I will fill the rest of the disk with good
  523. pictures. Please specify 360K or 1.2Meg disk (I don't have 3.5" disks) and EGA,
  524. VGA, or SuperVGA (640x480x256, etc) so I'll know what pictures to send. For
  525. foreign orders, please send an International or Postal Money Order, since the
  526. banks here charge $25 collection fee for foreign checks. Even if you can't read
  527. a 1.2 Meg disk, I would reccommend getting VPIC on that size, since you get
  528. about 1 Meg of picture files that way. Then, have a friend (or computer store)
  529. copy the files to 360K disks for you.
  530.  
  531. Data on the various file formats VPIC supports is available free if you request
  532. it with your order, but will use about 200K of disk space.
  533.  
  534. SITE LICENSES
  535. 1.  Your current version of VPIC may be licensed for commercial use on up to 10
  536.     computers at a single site or set of sites for $75.00. A commercial site is
  537.     defined as a business or individual using VPIC as part of his business
  538.     activities.
  539.  
  540. 2.  Clubs, schools,  universities and other organizations may license their
  541.     current version of VPIC for $45.00 per 6 computers.
  542.  
  543. 3.  In any case, if you want an update to the latest version of VPIC, please
  544.     send $5 per copy requested plus $5 ($10 outside the USA and Canada)
  545.     shipping, materials, and handling. If you have registered multiple copies,
  546.     it's less expensive to request just one copy and make additional copies at
  547.     your facility; the VPIC disk is not copy protected.
  548.  
  549. 4.  If you use VPIC as part of a commercial demo or as a utility for another
  550.     application you must obtain a license from Bob Montgomery, and pay a
  551.     $1/copy royalty for each copy shipped.
  552.  
  553. Please use the enclosed registration/order form since it allows me to keep
  554. better records and keep up with the newer VGA boards. 
  555.  
  556. VPIC is copyrighted software, and all rights are reserved. VPIC may not be
  557. changed or modified in any way  except by the author.  VPIC may be freely
  558. distributed for the ten day trial period as long as it remains in its complete
  559. form. Regardless of how the copy is obtained, it is requested that all users
  560. comply with the licensing agreement.
  561.  
  562. All warranties are disclaimed, including damage to hardware and/or software from
  563. use of this product. In no event will I be liable to you for any damages,
  564. including lost profits, lost savings or other incidental or consequential
  565. damages arising out of your use or inability to use the program, or any other
  566. claim by any other party.
  567.  
  568. Contact Bob Montgomery for:
  569.     1. Special versions of VPIC tailored to your application.
  570.     2. Other graphics oriented applications (file conversion, etc).
  571.  
  572. Any suggestions or comments should be mailed directly to me. The following are
  573. graphics oriented BBS's:
  574.  
  575. Compuserve PICS Forum (My ID is 73357,3140)
  576. Tsunami BBS, Half Moon Bay, Calif. (415) 726-2726
  577. PC Rockland, S. Nyack, NY (914) 353-2538 [Freeboard] 1.6 Gbyte Online
  578. Megabyte Image Center     (918) 492-0087 1200/2400/9600 baud USR HST
  579. Event Horizons, Portland OR  (503) 777-1578
  580.  
  581.                 APPENDIX A - REVISION HISTORY
  582.  
  583. History of the original VGIF program.
  584.  
  585. VGIF ver 1.1   1-13-88
  586.     *  Added test for EGA adapter.
  587.     *  Fixed menu colors.
  588.     *  Allow [ESC]ape from marked file viewing.
  589.     *  Added [Ctrl-Break] or [Ctrl-C] exit to DOS anywhere.
  590.     *  Added 'disk full' notification when creating picture file.
  591.     *  Added critical error handler for 'drive not ready' errors.
  592.  
  593. VGIF ver 1.2   1-15-88
  594.     *  Changed name to VGIF.
  595.     *  Slide mode now ignores the end of file mark in slide file, and any key
  596.        will now end slide mode.
  597.     *  Added slides to menu mode if [S] pressed-shows marked files as slides
  598.        until a key is pressed.
  599.  
  600. VGIF ver 1.3   1-21-88
  601.     *  Added better error checking to GIF file decoding. Notifies if bad GIF
  602.        file.
  603.     *  Fixed error reporting bug in single file mode.
  604.  
  605. VGIF ver 1.4   2-9-88
  606.     *  Added instantaneous screen update in slide mode from menu or command
  607.        (SLD) file.
  608.     *  Added the /r option which allows an application program to call VGIF
  609.        to view a file and then regain control.
  610.  
  611. VGIF ver 1.5   3-2-88
  612.     *  Added [PgUp] and [PgDn] keys to scroll by 10 lines at a time.
  613.     *  Added a max pic height of 819 lines so EGA buffer would not overflow.
  614.     *  Greatly improved color reproduction for 'problem' pictures (such as FROG,
  615.        ARCHIT, PUFFIN, VEGTABLE, etc). These pictures typically have more than
  616.        16 colors. Selected colors on basis of frequency of use where possible.
  617.     *  Fixed following bugs:
  618.        1.  Line buffer would overflow into other variables if pic width was
  619.            > 640 pixels, causing strange results.
  620.        2.  Didn't recognize the end of image marker correctly. This would
  621.            cause the palette to change when the image was done.
  622.  
  623. VGIF ver 1.6   3-11-88
  624.     *  Fixed a bug in handling multiple images. First noticed when viewing
  625.        WHIMMI.GIF.
  626.     *  Use same palette for multiple images, and get best color match.
  627.     *  Added [L] and [S] commands while viewing a picture. These allow you to
  628.        create full size paint program files.
  629.  
  630. VGIF ver 2.0   3-26-88
  631.     *  Added the ability to view long GIF files ( > 819 lines) without
  632.        wrapping the display.
  633.     *  Added the [C] and [H] (Dr. Halo) file creation option while viewing.
  634.     *  Added the [L] and [S] prefixes to paint program file creation commands
  635.        while viewing to save long pic files.
  636.     *  Added the Info and Help commands in menu mode.
  637.     *  Deleted the # requirement to specify a directory from the command line.
  638.        The program now looks for a directory which meets the spec on the command
  639.        line. If none is found, it assumes the spec is for a single file.
  640.     *  Added [F1 - F10], and [V] palette control keys while viewing a file.
  641.  
  642. VGIF ver 3.0   5-2-88
  643.     *  Added VGA capability, and support for Tseng extended VGA modes
  644.        (640x480x256 and 800x600x256).
  645.     *  Determines and displays available modes for your system.
  646.  
  647. VGIF ver 3.1   5-11-88
  648.     *  Fixed a bug in dir/file spec from command line. Now accepts
  649.        VGIF d:\dir\*.gif or VGIF d:*.gif, although the [\]*.gif is not required,
  650.        since this is the default filespec.
  651.  
  652.     *  Fixed a bug in forced EGA when doing slides, where an interlaced pic
  653.        displayed at double size would have a 'venetian blind' effect.
  654.  
  655.     *  Changed so pics larger than 320x200 are shown in 640x480 VGA; can get
  656.        800x600 by pressing + key.
  657.  
  658.     *  Note that EGA mode on the Orchid VGA card appears squashed vertically.
  659.        This is normal, and cannot be corrected without reprograming the
  660.        parameters for mode 16, which would change the vertical retrace
  661.        frequency, and probably cause your monitor to roll.
  662.  
  663. VGIF ver 3.2   5-26-88
  664.     *  Added 500 file menu, and assy language text screen updating; now
  665.        super fast.
  666.     *  Fixed a bug which caused the Vega VGA card to hang up.
  667.  
  668. VGIF ver 3.3   6-9-88
  669.     *  Added user spec of video mode for non-Orchid VGA boards.
  670.     *  Added GIF and Pictor save of current screen for VGA/EGA pics.
  671.     *  Added prompts to screen for conversion to other formats.
  672.     *  Removed conversion starting at first visible row-now does whole pic.
  673.  
  674. VGIF ver 3.4   6-23-88
  675.     *  Fixed a bug in the GIF save routine.
  676.     *  Added color, contrast, and brightness adjustment in VGA.
  677.     *  Fixed a bug in menu mode for marked files.
  678.     *  Added /n command line option to stay in 640x480x256 for VGA pics.
  679.  
  680. VGIF ver 3.5   7-14-88
  681.     *  Fixed some misc minor bugs.
  682.     *  Added increase/decrease resolution command while viewing 16 color VGA
  683.        pics (using the /e option).
  684.     *  Added slide mode for VGA.
  685.     *  Added lock mode option to start pics from the menu in a desired mode.
  686.  
  687. VGIF ver 3.6   8-8-88
  688.     *  Fixed some bugs.
  689.     *  Fixed EGA slide show.
  690.  
  691. VGIF ver 3.6A  9-10-88
  692.     *  Fixed 1024x768x16 mode.
  693.  
  694. VGIF ver 4.0   10-20-89
  695.     *  This was a beta test version which got out. It had lots of bugs, which
  696.        were fixed in VPIC.
  697.  
  698. History of VPIC
  699.  
  700. VPIC ver 1.0 & 1.1 12-27-88
  701.     *     Beta test versions.
  702.  
  703. VPIC ver 1.2   12-27-88
  704.     *  Added configuration option for various display boards.
  705.     *  Added VGA file conversion for all previous Paint programs supported.
  706.     *  Added Deluxe Paint 2 conversion.
  707.     *  Added Targa 16 file conversion.
  708.     *  Added EGA/VGA toggle from menu.
  709.     *  Added default resolution select, and Mode Lock key from menu.
  710.     *  Added WAIT option to pause between images of multi-image files.
  711.     *  Added MAC, PCX, & Colorix file viewing capability. Others will be
  712.        added in later versions.
  713.     *  Added 'animate' while viewing.
  714.     *  Fixed VGA 16 color palette.
  715.  
  716. VPIC ver 1.2A   1-4-89
  717.     *  Fixed MAC -> GIF conversion
  718.     *  Fixed CVPIC for ^Z as EOF char.
  719.     *  Fixed 16 color palette for other file formats if VGA 16 colors.
  720.  
  721. VPIC ver 1.3    2-2-89
  722.     *  Fixed cursor in menu.
  723.     *  Fixed 'lock up' if GIF header size wrong (640x350 labeled 350x640).
  724.     *  Now pauses pic if file error and waits for key press-can see partial
  725.        pics in bad files this way.
  726.     *  Shows GIFs with MAC headers (1st 128 bytes are not GIF standard);
  727.        if F3 (info) pressed shows if file has a MAC header.
  728.     *  Fixed so views and saves new ZSoft VGA PCX files which include
  729.        palette at end of file. Still doesn't load PAL files.
  730.     *  Fixed ZSoft file displays and saves.
  731.     *  Added Wait toggle (F8) which pauses between images in multi-image
  732.        GIFs, and allows conversion to other filetypes.
  733.     *  Made MACs black on bright white instead of gray.
  734.  
  735. VPIC ver 1.4   3-15-89
  736.     *  Added printout of filename while decoding except in slide mode.
  737.     *  Added help while viewing a picture; press [?] or [/].
  738.     *  Added delete a file option [X] (with query) while viewing.
  739.     *  Added hit [ESC] while decoding to abort picture.
  740.  
  741. VPIC ver 1.5   3-23-89
  742.     *  Fixed bug in 'Escape while decoding' which would hang system.
  743.     *  Fixed EGA x2 display for interlaced files.
  744.     *  Fixed problem with saving a pic after scrolling.
  745.     *  Fixed palette in animate, so save will use current palette.
  746.     *  Fixed problem with bad files in slide mode that would hang computer.
  747.     *  Fixed error display in /@ slide mode and single file mode.
  748.  
  749. VPIC ver 1.6   4-5-89
  750.     *  Fixed bugs in slide show from command file. Added comments.
  751.     *  Added resolution option for each picture in slide command file.
  752.     *  Fixed miscellaneous minor bugs.
  753.     *  Added configurable menu color.
  754.  
  755. VPIC ver 1.7   6-13-89
  756.     *  Added Trident chip set support (for Maxxon and Logix VGA boards
  757.        and maybe the ATI board).
  758.     *  Fixed a few bugs concerned with putting & getting lines from the
  759.        display screen.
  760.     *  Fixed problem with Ctrl Z at end of slide definition file.
  761.  
  762. VPIC ver 1.8  6-28-89
  763.     *  Added EGA Paint viewing/conversion.
  764.     *  Fixed conversion to 800x600 ColoRIX file.
  765.     *  Fixed other minor bugs.
  766.  
  767. VPIC ver 1.9  7-19-89
  768.     *  Added inverted, mirrored, and rotated GIF saves.
  769.     *  Fixed a bug in the Dr Halo CUT file creation.
  770.     *  Added menu updating after file creation or deletion.
  771.     *  Added new path spec feature from menu with [F9] key.
  772.  
  773. VPIC ver 2.0  8-6-89
  774.     *  Added Pictor/PC Paint PIC, Dr. Halo CUT, Deluxe Paint LBM, and
  775.        Targa 16 or 24 file viewing capability.
  776.     *  Fixed a bug in the palette selection for EGA.
  777.     *  Fixed a bug which would not show VGA for the plain vanilla VGA config.
  778.     *  Fixed a bug in the ZSoft PCX display for extended EGA modes.
  779.     *  Added Auto resolution option and switch from the menu [F7].
  780.     *  Made cursor stay fixed when files are created or deleted.
  781.     *  Added Chips & Technology support. (VPIC 2.0A)
  782.     *  Fixed ZSoft save at higher screen resolution than pic. (VPIC 2.0B)
  783.  
  784. VPIC ver 2.1   9-5-89
  785.     *  Fixed a bug in LBM viewing
  786.     *  Added ColoRIX 16 color SCR and SCP view/create.
  787.     *  Speeded up GIF decoding about 50%.
  788.  
  789. VPIC ver 2.1A  9-10-89
  790.     *  Fixed a memory allocation problem for slides.
  791.     *  Made small increase in speed.
  792.     *  Fixed directory callout (*.PIC, etc).
  793.     *  Re-enabled [ESC] for GIF viewing.
  794.     *  Fixed Chip & Tech bank switching routine.
  795.     *  Fixed Deluxe Paint II (LBM) file creation.
  796.  
  797. VPIC ver 2.2  10-23-89
  798.     *  Fixed problem in new path command ([F9] from menu).
  799.     *  Fixed intermittent GIF decode problem.
  800.     *  Program now tells if GIF image and screen sizes conflict.
  801.     *  Menu now correctly displays file sizes larger than 1 Mbyte.
  802.     *  Now lists & displays Electronic Arts IFF files (same as LBM).
  803.  
  804. VPIC ver 2.3  12-13-89
  805.     *  Fixed C_T bank switching.
  806.     *  Added Everex 678, Ahead (B chip), and Genoa 6400 support.
  807.     *  Fixed bugs in GIF and Pictor decoder.
  808.  
  809. VPIC ver 2.4  12-28-89
  810.     * Fixed bug in GIF decoder for very wide pics.
  811.     * Fixed palette for many file types.
  812.     * Fixed slide mode from menu.
  813.  
  814. VPIC ver 2.5  1-28-90
  815.     * Fixed single file and /r modes.
  816.     * Fixed Pictor viewing for B&W pics.
  817.     * Fixed MAC header interpertation problem.
  818.     * Fixed memory clearing for pictures longer than the screen.
  819.     * Added F10 to menu to display current path. Menu no longer shows
  820.       complete path (only filespec) to avoid clutter with long paths.
  821.     * Deleted path from filename display when showing picture.
  822.     * Added SCY conversion for ColoRIX.
  823.     * Added Zymos VGA chip support.
  824.     * Corrected CVPIC to allow more than 9 banks in config file.
  825.  
  826. VPIC ver 2.6  1-28-90
  827.     * Fixed palette for 2 color GIFs.
  828.     * Fixed SCU display in 1024x768x16 mode.
  829.     * Fixed Pictor EGA and ColoRIX EGA slide viewing.
  830.  
  831. VPIC ver 2.7  3-17-90
  832.     * Fixed GIF bug and palette for files with local color maps.
  833.     * Added /b command line option to beep after a picture is decoded except
  834.       in slide modes.
  835.     * Added Alt_F command while viewing a picture to momentarily display the
  836.       file name.
  837.     * Fixed Targa viewing for all sizes; now handles RLE images too.
  838.  
  839. VPIC ver 2.8  3-27-90
  840.     * Added /h command line option to find hidden files.
  841.     * Changed menu display to allow up to 8 modes for VGA or EGA.
  842.     * Fixed palette in Dr. Halo CUT files.
  843.     * Added Tseng 4000 chip support.
  844.  
  845. VPIC ver 2.9  5-23-90
  846.     * Fixed Targa module to handle all 8 thru 32 bits/pixel formats.
  847.     * Added copyright messages.
  848.     * Fixed PCX viewing for gray scale files.
  849.  
  850. VPIC ver 2.9A 7-1-90
  851.    *  Fixed Targa module for files which don't follow the compression rules
  852.       of 'don't overrun lines'. Added TGA expand option [E] while viewing a
  853.       RLE compressed Targa file.
  854.    *  Fixed conversion routines so they save the pictures size. This was a bug
  855.       that crept into ver 2.9.
  856.    *  Added ESC to abort deleting a file with [Alt_X].
  857.    *  Added file types (where applicable) to the info command [F3] from the
  858.       menu.
  859.    *  Added uncompressed ColoRIX SCO file (1024x768x256) support.
  860.    *  Fixed a bug in CVPIC.
  861.    *  Fixed a bug which prevented working with DOS 4.x.
  862.    *  Added Deluxe Paint II enhanced viewing and save capability.
  863.    *  Fixed a color bug in Targa 32 viewing.
  864.  
  865. VPIC ver 3.0  9-15-90
  866.    *  Added capability to view the new GIF89a files, and FRA fractal files.
  867.       Added delay and user response features of GIF89a.
  868.    *  Fixed a bug which would hang the computer if you deleted the last
  869.       viewable file from a directory.
  870.    *  Added prompt for a file conversion, allowing you to escape.
  871.    *  Added C&T, as well as the previous C_T, which VPIC will accept as the
  872.       Chips & Technologies VGA chip in the config file.
  873.    *  Fixed memory allocation bug in PCX creation for 1024x768x256 images.
  874.  
  875. VPIC ver 3.1  9-25-90
  876.    *  Added flexibility to slide mode. Always decodes to memory and can change
  877.       delay for files; see the section on 'vpic /@slidesfile`.
  878.  
  879. VPIC ver 3.2  10-29-90
  880.    *  Fixed the bank switching for the Trident 8800 chip.
  881.    *  Fixed a palette problem when viewing Targa files.
  882.  
  883. VPIC ver 3.3  11-5-90
  884.    *  Fixed problem with lines on VGA pics in slide mode.
  885.    *  Added animate command in slide command file, and speed control for
  886.       animation.
  887.    *  Fixed MCGA 16 color palette.
  888.    *  Fixed ATI 1024x768x16 slide mode.
  889.  
  890. VPIC ver 3.4  11-21-90
  891.    *  Fixed most conversion routines so they work in ATI 1024x768x16 mode;
  892.       can't do EGA Paint or 16 color ColoRIX, or Pictor EGA files.
  893.    *  Fixed most viewing routines so they work in ATI 1024x768x16 mode;
  894.       can't do EGA Paint or 16 color ColoRIX, or Pictor EGA files.
  895.    *  Fixed bugs in conversion for pics less than screen width wide.
  896.    *  Cleaned up numerous small bugs.
  897.    *  Added BIF Binary Image File from B&W image capture boards.
  898.  
  899. VPIC ver 3.5  12-15-90
  900.     *  Added 64 shade gray conversion for VGA images (press b while viewing).
  901.     *  Added auto-centering for pictures smaller than the screen.
  902.     *  For slides, now displays as much of picture as memory will allow.
  903.  
  904. VPIC ver 4.0  02-13-91
  905.     * Added GIF89a features including transparent color, variable size plain
  906.       text, user input, variable delay, and display of comments. Works in all
  907.       EGA and VGA modes.
  908.     * Fixed all file conversions so they work with centered images.
  909.     * Improved palette selection, and made hi contrast help messages.
  910.  
  911. VPIC ver 4.0a 02-20-91
  912.     * Added OAK and new ATI (with normal 1024x768x16 mode) card.
  913.     * Added `whichvga' program to try to identify your VGA chip.
  914.  
  915. VPIC ver 4.1  03-15-91
  916.     * Added Mocrosoft Windows 3.0 Bitmap BMP file viewing/saving in compressed
  917.       or uncompressed format. Sometimes uncompressed is smaller than compressed.
  918.     * Changed VGA chip designators, added VGA chips; see CONFIG.DOC. Be sure to
  919.       use the version of CVPIC supplied with this version of VPIC.
  920.