home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / viewers / qpeg10c.zip / CFG.DOC < prev    next >
Text File  |  1993-10-14  |  4KB  |  79 lines

  1.  
  2.    QPEG configuration files
  3.    ~~~~~~~~~~~~~~~~~~~~~~~~
  4.  
  5. Before making any changes to QPEG.CFG files, please read these instructions
  6. carefully.
  7.  
  8. The QPEG.CFG files define all available text modes that are used by QPEG.
  9. You may edit it with a standard ASCII text editor (for example EDIT which
  10. is distributed along with MS-DOS 5/6).  If you want to make changes, you
  11. should have some fundamental knowledge about your video modes.  Most
  12. VGAs come with a manual which contains at least a list of available
  13. modes and their corresponding mode numbers.  If you can't get certain
  14. modes to work, send me a letter or electronic mail, and I'll try to help
  15. you (of course I'll try harder if you're a registered user :-).
  16. However, there's no guarantee or obligation of any kind for me.
  17.  
  18. Comments in QPEG.CFG are preceded by either '#', ';', or '%'.
  19. Empty lines are ignored.
  20.  
  21. The first line (not counting comments, of course) defines the type of your
  22. video card.  This is the format of the first line:
  23.    type order
  24. 'type' and 'order' must be seperated by at least one space.
  25.  
  26. 'type' denotes which of the driver files will be used.  For example,
  27. if you specify 'ET4000', there must be a file ET4000.DRV within the same
  28. directory.
  29. 'order' must be either 'RGB' or 'BGR'.  It specifies the byte order in
  30. true color modes (24 bit).  If you're not sure about the order, try both,
  31. either 'RGB' or 'BGR' will give you the correct colors (if, for example,
  32. skin looks blue, try the other option).
  33. If you don't have a true color card (i.e. no 24 bit modes), the value of
  34. 'order' doesn't matter (though it must be specified).
  35.  
  36. All subsequent lines define the video modes available with your card.
  37. This is the format of each line:
  38.    width height colors line ax bx options
  39. All items must be seperated by at least one space.
  40.  
  41. 'colors' must be one of the following:
  42.  -  '16' or  '4': 16 colors (4 bit), greyscale display only
  43.  - '256' or  '8': 256 colors (8 bit), greyscale and dithered color display
  44.  - '32K' or '15': 32 K colors (hicolor, 15 bit), color display
  45.  - '16M' or '24': 16 M colors (truecolor, 24 bit), color display
  46. 'line' specifies the amount of memory used for a single row of pixels.
  47. This is usually the width multiplied by the number of bytes used to store
  48. a single pixel.
  49. 'ax' and 'bx' specify the register values for interrupt 10h.
  50. For standard modes, ax is the mode number, and bx is 0.
  51. 'options' (optional) is zero, one, or more of the following characters
  52. (not seperated by spaces!):
  53.  - 'C': clear video memory (some SVGAs don't clear the screen at a mode
  54.         set, in this case use this option for the relevant mode)
  55.  - 'D': debug mode (for testing purposes only, not intended to be used
  56.         by the end user)
  57.  - 'M': this option might be necessary for the true color mode of the
  58.         MegaEva 1024-S
  59.  
  60. Values for 'width', 'height', 'line', 'ax', and 'bx' are in decimal.
  61. You can use hexadecimal notation by preceding the values with a dollar
  62. sign '$', for example '$10f0'.
  63.  
  64. IMPORTANT:  Using modes that your hardware (graphics card and/or monitor)
  65. can't handle can damage your hardware!  Be sure to use only supported
  66. modes.  If you come across a mode which looks flickering or unstable
  67. (i.e. the monitor can't hold the picture), abort QPEG immediately and
  68. delete that mode from the configuration file.
  69.  
  70. YOU ARE USING QPEG AT YOUR OWN RISK!  THE AUTHOR (OLIVER FROMME) IS NOT
  71. RESPONSIBLE FOR ANY DAMAGE CAUSED BY THE USE OF QPEG OR BY THE INABILITY
  72. TO USE QPEG.  IF YOU ARE NOT SURE ABOUT THIS, OR IF YOU DON'T ACCEPT THIS,
  73. THEN DO NOT USE QPEG!
  74.  
  75. QPEG is inexpensive shareware.  If you continue using it after a trial
  76. period of 30 days, you are encouraged to pay a small registration fee.
  77. The source code of the JPEG decoding routines is also available.
  78. For more details please read the documentation of QPEG.
  79.