home *** CD-ROM | disk | FTP | other *** search
/ The Education Master 1994 (4th Edition) / EDUCATIONS_MASTER_4TH_EDITION.bin / files / progmisc / vgahues / vgahues.doc next >
Text File  |  1994-01-14  |  9KB  |  226 lines

  1.  
  2.  
  3.                      This program allows you to adjust the
  4.                      red, green and blue components of eight
  5.                      colors (BKGD, ..., OUTER).
  6.  
  7.  
  8. ===============================================================================
  9.  
  10.                            * * *    VGAHUES    * * *
  11.                            Copyright 1993,  GMH Code
  12.  
  13. ===============================================================================
  14.  
  15.  
  16.  
  17.                               - Keyboard Usage -
  18.  
  19. Use left/right arrow keys to select a particular color.  The highlight rect-
  20. angle indicates the active color.
  21.  
  22. Use the keys <R>, <G>, <B> to increase the red, green, blue components of the
  23. active color.  Shift those keys to decrease primaries.  Several primaries can
  24. be altered simultaneously by using the <M>, <Y>, <C> or <W> keys (for: magenta,
  25. yellow, cyan, white.)  The up/down arrow keys work as <W> and <W'>.
  26.  
  27. Duplicate one color into another by first pressing <D> in the source color.
  28. Next, make the destination color active.  Then press <D> again to copy.
  29. Example: Use arrows to make Outer active (showing highlight rectangle.)  Then
  30. press <D>; now use left arrow to make Inner active.  Finally, press <D> again.
  31.  
  32. Three pairs of colors may be exchanged by the following keys:
  33.  
  34.                               <T> Text/Bkgd
  35.                               <O> Outer/Inner
  36.                               <P> Plane/Center
  37.  
  38. Furthermore, those three pairs may be rotated about by pressing <X>.
  39.  
  40. The Fade function - press <F> to inaugurate - outputs a linear combination of
  41.         Left and Right to Center.
  42.  
  43. <S> sums (and clips, if required) contents of Left and Right into Center.
  44.  
  45. <Z> restores the last value to Center before an operation.
  46.  
  47. <I> inverts the active color.
  48.  
  49. <H> or <N> toggles the readout base below each color from hex/decimal.
  50.  
  51. <space>+<F3..F10> stores the current palette of eight colors (Bkgd..Outer)
  52.         to memory for later use.
  53.  
  54. <Ctrl>+<F3..F10> recalls one of the palettes to the current display.
  55.  
  56. <F3..F10> samples one of the palettes (i.e., displays palette briefly.)
  57.  
  58. <Insert>/<Delete> Draw/erase a set of graphic images.
  59.  
  60. <4> Emulate GRAYscale mode        <5> Normal COLOR mode
  61. <7> <8> <9> Mouse sensitivity.    (<9> is default; use <7>/<8> only if req'd.)
  62. <F1> show onboard help.           <Q> quit program.
  63.  
  64.  
  65.  
  66.  
  67.                                 - Mouse Usage -
  68.  
  69. Bring the mouse (pointer) into any of the three primary color slots of the
  70. desired color (for example, the blue slot of the color Text.)  Press the
  71. left mouse button ("[L]") and adjust the primary to the desired intensity
  72. then release [L].
  73.  
  74. Duplicate one color into another by pressing [L] inside the source color's
  75. box (but not inside a primary slot).  Keeping [L] depressed, move to anywhere
  76. within the destination color's box and release [L].  To cancel, release [L]
  77. outside of all color boxes.
  78.  
  79. Open the mouse window for a particular color by pressing [R] (right button)
  80. within that color's box.  (Or, press [R] on the desired color in upper half
  81. of the screen.)  The following functions can be done from the mouse window.
  82. (Mouse's [L] button activates all; [R] closes window).
  83.  
  84.     {(white/black)} white/black out color
  85.  
  86.     {(arrows)} "gray up/down" color
  87.  
  88.     {(+RGB -RGB)} adjust color's red, green, blue components
  89.  
  90.     {STO}, {RCL}, {SAMPLE} store, recall, sample one of eight palettes (F3-F10)
  91.             each containing the eight colors, Bkgd - Outer.
  92.     {SWAP} swaps contents of current palette with the most-recent current
  93.             palette (i.e., palette bumped by a {RCL} or {SWAP} operation.)
  94.  
  95.     {Z} restore Center to its value before last operation
  96.  
  97.     {GFX} Toggles display of extra graphics images
  98.  
  99.     {Fade} Center receives linear combination of Left and Right.
  100.  
  101.     {Sigma} sum Left and Right into Center.
  102.  
  103.     {I-1} invert color.
  104.  
  105.     {X} rotate three pairs  (Text/Bkgd, Outer/Inner, Plane/Center)
  106.  
  107.     Any of the three pairs of colors may be exchanged by clicking [L] on:
  108.  
  109.         {T} Text/Bkgd
  110.         {O} Outer/Inner
  111.         {P} Plane/Center
  112.  
  113. {SWAP} Swap current, former palette, as above.
  114.  
  115. {QUIT} Quit program
  116.  
  117. {HELP} Onboard help.
  118.  
  119. {VGA}     Toggles VGA grayscale/color modes.  (Or use keys: <4>,<5>.)
  120. {HUES'93} Toggles display of extra graphic images, as GFX, above.
  121.  
  122. {BASE} Toggles color value readout (below the boxes) between hex and decimal.
  123.  
  124. {QNQ} Quit, No Questions.  (Palettes F3-F10 cannot be saved with this option.)
  125.  
  126.  
  127.              Text of VGAHUES onboard help and intro.
  128.  
  129. MOUSE HELP:
  130.  
  131.           Mouse speed (\"789\"):   <7> Slowest   <8> Slow   <9> Normal
  132.     Left button ([L]) selects; right button ([R]) opens/closes mouse window.
  133.    Adjust primaries: Select slot; press [L] to activate; adjust; release [L].
  134.  Duplicate: Press [L] in source box (but not slot!); release [L] in target box.
  135. Click on: BASE - toggle Hex/Dec readouts; QUIT - quit prog.; QNQ - quit, no ?s
  136. Click on: HUES93/{GFX} - extra graphic images; SWAP - current/former palettes
  137.     Click [L] for white|black; press/hold/release [L] for graying or ±R|G|B.
  138. [L] for STO|RCL|Sample F3..F10; release at desired palette. SWAP: Current/Prev.
  139.     Z = last color of Center before op; FADE blends Left & Right into Center.
  140.          Sum {Σ} of Left + Right to Center; {I-1} inverse of boxed color.
  141.  {X} Rotate 3 pairs clockwise:  Text/Bkgd > Outer/Inner > Left/Right (>Tx/Bk)
  142.          Exchange pairs: {T}ext/Bkgd or {O}uter/Inner or {P}lane/Center.
  143.    VGA color mode: [L] on VGA or <5>;  VGA grayscale mode: [L] on VGA or <4>
  144.   (Keyboard notes: press <F1>    Mouse notes - via kybrd - press <Shift+F1>.)
  145.  
  146.  
  147. KEYBOARD HELP:
  148.  
  149.                  Select active color box: use left/right arrows.
  150.   Primaries: Press <R>ed, <G>, <B>, to increase; (<Shift><R|G|B> to decrease.)
  151.  MultiColor: <M>agenta, <Y>, <C>, <^>|<W>hite.   Preemptive: <0>Black, <1>White
  152.     Duplicate: Press <D> in source box. Move to target box. Press <D> again.
  153.            Exchange pairs: <T>ext/Bkgd, <O>uter/Inner, <P>lane/Center.
  154.   Rotate 3 pairs: <X> rotates Text/Bkgd -> Outer/Inner -> Left/Right (>Tx/Bk).
  155. <I>nvert active color;  <S>um of Left+Right -> Center;  <Z> Restore last Center
  156.           <Insert> display extra graphics images;  <Delete> erase images
  157.                   VGA display mode:  <4> GRAYscale  <5> COLOR
  158.   This palette (Bkgd-Outer) can be stored in 8 areas, F3..F10, or SWAP'd, <F2>.
  159.      Store: <Space><F3..F10>;   Recall: <Ctrl><F3..F10>;   Sample: <F3..F10>
  160.       Fade: Press <F> to initiate.  This blends Left and Right into Center.
  161.  <H>|<N> toggle readout base;   <Q> quit prgm (option: export Text/Bkgd to DOS)
  162.  
  163.  
  164. INTRODUCTORY NOTES:
  165.  
  166.  --------------------------- Keyboard --------------------------
  167.    Use the left/right arrow keys to highlight the "Outer" box.
  168.    Then press the <R> key to increase the red component of that
  169.    color.  <Shift> the <R> to decrease it.  Try this with the
  170.    <G>reen and <B>lue keys.
  171.    Press <Insert>/<Delete> to select the extra graphic images.
  172.  
  173.    Generally, peruse the help function using <F1> for notes on
  174.    all the available features (see some mentioned, below.)
  175.  
  176.  ----------------------------- Mouse ---------------------------
  177.    Move the mouse pointer to the box labeled "Center".  Adjust
  178.    components, e.g., green, by putting the pointer in that col-
  179.    or's slot and pressing the left button ("[L]"), adjusting
  180.    the intensity, then releasing [L] at the new level.
  181.  
  182.    You can open (and close) the mouse window for a given color
  183.    by pressing the [R] button anywhere within the color's box.
  184.    Close the window by pressing [R] again.
  185.  
  186.    Select the HELP box (LHS) for notes on all the features, which
  187.    include: duplication, store/recall/sample of palettes, color
  188.    switching, fading, color inversion, toggling of number base.
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.                               «INVOICE»
  197.  
  198.  
  199.                                From:
  200.         ------------------     ---------------------------------
  201.        | GMH Code         |
  202.        | P.O.Box 2117     |    ---------------------------------
  203.        | Lowell, MA 01851 |
  204.         ------------------     ---------------------------------
  205.  
  206.  
  207.          Please enclose your check for $5 payable to GMH Code.
  208.  
  209.  
  210. --------------------------------------------------------------------
  211.  
  212.  
  213.     Registered users receive more-detailed instructions including
  214.     the use of the external (command-line) functions some of which
  215.     are listed below (run  C:\>vgahues ?    to see them all.)
  216.  
  217.            - a fast way back to the default VGA text mode
  218.              and settings (after graphics mishaps)
  219.            - data on the current VGA display mode
  220.            - set your card to any VGA display mode
  221.            - view or reset first 16 colors of VGA color map
  222.            - set card to run VGA-mono (i.e., grayscale) emulation
  223.  
  224.  
  225.  
  226.