home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / MADTRB20.ZIP / PATTERN.DOC < prev    next >
Encoding:
Text File  |  1980-01-01  |  2.5 KB  |  50 lines

  1. *******************************************************************************
  2. *                         Turbo Pattern Maker                                 *
  3. *                             (c) 1985                                        *
  4. *                          by C. A. Rinehart                                  *
  5. *                         18C University Houses                               *
  6. *                          Madison, Wi  53705                                 *
  7. *******************************************************************************
  8.  
  9.  
  10.    This program is designed to assist in creation of patterns used in the
  11.  FILLPATTERN routine of Turbo Pascal 3.0 by Borland International.  It allows
  12.  the simultaneous display of three individual patterns and their union.  Each
  13.  of the patterns has a separate color which can be changed by redefining the
  14.  color table.  Each pattern is defined by an 8 x 8 grid.  The grid is filled
  15.  by entering a hyphen (pixel off) or a zero (pixel on).  The decimal
  16.  representation of each line of the grid is displayed for use in programming.
  17.      example:
  18.                       7  0------- = 1
  19.                line   6  -0------ = 2
  20.              number   5  -00----- = 6    decimal
  21.                       4  ---0---- = 8    equivalent
  22.                       3  -------0 = 128  of binary
  23.                       2  00000000 = 255  line pattern
  24.                       1  -------- = 0
  25.                       0  -------- = 0
  26.  
  27.                    bit   01234567
  28.  This pattern would be used in a call such as Pattern(P) where P is an array
  29.  of byte equal to (0, 0, 255, 128, 8, 6, 2, 1).
  30.  
  31.    To compile Pattern Maker the files of Graph.P and Graph.Bin
  32.  need to be available for inclusion.  The Graph files are on the Turbo
  33.  distribution disk.
  34.  
  35.    To use Pattern Maker enter one of the choices from the menu line:
  36.  
  37.               1Pat, 2Pat, 3Pat, Palette, CT, Quit
  38.  
  39.  The first three choices merely select the one of three possible patterns.
  40.  The Palette selection allows the choice of one of four palettes (0-3).
  41.  CT allows the color table to be redefined, thus changing the colors of the
  42.  patterns.  Quit ends the program.  When selecting choices from the menu
  43.  only the first letter needs to be entered and then the rest of the word
  44.  will be printed.  If the choice is acceptable press return if not then
  45.  press backspace and enter another choice.  (This is a charactistic of the
  46.  response processing procedure ANSWER.)
  47.  
  48.    Questions and user response will be welcome.
  49.                                                C.A.R
  50.