home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 02a / pcmag1_2.zip / MANUAL2 < prev    next >
Text File  |  1989-02-18  |  96KB  |  2,447 lines

  1. @@APPBK.COM
  2. APPBK                               Michael J. Mefford
  3. Command                                    1987/No. 12
  4. ______________________________________________________
  5.  
  6. Purpose:  Reminds you of appointments at the times you
  7.           specify; provides additional optional hourly
  8.           chime and continuous on-screen date/time
  9.           display.
  10.  
  11. Format:   [d:][path]APPBK
  12.  
  13.                or
  14.  
  15.           [d:][path]APPBK [f,][b,][s,][h,][a]
  16.  
  17.  
  18. Remarks:  APPBK is a memory-resident utility that is
  19.           normally loaded through your AUTOEXEC.BAT
  20.           file.  It must be loaded after any system
  21.           time/date setting routines, and before
  22.           loading SideKick (if used).
  23.  
  24.           Pressing Alt-R opens the on-screen APPBK
  25.           window, in which you enter your appointments.
  26.           Enter times as 2:00, not 02:00, and include
  27.           the A or P before the M in the window.  You
  28.           can edit your appointment list using the F-1
  29.           and F-3 keys, by overstriking letters, and
  30.           with the deleting backspace key.  F-2 toggles
  31.           an hourly chime on and off; F-4 similarly
  32.           toggles a continuous on-screen display of the
  33.           time and date.
  34.  
  35.           An alarm will sound at the appointment times
  36.           specified.  Additionally, should you be away
  37.           from your desk and not hear the reminder,
  38.           your first keystroke following the alarm will
  39.           pop up the APPBK window.  To close the
  40.           window, press Esc or the Alt-R (default)
  41.           APPBK trigger key.
  42.  
  43.           At the time it is loaded, APPBK may be
  44.           given alternative parameters for its color
  45.           (f), border color (b), trigger-key scan code
  46.           (s), hourly chime frequency (h), and alarm
  47.           frequency (a).  The default values are
  48.           7,112,19,2217,2960. Tables of acceptable
  49.           alternative parameter values are contained on
  50.           the following pages. In entering parameters,
  51.           separate each with a comma.  Commas alone may
  52.           be used for initial parameters you do not
  53.           wish to change.
  54.  
  55. Example:  APPBK ,,,1760
  56.  
  57.           would change only the frequency (tone) of the
  58.           hourly chime (the h parameter).
  59.  
  60.                  Parameter Tables
  61.  
  62.          COLOR CODES (f and b parameters)
  63.  
  64.              Color Adapter
  65.              -------------
  66. fore-   back-            fore-
  67. ground  ground  color    ground  color
  68.   0       0     Black      8     Gray
  69.   1      16     Blue       9     Light Blue
  70.   2      32     Green     10     Light Green
  71.   3      48     Cyan      11     Light Cyan
  72.   4      64     Red       12     Light Red
  73.   5      80     Magenta   13     Light Magenta
  74.   6      96     Brown     14     Yellow
  75.   7     112     White     15     Bright White
  76.  
  77.  
  78.     Monochrome Adapter
  79.     ------------------
  80.  
  81. fore-   back-
  82. ground  ground  color
  83.   0       0     Black
  84.   7     112     White
  85.  15      NA     Bright White
  86.  
  87.  
  88. Add foreground color to the background color to arrive
  89. at parameter number.  For example, blue letters on cyan
  90. (light blue) would be 48 + 1 = 49.
  91.  
  92. Defaults are 7 (white on black) for the datebook field
  93. (foreground) and 112 (black on white) for the frame
  94. (border).
  95.  
  96.  
  97.    SCAN CODES FOR ALT-KEY COMBINATIONS (s parameter)
  98.  
  99. Code   Key     Code   Key     Code   Key     Code   Key
  100.   16   Q         30   A         44   Z        120   1
  101.   17   W         31   S         45   X        121   2
  102.   18   E         32   D         46   C        122   3
  103.   19   R         33   F         47   V        123   4
  104.   20   T         34   G         48   B        124   5
  105.   21   Y         35   H         49   N        125   6
  106.   22   U         36   J         50   M        126   7
  107.   23   I         37   K                       127   8
  108.   24   O         38   L                       128   9
  109.   25   P                                      129   0
  110.                                               130   -
  111. Default is 19 (Alt R)                         131   =
  112.  
  113.  
  114.  
  115.            TONE/FREQUENCY (h and a parameters)
  116.  
  117. A    55   110  220  440   880  1760  3520   1740  14080
  118. A#   58   117  233  466   932  1857  3714   7428  14856
  119. B    62   123  247  494   988  1976  3952   7904  15808
  120. C    65   131  262  523  1046  2093  4186   8372  16744
  121. C#   69   139  277  554  1109  2217  4434   8868  17736
  122. D    74   149  294  587  1175  2349  4698   9396  18792
  123. D#   78   156  311  622  1245  2489  4978   9956  19912
  124. E    82   165  330  659  1319  2637  5274  10548  21096
  125. F    87   175  349  698  1397  2794  5588  11176  22352
  126. F#   93   185  370  740  1480  2960  5920  11840  23680
  127. G    98   196  392  784  1568  3136  6272  12544  25088
  128. G#   104  208  415  831  1661  3322  6644  13288  26576
  129.  
  130. Middle C is 262.  The defaults are 2217 (C#) for the
  131. hourly chime and 2960 (F#) for the alarm chime.
  132.  
  133.  
  134.           Note:
  135.  
  136.           1.   While APPBK is compatible with most
  137.                applications programs and resident
  138.                utilities, complete compatibility cannot
  139.                be assured.  It cannot, for example, be
  140.                used with XyWrite.
  141. @@ASC.COM
  142. ASC                                       Jeff Prosise
  143. Command                                     1987/No. 5
  144. ______________________________________________________
  145.  
  146. Purpose:  Provides a pop-up ASCII chart showing
  147.           decimal, hexadecimal, and character
  148.           equivalents for the full IBM character set.
  149.  
  150. Format:   [d:][path]ASC
  151.  
  152. Remarks:  ASC.COM is a memory-resident utility that is
  153.           normally loaded at boot-up, via your
  154.           AUTOEXEC.BAT file.  Once loaded, pressing
  155.           Alt-A pops up the first page (32 ASCII codes)
  156.           of the display window over any currently
  157.           active applications program.  The Up- and
  158.           Down-Arrow, PgUp and PgDn, and Home and End
  159.           keys access the remaining ASCII display
  160.           pages.  Pressing Esc closes the window,
  161.           restoring the original screen display.
  162.  
  163.           In operation, ASC.COM requires approximately
  164.           2.5K of RAM.  It is compatible with most
  165.           applications and TSR (terminate and stay
  166.           resident) programs that do not themselves
  167.           require the Alt-A key combination, and it may
  168.           be used with monochrome, color, or EGA
  169.           monitors.
  170.  
  171.           Notes:
  172.  
  173.           1.   Users familiar with using DEBUG can
  174.                modify the default border, text, and
  175.                header colors of ASC.COM.  These values,
  176.                initially 0Fh, 1Fh, and 1Eh,
  177.                respectively, are located at offsets
  178.                014D through 014F in the .COM file.  For
  179.                use with a composite monochrome display,
  180.                the values 70h, 07h, and 07h are
  181.                suggested.
  182. @@CHANGE.COM
  183. CHANGE                              Michael J. Mefford
  184. Command                                    1986/No. 19
  185. ______________________________________________________
  186.  
  187. Purpose:  Performs a rapid search-and-replace operation
  188.           for text strings and/or ASCII decimal codes
  189.           throughout a file of maximum 40,000-byte
  190.           length.
  191.  
  192. Format:   CHANGE filespec findstring replacestring
  193.  
  194. Remarks:  The filespec parameter may include a drive
  195.           letter and a path in addition to the
  196.           designated filename.
  197.  
  198.           Findstring and replacestring may consist of
  199.           text characters enclosed within (double)
  200.           quote marks or ASCII decimal codes whose
  201.           numbers are separated by commas.  Note that
  202.           the format requires that each parameter be
  203.           separated by a single space.  Text strings in
  204.           quotes and ASCII values in numerals may be
  205.           combined in either string if separated by
  206.           commas.
  207.  
  208. Example:  To change all references to Miss Jones to
  209.           Mrs. Smith in the file NOGOSSIP.ART on the
  210.           current directory, you would enter
  211.  
  212.           CHANGE NOGOSSIP.ART "Miss Jones" "Mrs. Smith"
  213.  
  214. Example:  To strip out all carriage return-line feeds
  215.           (i.e. replace them with a null string) in the
  216.           file MCI.B16 in the \COMM subdirectory, enter
  217.  
  218.           CHANGE \COMM\MCI.B16 13,10 ""
  219.  
  220.           Notes:
  221.  
  222.           1.   In the second example you might want to
  223.                use a space between the quote marks
  224.                rather than a null string to keep the
  225.                words from running together.  Observe
  226.                that by putting the number of the month
  227.                in hexadecimal (B=November) you can fit
  228.                both month and day within the three-
  229.                character DOS filename extension.
  230. @@COPYSAFE.COM
  231. COPYSAFE                            Michael J. Mefford
  232. Command                                     1987/No. 6
  233. ______________________________________________________
  234.  
  235. Purpose:  Prevents accidentally over-writing files when
  236.           using the COPY command.
  237.  
  238. Format:   [d:][path]COPYSAFE
  239.  
  240. Remarks:  COPYSAFE is a memory-resident utility that
  241.           displays the filename(s), drive, and
  242.           directory of any file that will be
  243.           overwritten if a COPY command is executed.
  244.           After being warned, you are given the
  245.           opportunity either to terminate the COPY
  246.           procedure or to continue, and so overwrite
  247.           the file(s).
  248.  
  249.           COPYSAFE should be loaded only once per
  250.           session.  The best procedure is to include it
  251.           in an AUTOEXEC.BAT file.  Be sure, however,
  252.           to load COPYSAFE after any commands (such as
  253.           DATE or TIME) that pause for user input.
  254.  
  255.           Notes:
  256.  
  257.           1.   Because of the way DOS processes
  258.                commands in a batch file, COPYSAFE
  259.                cannot warn against accidental
  260.                overwriting if you run COPY as part of a
  261.                .BAT file.  Similarly, it is not
  262.                designed to handle instances in which
  263.                the COPY command is used to concatenate
  264.                files.
  265.  
  266.           2.   COPYSAFE is highly compatible with other
  267.                memory-resident programs, but because
  268.                absolute compatibility among all
  269.                possible TSR (terminate but stay
  270.                resident) utilities cannot be
  271.                guaranteed, you should check its
  272.                operation on your system thoroughly
  273.                before you rely on it completely.
  274.  
  275. @@CS.COM
  276. CS (EGA Clear Screen)                  Charles Petzold
  277. Command                                    1986/No. 15
  278. ______________________________________________________
  279.  
  280. Purpose:  Clears the screen when using displays of more
  281.           than 25 lines.
  282.  
  283. Format:   [d:][path]CS
  284.  
  285. Remarks:  The DOS CLS command is hard-coded for 25-line
  286.           displays, and so does not fully clear the
  287.           screen when using 43-line (or similar) EGA
  288.           displays.  CS is a simple replacement for CLS
  289.           in such cases.
  290. @@DIRCOMP.COM
  291. DIRCOMP                                Charles Petzold
  292. Command                         1987/No. 2 (Lab Notes)
  293. ______________________________________________________
  294.  
  295. Purpose:  Permits comparison of the contents of two
  296.           directories in alphabetical order, with the
  297.           options of redirecting the screen display
  298.           either to a file or to a printer.
  299.  
  300. Format:   DIRCOMP directory1 directory2
  301.  
  302. Remarks:  The directories to be compared do not need to
  303.           be on the same drive.  Use the normal DOS
  304.           backslash (\) character in specifying the
  305.           path to a desired directory.  The DOS
  306.           "wildcard" characters (* and ?) may be used
  307.           to limit the filenames displayed.
  308.  
  309.           Identically-named files are shown side-by-
  310.           side to facilitate comparison of their size,
  311.           date, and time.  Other filenames are
  312.           presented alphabetically in their respective
  313.           directory columns.  Use Ctrl-NumLock to halt
  314.           the display scrolling temporarily; striking
  315.           any key thereafter causes scrolling to
  316.           resume.
  317.  
  318.           In comparing large directories it is
  319.           frequently desirable to redirect the output
  320.           of DIRCOMP either to a file (which you can
  321.           then call up with your word processor) or to
  322.           a printer.
  323.  
  324. Example:  To create a file called COMPARE.TMP in the
  325.           root directory of drive C: (your currently
  326.           active drive) that compares the listings in
  327.           your \LETTERS subdirectory with the files
  328.           contained on a floppy disk in drive B: you
  329.           would enter:
  330.  
  331.           DIRCOMP \LETTERS B: > \COMPARE.TMP
  332.  
  333. Example:  To print out the same comparison without
  334.           creating a file, you would enter:
  335.  
  336.           DIRCOMP \LETTERS B: > PRN
  337.  
  338.           Notes:
  339.  
  340.           1.   DIRCOMP does not provide
  341.                forward/backward scrolling capabilities.
  342.                If these are desired as an alternative
  343.                to alphabetical listings, use
  344.                SCANDIR.COM, which is also contained on
  345.                this disk.
  346. @@DIREX.COM
  347. DIREX                                   Steven Holzner
  348. Command                                     1987/No. 1
  349. ______________________________________________________
  350.  
  351. Purpose:  Facilitates copying, deleting, protecting, or
  352.           unprotecting selected files in a directory.
  353.  
  354. Format:   DIREX [d:][filespec]
  355.  
  356. Remarks:  DIREX displays up to 121 filenames on screen;
  357.           the ? and * "wildcards" can be used to
  358.           restrict the number of displayed entries.
  359.           The cursor arrow keys are used to move a
  360.           reverse-video highlight bar from one filename
  361.           to another.  When a filename is highlighted
  362.           it can be selected for further treatment by
  363.           pressing the spacebar.  (A mistakenly marked
  364.           file can be deselected by pressing the
  365.           spacebar a second time.)
  366.  
  367.           Single-letter commands implement any one of
  368.           the following actions on any marked files:
  369.  
  370.           C  Copy (you are prompted for a new path)
  371.           D  Delete
  372.           P  Protect (makes read-only)
  373.           U  Unprotect (makes read-write)
  374.  
  375.           N  Change to a new directory
  376.           Q  Quit
  377.  
  378.           Notes:
  379.  
  380.           1.   In handling very large subdirectories,
  381.                the NO.COM utility (1986 No. 9, and
  382.                contained on PC Utilities Disk 1) can
  383.                also be used in conjunction with DIREX
  384.                to inhibit display of one or more groups
  385.                of filenames.
  386. @@DISKPREP.COM
  387. DISKPREP                                  Jeff Prosise
  388. Command                                    l986/No. 21
  389. ______________________________________________________
  390.  
  391. Purpose:  Permits making a floppy disk self-booting
  392.           even if the DOS "system" files were omitted
  393.           when the disk was formatted and program files
  394.           have subsequently been added to it.
  395.  
  396. Format:   DISKPREP [d:]
  397.                followed by:
  398.           SYS [d:] (a DOS command)
  399.           COPY COMMAND.COM [d:] (a DOS command)
  400.  
  401. Remarks:  In addition to having a copy of COMMAND.COM,
  402.           diskettes formatted with the /S (system)
  403.           option contain the two "hidden" files,
  404.           IBMBIO.COM and IBMDOS.COM, as the first two
  405.           entries in the disk directory.  (The clusters
  406.           for IBMBIO.COM must be contiguous.)  A non-
  407.           system disk stores regular files in the areas
  408.           where the "system" files must reside if the
  409.           disk is to be self-booting.
  410.  
  411.           DISKPREP relocates clusters currently used by
  412.           non-system files to other areas on the disk,
  413.           updating the disk directory and file
  414.           allocation table accordingly.  After running
  415.           DISKPREP, the DOS SYS command can install the
  416.           hidden system files in their proper
  417.           locations, and the DOS COPY command can be
  418.           used to put COMMAND.COM on the disk.
  419.  
  420.           DISKPREP does not support high-density (1.2
  421.           megabyte) diskettes, 3 1/2-inch disk
  422.           cartridges, or hard disks.  However, provided
  423.           sufficient room remains on the disk, DISKPREP
  424.           can be used to upgrade the DOS version on a
  425.           self-booting disk.  Attempting to replace a
  426.           later DOS version with an earlier (lower
  427.           numbered) one is not recommended.
  428.  
  429.           Notes:
  430.  
  431.           1.   DISKPREP should not be used on floppy
  432.                disks that already contain
  433.                subdirectories.
  434.  
  435.           2.   Since copy-protected disks often employ
  436.                non-standard sectoring for their own
  437.                purposes, DISKPREP is not recommended
  438.                for use on such disks.
  439. @@DRAW.COM
  440. DRAW                                Michael J. Mefford
  441. Command                                     1987/No. 9
  442. ______________________________________________________
  443.  
  444. Purpose:  Provides low-resolution (320 x 200) color or
  445.           high-resolution (640 x 200) monochrome
  446.           drawing capabilities on a color, enhanced
  447.           color, or (with some MGA boards) a monochrome
  448.           display, without the need to work in BASIC.
  449.  
  450. Format:   [d:][path]DRAW[/K]  (Option I)
  451.           [d:][path]DRAW string[/K]  (Option I)
  452.           [d:][path]DRAW filespec/F[/K]  (Option II)
  453.  
  454. Remarks:  Entered at the DOS prompt with no arguments
  455.           on the command line (Option I), DRAW looks in
  456.           the current directory for a file named
  457.           DRAW.DAT and executes the commands in that
  458.           file.  A sample DRAW.DAT file is included on
  459.           this disk.  The file can be examined, and
  460.           similar files created, with a regular ASCII
  461.           word processor.
  462.  
  463.           Alternatively, DRAW can be entered with a
  464.           string of commands (Option II, for a simple
  465.           graphic) or with the name of a file
  466.           consisting of commands (Option III).  Any
  467.           legal DOS filename may be used, and full path
  468.           support is provided, but a /F terminator must
  469.           be appended to the filename.  An optional /K
  470.           may be added to prevent a keystroke from
  471.           halting execution.
  472.  
  473. Example:  You can get a feel for how DRAW operates by
  474.           entering, at the DOS prompt:
  475.  
  476.           DRAW X0 C2 BU50 M+40,70 L80 M+40,-70 BD5 P2,2
  477.  
  478.           This will create a red triangle in the middle
  479.           of your screen.  You can trace the specific
  480.           steps in this command sequence by referring
  481.           to The DRAW Command Set table, presented on
  482.           succeeding pages in this manual.
  483.  
  484.              The DRAW Command Set
  485.  
  486. Xn   Change to low resolution 320X200 color graphics.
  487.  
  488.      If X is not found, the default is 640X200 high
  489.      resolution black and white graphics.  X must be
  490.      the first character of the command line or the
  491.      first character in a file.
  492.  
  493.      The palette will be changed to n, where n can be
  494.      either zero or one.  See C color command below for
  495.      the color of each palette.
  496.  
  497. K    Do not poll the keyboard while drawing.  If K is
  498.      not found, any keystroke terminates the program.
  499.  
  500. Sn   Flood the screen color to pattern n.  n must be a
  501.      decimal number in the range 0-255, and represents
  502.      an eight bit pattern.  Normally this command is
  503.      issued immediately after the X command (if
  504.      present), to clear the screen with a background
  505.      color other than black.  For example, to clear to
  506.      color red (2) in low resolution, the command is
  507.      S170 (binary 10101010).
  508.  
  509.          color          320X200          640X200
  510.            0               0                0
  511.            1              85              255
  512.            2             170               NA
  513.            3             255               NA
  514.  
  515.      Pattern colors may also be used.  For example, a
  516.      pattern of half green and half black would be S58
  517.      (binary 01000100).  In high resolution, each bit
  518.      represents a dot, eight dots per byte.  This is
  519.      why only two colors (black or white) are
  520.      available.  In low resolution, there are two bits
  521.      per dot, so four combinations can be represented.
  522.      In the example here the sequence is 01 (green), 00
  523.      (black), 01 (green), 00 (black).  See C (color)
  524.      command below for complete coding of the colors.
  525.  
  526. U,D,L,R,E,F,G,H
  527.      These commands, followed by a number, will move in
  528.      one of the following compass directions:
  529.  
  530.                           U
  531.                   H       |       E
  532.                     \     |     /
  533.                       \   |   /
  534.                         \ | /
  535.                L -- -- -- + -- -- -- R
  536.                         / | \
  537.                       /   |   \
  538.                     /     |     \
  539.                   G       |       F
  540.                           D
  541.  
  542. Mx,y Move x,y units either relative to the current
  543.      position or to the absolute coordinates, x,y.  If
  544.      the x coordinate is prefaced with either a plus
  545.      sign or minus sign, the move is relative.
  546.      Otherwise, the move is absolute.  Note, you do not
  547.      need to include a plus sign in front of the y
  548.      coordinate in a positive y move.
  549.  
  550. Pp,b Paint the color p until the border color b is
  551.      found.  The paint originates from the current
  552.      position.
  553.  
  554. B    Blank move.  The move following a B will move the
  555.      desired units without plotting points.  The next
  556.      command will then continue drawing.
  557.  
  558. N    No update.  The draw command following an N
  559.      command will plot points, but the position will
  560.      not be updated.  The next draw command will start
  561.      at the same position as the last.
  562.  
  563. Cn   Change the color to n.  All draws after a C
  564.      command will be in color n.  n can be 0 (black) or
  565.      1 (white) in high resolution and 0 to 3 in low
  566.      resolution.  In low resolution, the color is
  567.      dependent on the palette.
  568.  
  569.                        320X200                 640X200
  570.      color     palette 0     palette 1
  571.        0         black         black            black
  572.        1         green         cyan             white
  573.        2         red           magenta          NA
  574.        3         yellow        white            NA
  575.  
  576.                    RELATED COMMANDS
  577.  
  578.           Four commands, BSAVE.COM, BLOAD.COM,
  579.           LOWRES.COM, and HIGHRES.COM, are included on
  580.           this disk to speed the display of pictures
  581.           created by DRAW.  (BSAVE and BLOAD may also
  582.           be used with text screens for instant
  583.           presentation.)  The command
  584.  
  585.                BSAVE filespec
  586.  
  587.           saves a byte image of the screen buffer to a
  588.           file (with optional drive and path
  589.           specifications), and
  590.  
  591.                BLOAD filespec
  592.  
  593.           writes the saved image back to the screen
  594.           buffer.
  595.  
  596.           LOWRES and HIGHRES are used in batch files
  597.           with BLOAD to set the appropriate display
  598.           resolution.
  599.  
  600. Example:  Create the following batch file, SAVE.BAT,
  601.           using an ASCII word processor, EDLIN, or COPY
  602.           CON:
  603.  
  604.                ECHO OFF
  605.                DRAW MOVIE.DAT/F
  606.                BSAVE PICTURE
  607.  
  608.           Now, similarly create a second batch file,
  609.           INSTANT.BAT:
  610.  
  611.                ECHO OFF
  612.                LOWRES
  613.                BLOAD PICTURE
  614.                PLAY STING.DAT/F
  615.                PAUSE > NUL
  616.                MODE CO80
  617.  
  618.           If you now enter INSTANT at the DOS prompt
  619.           the picture of two con men will appear, with
  620.           appropriate musical background.  Pressing any
  621.           keystroke will clear the display.
  622.  
  623.           Note:
  624.  
  625.           1.   The PAUSE > NUL line in INSTANT.BAT
  626.                prevents the DOS prompt from intruding
  627.                on the picture, but will not work on DOS
  628.                versions prior to DOS 3.
  629. @@EGA12.COM
  630. EGA12                                  Charles Petzold
  631. Command                                    1986/No. 15
  632. ______________________________________________________
  633.  
  634. Purpose:  Resets number of screen rows to 12 when used
  635.           with an EGA and a 350-line (Enhanced Color or
  636.           Monochrome) monitor.
  637.  
  638. Format:   [d:][path]EGA12
  639.  
  640. Remarks:  EGA12 can be used in DOS and with "EGA-aware"
  641.           applications programs such as XyWrite III and
  642.           Microsoft Word 3.0.   Applications that reset
  643.           the video mode on entry will revert to 25
  644.           lines per page.
  645.  
  646.           When used together with EGAMODE 1 (a 40-
  647.           column mode), EGA12 produces a more normal
  648.           aspect ratio with large-size characters.
  649.  
  650.           When entering the 12-line mode the screen may
  651.           momentarily contract or roll once.  This is
  652.           normal and will cause no harm.  You can
  653.           return to the normal 25-line mode by entering
  654.           either of the following:
  655.  
  656.                EGAMODE 3  (EGAMODE 7 for monochrome)
  657.                EGA25
  658.  
  659.           These commands are included on this disk.
  660.           The DOS MODE CO80 (or MODE MONO) commands
  661.           will also restore normal 25-line operation.
  662.  
  663.           To clear the screen in 12-line mode, use the
  664.           CS command contained on this disk.  (The DOS
  665.           CLS command is hard-coded for 25 lines.)  See
  666.           also the EGAPRTSC entry in this manual for
  667.           using an EGA-aware Print Screen command.
  668.  
  669.           The IBM EGA BIOS loses the cursor (on the
  670.           Enhanced Color Display) and the underscore
  671.           (on the Monochrome Display) when it has to
  672.           recalculate the number of displayable rows,
  673.           and this bug is normally duplicated by other
  674.           EGA boards.  The bug is fixed in EGA12.
  675.  
  676.           Notes:
  677.  
  678.           1.   ANSI.SYS should not be used with EGA12.
  679.  
  680.           2.   Because EGA12 uses an 8- x 14-pixel
  681.                character box size, it can show only 7
  682.                lines per page when used with a regular,
  683.                200-line Color Display.
  684. @@EGA25.COM
  685. EGA25                                  Charles Petzold
  686. Command                                    1986/No. 15
  687. ______________________________________________________
  688.  
  689. Purpose:  Resets the EGA default font and 25-row
  690.           display after using programs (several of
  691.           which are on this disk) that change these
  692.           conditions when using an EGA and a 350-line
  693.           (Enhanced Color or Monochrome) monitor.
  694.  
  695. Format:   [d:][path]EGA25
  696.  
  697. Remarks:  When re-entering the 25-line mode the screen
  698.           may momentarily contract or roll once.  This
  699.           is normal and will cause no harm.  Alternate
  700.           ways of returning to the normal 25-line mode
  701.           include issuing the command EGAMODE 3 (color)
  702.           or EGAMODE 7 (monochrome).  These commands
  703.           are included on this disk.  The DOS MODE CO80
  704.           (or MODE MONO) commands will also restore
  705.           normal 25-line operation.
  706.  
  707.           Note:
  708.  
  709.           1.   Because EGA25 uses an 8- x 14-pixel
  710.                character box size, it can show only 14
  711.                lines per page when used with a regular
  712.                200-line Color Display.
  713. @@EGA35.COM
  714. EGA35                                  Charles Petzold
  715. Command                                    1986/No. 15
  716. ______________________________________________________
  717.  
  718. Purpose:  Resets number of screen rows to 35 when used
  719.           with a 350-line (Enhanced Color or
  720.           Monochrome) monitor and an EGA.
  721.  
  722. Format:   [d:][path]EGA35
  723.  
  724. Remarks:  EGA35 can be used in DOS and with "EGA-aware"
  725.           applications programs such as XyWrite III and
  726.           Microsoft Word 3.0.   Applications that reset
  727.           the video mode will revert to 25 lines per
  728.           page; some others may write only to the top
  729.           25 of the 35 displayable lines.
  730.  
  731.           When entering the 35-line mode the screen may
  732.           momentarily contract or roll once.  This is
  733.           normal and will cause no harm.  You can
  734.           return to the normal 25-line mode by entering
  735.           any of the following:
  736.  
  737.                EGAMODE 3  (EGAMODE 7 for monochrome)
  738.                EGA25
  739.  
  740.           These commands are included on this disk.
  741.           The DOS MODE CO80 (or MODE MONO) commands
  742.           will also restore normal 25-line operation.
  743.  
  744.           To clear the screen in 35-line mode, use the
  745.           CS command contained on this disk.  (The DOS
  746.           CLS command is hard-coded for 25 lines.)  See
  747.           also the EGAPRTSC entry in this manual for
  748.           using an EGA-aware Print Screen command.
  749.  
  750.           The IBM EGA BIOS loses the cursor (on the
  751.           Enhanced Color Display) and the underscore
  752.           (on the Monochrome Display) when it has to
  753.           recalculate the number of displayable rows,
  754.           and this bug is normally duplicated by other
  755.           EGA boards.  The bug is fixed in EGA35.
  756.  
  757.           Notes:
  758.  
  759.           1.   ANSI.SYS should not be used with EGA35.
  760.  
  761.           2.   Because EGA35 uses an 8- x 14-pixel
  762.                character box size, it can show only 20
  763.                lines per page when used with a regular,
  764.                200-line Color Display.
  765. @@EGA43.COM
  766. EGA43                                  Charles Petzold
  767. Command                                    1986/No. 15
  768. ______________________________________________________
  769.  
  770. Purpose:  Resets number of screen rows to 43 when used
  771.           with an EGA and a 350-line (Enhanced Color or
  772.           Monochrome) monitor.
  773.  
  774. Format:   [d:][path]EGA43
  775.  
  776. Remarks:  EGA43 can be used in DOS and with "EGA-aware"
  777.           applications programs such as XyWrite III and
  778.           Microsoft Word 3.0.  (Details on patching
  779.           WordStar for a 43-row display are given in
  780.           the published article.)  Applications that
  781.           reset the video mode on entry will revert to
  782.           25 lines per page; some others may write only
  783.           to the top 25 of the 43 displayable lines.
  784.  
  785.           When entering the 43-line mode the screen may
  786.           momentarily contract or roll once.  This is
  787.           normal and will cause no harm.  You can
  788.           return to the normal 25-line mode by entering
  789.           any of the following:
  790.  
  791.                EGAMODE 3  (EGAMODE 7 for monochrome)
  792.                EGA25
  793.  
  794.           These commands are included on this disk.
  795.           The DOS MODE CO80 (or MODE MONO) commands
  796.           will also restore normal 25-line operation.
  797.  
  798.           To clear the screen in 43-line mode, use the
  799.           CS command contained on this disk.  (The DOS
  800.           CLS command is hard-coded for 25 lines.)  See
  801.           also the EGAPRTSC entry in this manual for
  802.           using an EGA-aware Print Screen command.
  803.  
  804.           The IBM EGA BIOS loses the cursor (on the
  805.           Enhanced Color Display) and the underscore
  806.           (on the Monochrome Display) when it
  807.           recalculates the number of displayable rows,
  808.           and this bug is normally duplicated by other
  809.           EGA boards.  The bug is fixed in EGA43.
  810.  
  811.           Note:
  812.  
  813.           1.   ANSI.SYS should not be used with EGA43.
  814.                Similarly, because EGA43 uses an 8 x 14
  815.                pixel character box size, 200-line Color
  816.                Monitors will show only a 25-line
  817.                display.
  818. @@EGA50.COM
  819. EGA50                                  Charles Petzold
  820. Command                                    1986/No. 15
  821. ______________________________________________________
  822.  
  823. Purpose:  Resets number of screen rows to 50 when used
  824.           with an EGA and a 350-line (Enhanced Color or
  825.           Monochrome) monitor.
  826.  
  827. Format:   [d:][path]EGA50
  828.  
  829. Remarks:  EGA50 can be used in DOS and with "EGA-aware"
  830.           applications programs such as XyWrite III and
  831.           Microsoft Word 3.0.   Applications that reset
  832.           the video mode on entry will revert to 25
  833.           lines per page; some others may write only to
  834.           the top 25 of the 50 displayable lines.
  835.  
  836.           When entering the 50-line mode the screen may
  837.           momentarily contract or roll once.  This is
  838.           normal and will cause no harm.  You can
  839.           return to the normal 25-line mode by entering
  840.           any of the following:
  841.  
  842.                EGAMODE 3  (EGAMODE 7 for monochrome)
  843.                EGA25
  844.  
  845.           These commands are included on this disk.
  846.           The DOS MODE CO80 (or MODE MONO) commands
  847.           will also restore normal 25-line operation.
  848.  
  849.           To clear the screen in 50-line mode, use the
  850.           CS command contained on this disk.  (The DOS
  851.           CLS command is hard-coded for 25 lines.)  See
  852.           also the EGAPRTSC entry in this manual for
  853.           using an EGA-aware Print Screen command.
  854.  
  855.           The IBM EGA BIOS loses the cursor (on the
  856.           Enhanced Color Display) and the underscore
  857.           (on the Monochrome Display) when it has to
  858.           recalculate the number of displayable rows,
  859.           and this bug is normally duplicated by other
  860.           EGA boards.  The bug is fixed in EGA50.
  861.  
  862.           Notes:
  863.  
  864.           1.   ANSI.SYS should not be used with EGA50.
  865.  
  866.           2.   Because EGA50 uses an 8- x 14-pixel
  867.                character box size, it can show only 28
  868.                lines per page when used with a regular,
  869.                200-line Color Display.
  870. @@EGA12.COM
  871. EGA512                                 Charles Petzold
  872. Command                                    1986/No. 15
  873. ______________________________________________________
  874.  
  875. Purpose:  Permits switching between two loaded EGA
  876.           fonts when used with a 350-line (Enhanced
  877.           Color or monochrome) monitor and software
  878.           that supports display of bold characters.
  879.  
  880. Format:   [d:][path]EGA512 x y
  881.  
  882. Remarks:  The values of x and y may range from 0
  883.           through 3, and correspond to the EGA memory
  884.           blocks into which fonts can be loaded.  The x
  885.           parameter corresponds to the font that will
  886.           be displayed with normal (low intensity)
  887.           characters.  The y parameter accesses the
  888.           font that will be displayed with high-
  889.           intensity (boldface) characters.
  890.  
  891. Example:  Load the italic font into EGA memory block 1
  892.           with the command
  893.  
  894.              EGAITAL 1
  895.  
  896.           Then enter the command
  897.  
  898.              EGA512 0 1
  899.  
  900.           If your word processor supports on-screen
  901.           boldface and does not reset the video mode on
  902.           entry, regular characters will now appear
  903.           normally and boldface characters will appear
  904.           in italics.
  905.  
  906.           To restore the normal display, enter
  907.  
  908.              EGA512 0 0
  909.  
  910.           Notes:
  911.  
  912.           1.   The published article (Volume 6, Nos. 14
  913.                and 15) contains suggestions for
  914.                remapping the EGA palette registers to
  915.                use other attributes (e.g. blinking,
  916.                underline) instead of the intensity
  917.                attribute.
  918. @@EGACOLOR.COM
  919. EGACOLOR                               Charles Petzold
  920. Command                                    1986/No. 14
  921. ______________________________________________________
  922.  
  923. Purpose:  Permits temporarily remapping any of the 16
  924.           default colors displayable on a 200-line CGA
  925.           monitor to any of the 64 colors displayable
  926.           on a 350-line Enhanced Color Display
  927.           connected to an Enhanced Graphics Adapter.
  928.  
  929. Format:   EGACOLOR XX YY
  930.  
  931. Remarks:  The parameters XX and YY are 2-digit octal
  932.           (base 8) numbers derived from the table shown
  933.           below.  Values for XX may range from 00 to
  934.           17; values for YY may range from 00 to 77.
  935.  
  936.                  IRGB code         Default rgbRGB map
  937.              ------------------    -------------------
  938. Color        binary  octal  hex    binary   octal  hex
  939. -----        ------  -----  ---    ------   -----  ---
  940. Black         0000     00    00    000000     00    00
  941. Blue          0001     01    00    000001     01    01
  942. Green         0010     02    02    000010     02    02
  943. Cyan          0011     03    03    000011     03    03
  944. Red           0100     04    04    000100     04    04
  945. Magenta       0101     05    05    000101     05    05
  946. Brown         0110     06    06    010100     24    14
  947. White         0111     07    07    000111     07    07
  948. Dark Grey     1000     10    08    111000     70    38
  949. Light Blue    1001     11    09    111001     71    39
  950. Light Green   1010     12    0A    111010     72    3A
  951. Light Cyan    1011     13    0B    111011     73    3B
  952. Light Red     1100     14    0C    111100     74    3C
  953. Light Magenta 1101     15    0D    111101     75    3D
  954. Yellow        1110     16    0E    111110     76    3E
  955. Bright White  1111     17    0F    111111     77    3F
  956.  
  957.           The first digit in the 2-digit octal number
  958.           represents the 1/3-intensity rgb signal; the
  959.           second is the 2/3-intensity RGB signal.
  960.  
  961. Example:  To change black to blue and white to yellow
  962.           (yellow letters on a black screen), execute
  963.  
  964.                EGACOLOR 00 01
  965.                EGACOLOR 07 76
  966.  
  967.           Notes:
  968.           1.   Changing modes resets the default EGA
  969.                colors.  To create more permanent
  970.                mappings, use either the EGAPRMOV.COM
  971.                and EGACOSET.COM utilities or
  972.                SPECTRUM.COM, all of which are also
  973.                contained on this disk.
  974. @@EGACOSET.COM
  975. EGACOSET (and EGAPRMOV)                Charles Petzold
  976. Commands                                   1986/No. 14
  977. ______________________________________________________
  978.  
  979. Purpose:  Loads a customizable 16 (of 64) color palette
  980.           that is reloaded each time video mode 3 is
  981.           set.
  982.  
  983. Format:   EGAPRMOV
  984.           EGACOSET
  985.  
  986. Remarks:  EGAPRMOV (parameter move) is a memory-
  987.           resident program that moves the EGA ROM BIOS
  988.           parameter table and seven pointers into RAM,
  989.           where it can be accessed by EGACOSET (color
  990.           set).  EGAPRMOV is run once each session,
  991.           normally through your AUTOEXEC.BAT file.
  992.  
  993.           Running EGACOSET maps a color scheme of your
  994.           choice to each of the 16 EGA registers.
  995.           These color settings are then activated by
  996.           entering the EGAMODE 3 command (described
  997.           elsewhere in this manual) or by issuing the
  998.           DOS MODE CO80 command.  Thus, to bring up
  999.           your color scheme each time you boot up, you
  1000.           would put the following three lines in your
  1001.           AUTOEXEC.BAT file:
  1002.  
  1003.                EGAPRMOV
  1004.                EGACOSET
  1005.                EGAMODE 3
  1006.  
  1007.           The EGACOSET.COM program on this disk
  1008.           contains the default EGA for a 350-line
  1009.           monitor.  These are, sequentially (in hex):
  1010.  
  1011.           Black        00      Dark Grey       38
  1012.           Blue         01      Light Blue      39
  1013.           Green        02      Light Green     3A
  1014.           Cyan         03      Light Cyan      3B
  1015.           Red          04      Light Red       3C
  1016.           Magenta      05      Light Magenta   3D
  1017.           Brown        14      Yellow          3E
  1018.           White        07      Bright White    3F
  1019.  
  1020.           Entering
  1021.  
  1022.                DEBUG EGACOSET.COM
  1023.                d<Enter>
  1024.  
  1025.           displays the offsets and hex values of the
  1026.           entire 43-byte program:
  1027.  
  1028. :0100  FC 29 C0 8E C0 26 C4 3E-A8 04 26 C4 3D BE 1B 01
  1029. :0110  81 C7 A3 05 B9 10 00 F3-A4 CD 20 00 01 02 03 04
  1030. :0120  05 14 07 38 39 3A 3B 3C-3D 3E 3F
  1031.  
  1032.           Entering e 11b returns the first color value
  1033.           (00), followed by a period (.).  Type in the
  1034.           hex value of the desired color after the
  1035.           period and hit Enter.  After changing as many
  1036.           values as desired, use the w and q commands,
  1037.           with a carriage return after each, to write
  1038.           the changes to disk and end the DEBUG
  1039.           session.
  1040.  
  1041. Example:  To remap black (00) to blue (01), white (07)
  1042.           to bright yellow (3E), and bright white (3F)
  1043.           to bright green (3A), you would enter:
  1044.  
  1045.                DEBUG EGACOSET.COM
  1046.                e 11b
  1047.                01
  1048.                e 122
  1049.                3E
  1050.                e 12A
  1051.                3A
  1052.                w
  1053.                q
  1054.  
  1055.           Notes:
  1056.  
  1057.           1.   To use EGACOSET.COM with a regular 200-
  1058.                line color monitor, change the byte (A3)
  1059.                at offset :0112 to E3 and the byte (05)
  1060.                at :0113 to 00.  In this configuration,
  1061.                restrict the colors selected to the 16
  1062.                values from 00 through 0F.
  1063.  
  1064.           2.   SPECTRUM.COM, also contained on this
  1065.                disk, provides an alternate way to
  1066.                provide a customizable 16-color palette
  1067.                for an Enhanced Color Display connected
  1068.                to an EGA.
  1069. @@EGAPRMOV.COM
  1070. EGAPRMOV (and EGACOSET)                Charles Petzold
  1071. Commands                                   1986/No. 14
  1072. ______________________________________________________
  1073.  
  1074. Purpose:  Loads a customizable 16 (of 64) color palette
  1075.           that is reloaded each time video mode 3 is
  1076.           set.
  1077.  
  1078. Format:   EGAPRMOV
  1079.           EGACOSET
  1080.  
  1081. Remarks:  EGAPRMOV (parameter move) is a memory-
  1082.           resident program that moves the EGA ROM BIOS
  1083.           parameter table and seven pointers into RAM,
  1084.           where it can be accessed by EGACOSET (color
  1085.           set).  EGAPRMOV is run once each session,
  1086.           normally through your AUTOEXEC.BAT file.
  1087.  
  1088.           Running EGACOSET maps a color scheme of your
  1089.           choice to each of the 16 EGA registers.
  1090.           These color settings are then activated by
  1091.           entering the EGAMODE 3 command (described
  1092.           elsewhere in this manual) or by issuing the
  1093.           DOS MODE CO80 command.  Thus, to bring up
  1094.           your color scheme each time you boot up, you
  1095.           would put the following three lines in your
  1096.           AUTOEXEC.BAT file:
  1097.  
  1098.                EGAPRMOV
  1099.                EGACOSET
  1100.                EGAMODE 3
  1101.  
  1102.           The EGACOSET.COM program on this disk
  1103.           contains the default EGA for a 350-line
  1104.           monitor.  These are, sequentially (in hex):
  1105.  
  1106.           Black        00      Dark Grey       38
  1107.           Blue         01      Light Blue      39
  1108.           Green        02      Light Green     3A
  1109.           Cyan         03      Light Cyan      3B
  1110.           Red          04      Light Red       3C
  1111.           Magenta      05      Light Magenta   3D
  1112.           Brown        14      Yellow          3E
  1113.           White        07      Bright White    3F
  1114.  
  1115.           Entering
  1116.  
  1117.                DEBUG EGACOSET.COM
  1118.                d<Enter>
  1119.  
  1120.           displays the offsets and hex values of the
  1121.           entire 43-byte program:
  1122.  
  1123. :0100  FC 29 C0 8E C0 26 C4 3E-A8 04 26 C4 3D BE 1B 01
  1124. :0110  81 C7 A3 05 B9 10 00 F3-A4 CD 20 00 01 02 03 04
  1125. :0120  05 14 07 38 39 3A 3B 3C-3D 3E 3F
  1126.  
  1127.           Entering e 11b returns the first color value
  1128.           (00), followed by a period (.).  Type in the
  1129.           hex value of the desired color after the
  1130.           period and hit Enter.  After changing as many
  1131.           values as desired, use the w and q commands,
  1132.           with a carriage return after each, to write
  1133.           the changes to disk and end the DEBUG
  1134.           session.
  1135.  
  1136. Example:  To remap black (00) to blue (01), white (07)
  1137.           to bright yellow (3E), and bright white (3F)
  1138.           to bright green (3A), you would enter:
  1139.  
  1140.                DEBUG EGACOSET.COM
  1141.                e 11b
  1142.                01
  1143.                e 122
  1144.                3E
  1145.                e 12A
  1146.                3A
  1147.                w
  1148.                q
  1149.  
  1150.           Notes:
  1151.  
  1152.           1.   To use EGACOSET.COM with a regular 200-
  1153.                line color monitor, change the byte (A3)
  1154.                at offset :0112 to E3 and the byte (05)
  1155.                at :0113 to 00.  In this configuration,
  1156.                restrict the colors selected to the 16
  1157.                values from 00 through 0F.
  1158.  
  1159.           2.   SPECTRUM.COM, also contained on this
  1160.                disk, provides an alternate way to
  1161.                provide a customizable 16-color palette
  1162.                for an Enhanced Color Display connected
  1163.                to an EGA.
  1164. @@EGAITAL.COM
  1165. EGAITAL                                Charles Petzold
  1166. Command                                    1986/No. 15
  1167. ______________________________________________________
  1168.  
  1169. Purpose:  Produces a displayable italic font from the
  1170.           default EGA font when used with a 350-line
  1171.           (Enhanced Color or Monochrome) monitor.
  1172.  
  1173. Format:   [d:][path]EGAITAL
  1174.  
  1175.                or
  1176.  
  1177.           [d:][path]EGAITAL n
  1178.  
  1179. Remarks:  EGAITAL can be executed directly from the DOS
  1180.           prompt.  The slanting algorithm employed is
  1181.           similar (but not identical) to that used by
  1182.           Microsoft Word to display italics in graphics
  1183.           mode.  The normal character display can be
  1184.           restored by executing one of the DOS MODE
  1185.           commands, by issuing the EGAMODE 3 (color),
  1186.           EGAMODE 7 (monochrome) commands on this disk,
  1187.           or by executing EGA25.COM (also on this
  1188.           disk).
  1189.  
  1190.           The n parameter shown in the second Format
  1191.           above accepts values from 0 (the default)
  1192.           through 3.  It specifies the EGA memory block
  1193.           into which the italic font is loaded.  An EGA
  1194.           with 256K memory can hold up to 4 fonts
  1195.           simultaneously; a 128K EGA, up to 2 fonts.  A
  1196.           64K EGA board is limited to one font.  The
  1197.           EGA512 command, described elsewhere in this
  1198.           manual, allows two fonts to be active
  1199.           simultaneously when using software capable of
  1200.           showing on-screen bold characters.
  1201. @@EGAMODE.COM
  1202. EGAMODE                                Charles Petzold
  1203. Command                                    1986/No. 14
  1204. ______________________________________________________
  1205.  
  1206. Purpose:  Reports/changes the current video mode.
  1207.  
  1208. Format:   [d:][path]EGAMODE [M]
  1209.  
  1210. Remarks:  Entered without the optional M parameter,
  1211.           EGAMODE displays the current video mode.  In
  1212.           text modes, the commands EGAMODE 03 and
  1213.           EGAMODE 07 have the same practical effect as
  1214.           the DOS MODE CO80 and MODE MONO commands,
  1215.           respectively.  The table below lists the M
  1216.           (mode) parameters to which EGAMODE can be
  1217.           switched.
  1218.  
  1219. Mode   Type   Disp.   Resol.  Chars  Box    Colors Pgs.
  1220. ----   ----   -----  -------  -----  ---    ------ ---
  1221. 0&1   Text     CD    200x320  25x40   8x8     16     8
  1222.                ECD   350x320  25x40  14x8    16/64   8
  1223. 2&3   Text     CD    200x640  25x80   8x8     16     8
  1224.                ECD   350x640  25x80  14x8    16/64   8
  1225. 4&5   Graph  CD&ECD  200x320  25x40   8x8      4     1
  1226.  6    Graph  CD&ECD  200x640  25x80  14x8      2     1
  1227.  7    Text    MONO   350x720  25x80  14x9      4     8
  1228.  
  1229. 8,9,10 --- PCjr modes not supported by EGA ---
  1230. 11&12  --- Used internally by EGA for loading fonts ---
  1231.  
  1232. 13    Graph  CD&ECD  200x320  25x40   8x8     16   2(1)
  1233.                                                    4(2)
  1234.                                                    8(3)
  1235. 14    Graph  CD&ECD  200x640  25x80   8x8     16   1(1)
  1236.                                                    2(2)
  1237.                                                    4(3)
  1238. 15    Graph   MONO   350x640  25x80  14x8      4   1(1)
  1239.                                                    2(2)
  1240. 16    Graph    ECD   350x640  25x80  14x8  4/64(1) 1(2)
  1241.                                           16/64(2) 2(3)
  1242.  
  1243. Notes: (1)=64K memory; (2)=128K memory; (3)=256K memory
  1244.  
  1245.           Notes:
  1246.  
  1247.           1.   Users of a Hercules graphics card can
  1248.                activate "page 1" graphics when an EGA
  1249.                is installed with the command sequence:
  1250.  
  1251.                     MODE CO80
  1252.                     EGAMODE 16
  1253.                     MODE MONO
  1254.  
  1255.                Use EGAMODE 14 if your EGA is connected
  1256.                to a conventional color monitor.
  1257.  
  1258.           2.   Should you switch to a mode not
  1259.                supported by your monitor, you can
  1260.                recover by blindly entering EGAMODE 3
  1261.                (color) or EGAMODE 7 (monochrome).
  1262.  
  1263.           3.   By adding 128 to the mode number desired
  1264.                you can change modes without clearing
  1265.                the screen (though the cursor is reset
  1266.                to the upper left).  These high numbered
  1267.                modes may confuse some applications
  1268.                programs, however.
  1269. @@EGAPAGE.COM
  1270. EGAPAGE                                Charles Petzold
  1271. Command                                    1986/No. 14
  1272. ______________________________________________________
  1273.  
  1274. Purpose:  Reports/changes the current video page.
  1275.  
  1276. Format:   [d:][path]EGAPAGE [P]
  1277.  
  1278. Remarks:  Entered without the optional P parameter,
  1279.           EGAPAGE reports which video page is currently
  1280.           active.  The chart presented in this manual
  1281.           for EGAMODE.COM shows which video pages (P
  1282.           parameters, beginning with 0) can be used by
  1283.           each EGA mode.
  1284.  
  1285.           EGAPAGE can be useful when you have material
  1286.           on your screen to which you want to return
  1287.           later.  Entering EGAPAGE 1 activates a new
  1288.           screen while retaining the contents of the
  1289.           default EGAPAGE 0 in memory.  The previous
  1290.           display can subsequently be recalled by
  1291.           issuing the EGAPAGE 0 command.
  1292.  
  1293.           Notes:
  1294.  
  1295.           1.   When using an alternate video page do
  1296.                not change video modes, or the previous
  1297.                display contents will be lost.
  1298.  
  1299.           2.   ANSI.SYS cannot be used with other than
  1300.                video page 0.
  1301. @@EGAPALET.COM
  1302. EGAPALET                               Charles Petzold
  1303. Command                                    1986/No. 14
  1304. ______________________________________________________
  1305.  
  1306. Purpose:  Displays all 64 EGA colors simultaneously on
  1307.           a 350-line color monitor.
  1308.  
  1309. Format:   [d:][path]EGAPALET
  1310.  
  1311. Remarks:  If a number of the color squares look the
  1312.           same at first glance,  adjust the contrast
  1313.           and brightness controls and inspect the
  1314.           screen at close range to confirm that
  1315.           different pixels are being lit.
  1316.  
  1317.           Starting with the upper left square as row 0,
  1318.           column 0, the octal values for each color can
  1319.           be determined directly from the screen.
  1320.           Brown, for example, is octal 24 (row 2,
  1321.           column 4), a value you might enter in the
  1322.           EGACOLOR.COM utility included on this disk.
  1323.  
  1324.           Since the EGA is theoretically limited to
  1325.           simultaneous display of only 16 (of 64)
  1326.           colors, EGAPALET employs the unorthodox
  1327.           technique of remapping eight color registers
  1328.           every 1/430th of a second.  A certain amount
  1329.           of jitter and flickering must therefore be
  1330.           accepted on a PC or XT.  The display is more
  1331.           stable on an AT, but the bottom row of
  1332.           squares is elongated.  If you are using an
  1333.           AT, this can be cured with DEBUG, as follows:
  1334.  
  1335.                DEBUG EGAPALET.COM
  1336.                e 102
  1337.  
  1338.           The value 22. will appear.  After the period,
  1339.           enter 2B and a carriage return.  Then write
  1340.           the modified EGAPALET.COM to disk and quit
  1341.           DEBUG by entering the following commands,
  1342.           each terminated by a carriage return:
  1343.  
  1344.                w
  1345.                q
  1346.  
  1347.           EGAPALET.COM is now patched for the PC AT.
  1348.  
  1349.           Notes:
  1350.  
  1351.           1.   Only 16 colors are available on monitors
  1352.                displaying 200 lines.
  1353. @@EGAPRTSC.COM
  1354. EGAPRTSC                               Charles Petzold
  1355. Command                                    1986/No. 15
  1356. ______________________________________________________
  1357.  
  1358. Purpose:  Replaces the normal Print Screen BIOS routine
  1359.           to permit using the Shift-PrtSc command with
  1360.           EGA displays with more than 25 rows.
  1361.  
  1362. Format:   [d:][path]EGAPRTSC
  1363.  
  1364. Remarks:  Although the EGA BIOS contains a new Print
  1365.           Screen routine usable for screen dumps of
  1366.           displays with 43, 50, 35, or other 25-plus
  1367.           line displays, this routine is not
  1368.           automatically loaded when you boot up with
  1369.           the EGA installed.
  1370.  
  1371.           EGAPRTSC is a memory-resident utility that
  1372.           installs the updated Print Screen routines.
  1373.           If you intend to make more than occasional
  1374.           use of a 43-line display, you should load
  1375.           EGAPRTSC from your AUTOEXEC.BAT file.
  1376.  
  1377.           Notes:
  1378.  
  1379.           1.   EGAPRTSC should be loaded early in the
  1380.                AUTOEXEC.BAT file, before any printer
  1381.                buffers, commands such as PC-DOS
  1382.                GRAPHICS, or other programs that would
  1383.                use interrupt 5.
  1384. @@FREEZE.COM
  1385. FREEZE                                    Jeff Prosise
  1386. Command                                    l986/No. 22
  1387. ______________________________________________________
  1388.  
  1389. Purpose:  Ensures confidentiality of in-memory data
  1390.           when it is necessary to leave a PC running
  1391.           without storing the data to a removable
  1392.           medium or encrypting it.  FREEZE temporarily
  1393.           suspends program operation, blanks the
  1394.           screen, and disables the Ctrl-Alt-Del reboot
  1395.           sequence until a user-entered password (up to
  1396.           64 characters) is re-entered.
  1397.  
  1398. Format:   [filespec]FREEZE
  1399.  
  1400. Remarks:  FREEZE is a memory-resident utility, normally
  1401.           loaded by an AUTOEXEC.BAT file.  After
  1402.           loading, the machine is "locked" by pressing
  1403.           Alt-NumLock and then entering the passphrase
  1404.           of choice.  The passphrase may include any
  1405.           characters except Esc and Enter.  Pressing
  1406.           the Esc key aborts password entry, and
  1407.           pressing Enter initiates the lockdown.
  1408.  
  1409.           The Backspace key may be used to correct
  1410.           incidental mistakes, but care must be
  1411.           exercised, as the characters are not echoed
  1412.           on the screen during entry.  To unlock the
  1413.           machine, simply re-enter the same password
  1414.           and press Enter.  Again, the Backspace and
  1415.           Esc keys can be used to correct or abort
  1416.           password entry.
  1417.  
  1418.           Notes:
  1419.  
  1420.           1.   The password is never stored and may be
  1421.                changed each time FREEZE is invoked with
  1422.                Alt-Numlock.  If an attempt is made to
  1423.                load FREEZE.COM more than once, an error
  1424.                message will result.
  1425.  
  1426.           2.   While FREEZE is believed compatible with
  1427.                most other memory-resident programs,
  1428.                because of the importance of data with
  1429.                which it is expected to be used, it
  1430.                should be thoroughly checked out in your
  1431.                specific configuration.  In particular,
  1432.                FREEZE should be loaded before SideKick.
  1433. @@MAKEBAR.COM
  1434. MAKEBAR                               Robert L. Hummel
  1435. Command                        1987/No. 10 (Lab Notes)
  1436. ______________________________________________________
  1437.  
  1438. Purpose:  Compiles Lotus-style menus for non-Lotus
  1439.           applications programs for use with the
  1440.           SLASHBAR.COM utility contained on this disk.
  1441.  
  1442. Format:   MAKEBAR [path]input_file [path]output_file
  1443.  
  1444. Remarks:  The input_file must contain the keystrokes
  1445.           needed to activate the application program's
  1446.           commands, and it must be constructed using
  1447.           the .BDF format and syntax illustrated by the
  1448.           ASCII-readable DOS.BDF file contained on this
  1449.           disk.  The output_file produced by MAKEBAR is
  1450.           a .BAR file suitable for loading as a pop-up
  1451.           window by SLASHBAR.  Maximum length of the
  1452.           compiled .BAR file is approximately 46,000
  1453.           bytes.
  1454.  
  1455.           Constructing a suitable .BDF file for an
  1456.           application is not a trivial undertaking, and
  1457.           a thorough study of the original article is
  1458.           recommended, if at all possible.  The first
  1459.           step is to organize the commands needed by
  1460.           the application into a menu-tree arrangement
  1461.           similar to the DOS menu tree shown below on
  1462.           the following page.
  1463.  
  1464.           The categories in the left column will appear
  1465.           on the first line of the first menu screen.
  1466.           CLS is immediately run from that screen, so
  1467.           it has no lower branches.
  1468.  
  1469.                          |- COPY
  1470.             |-  FILE   --|- DIR
  1471.             |            |- ERASE
  1472.             |            |- RENAME
  1473.             |            |- TYPE
  1474.             |
  1475.             |            |- ASSIGN
  1476.             |            |            |- PARENT
  1477.             |            |- CHDIR ----|- ROOT
  1478.             |            |            |- OTHER
  1479.             |            |- FORMAT
  1480.             |-  DISK   --|- LABEL
  1481.             |            |- MKDIR
  1482.             |            |- RMDIR
  1483.             |            |- VOL
  1484.             |
  1485.             |            |- DATE
  1486.             |-  SYSTEM  -|- TIME
  1487.             |            |- PROMPT
  1488.             |            |- VER
  1489.             |
  1490.             |-  CLS
  1491.  
  1492. The diagram below shows the basic structure of the
  1493. MENU...MEND blocks from which a .BDF file is
  1494. constructed.  Again, study the DOS.BDF file on this
  1495. disk.
  1496.  
  1497. PROGRAM "NAME" ---------- Identification Name
  1498.  
  1499. MENU NAME -----------------------------------|
  1500.      OPTION    NAME,"HELP LINE" --|          |
  1501.           COMMANDS -|             |          |
  1502.              .      |-- Commands  |-- Option |
  1503.              .      |             |   Block  |
  1504.              .     -|           --|          |-- Menu
  1505.      OPTION    NAME,"HELP LINE"              |   Block
  1506.           COMMANDS                           |
  1507.        .                                     |
  1508.        .                                     |
  1509.        .                                     |
  1510. MEND ----------------------------------------|
  1511.  
  1512. MENU NAME----|
  1513.   .          |  Additional menu
  1514.   .          |--block(s) as
  1515.   .          |  required
  1516. MEND---------|
  1517.  
  1518. END -------- End Of File Indicator
  1519.  
  1520.  
  1521. Precede any comments you may wish to include in a .BDF
  1522. menu file with a semicolon.  MAKEBAR ignores the
  1523. remainder of any line when it encounters the semicolon
  1524. character.  Use the {c}1 key combination to represent
  1525. the semicolon in any names or quoted strings your
  1526. application requires.
  1527.  
  1528. Two types of text entries are used in menu files.  A
  1529. STRING is an entry surrounded by quotes (").  "DOS 3.1"
  1530. and "JiffyCalc Spreadsheet" are examples of valid
  1531. strings.  A string may not contain the quote character,
  1532. but you can use the {c}3 sequence to represent it in a
  1533. string.  A NAME is an entry consisting of a single
  1534. word, and must contain no spaces.  To aid readability,
  1535. separation characters may be used in names:  DO-THIS,
  1536. DO_THAT, DO$IT$NOW, are all valid.  Upper/Lower case is
  1537. preserved in strings, but names are capitalized in the
  1538. output file.
  1539.  
  1540. Strings may contain any character or key combination
  1541. (except the comment and quote characters) that can be
  1542. recognized by the BIOS.  Key combinations in a BDF that
  1543. are not recognized by the BIOS will produce an error
  1544. message.  (There may therefore be some commands for a
  1545. given application that cannot be included in the menu
  1546. structure.)
  1547.  
  1548. Alpha-numeric keys are entered by typing them.  All
  1549. special keys, such as the function keys and shift-key
  1550. combinations are entered in symbolic form as text
  1551. surrounded by braces.  The Shift, Ctrl, and Alt keys
  1552. affect only the immediately following key.  The
  1553. available special keys and their representation in a
  1554. .BDF file are:
  1555.  
  1556. {ESC}     Escape              {U}       Arrow Up
  1557. {TAB}     Tab                 {D}       Arrow Down
  1558. {ENTER}   ENTER               {L}       Arrow Left
  1559. {BS}      Backspace           {R}       Arrow Right
  1560. {HOME}    Home                {INS}     Insert
  1561. {PGUP}    Page Up             {DEL}     Delete
  1562. {PGDN}    Page Down           {C}       Control
  1563. {END}     End                 {S}       Shift
  1564.                               {A}       Alt
  1565.  
  1566. Function Keys
  1567.  
  1568. {F1} {F2} {F3} {F4} {F5} {F6} {F7} {F8} {F9} {F10}
  1569.  
  1570. Redundant key combinations, such as {S}a instead of A,
  1571. will produce an error message.
  1572.  
  1573. Example:  To block out a paragraph in WordPerfect the
  1574.           sequence would be:
  1575.  
  1576.                "{A}{F4}{ENTER}"
  1577.  
  1578.           To enter the WordStar Ctrl-KD sequence (to
  1579.           end editing and save changes), you would use
  1580.           the string:
  1581.  
  1582.                "{C}KD"
  1583.  
  1584.           To replace the current file in 1-2-3, enter:
  1585.  
  1586.                "/FSR"
  1587.  
  1588. A .BDF file always begins with the word PROGRAM,
  1589. followed by a string.  The first 10 characters of the
  1590. string are encoded in the compiled .BAR file for
  1591. display in the pop-up window.  PROGRAM must be the
  1592. first non-comment line in the program, and it must
  1593. appear only once.  Conversely, END causes processing of
  1594. the input file to cease and is the last command read.
  1595. Each .BDF file must include an END.
  1596.  
  1597. The remainder of the file consists of MENU-MEND blocks,
  1598. as was diagrammed above.  Each block corresponds to one
  1599. complete set of command choices.  In the DOS.BDF
  1600. example there are five menu blocks:  the top-level
  1601. block; three second level blocks (to represent the
  1602. FILE, DISK, and SYSTEM submenus); and one third level
  1603. block (the CHDIR sub-submenu).  Note that the CLS
  1604. option does not require a menu block since that command
  1605. terminates at the first level.  The MENU block that
  1606. follows the PROGRAM command is assumed to be the top
  1607. level menu and will be the first one to be executed.
  1608. Subsequent MENU blocks may be in any order.
  1609.  
  1610. Each MENU statement takes a NAME as its argument, and
  1611. no two menus can have the same name.  The name is used
  1612. as a target when control is transferred between menus
  1613. with the EXECUTE command.  Using identical menu names
  1614. will cause MAKEBAR to report a Bad Menu Reference.
  1615.  
  1616. The MENU block is divided into one or more OPTION
  1617. blocks.  An OPTION block comprises three separate
  1618. parts: name, help line, and commands.  While, like a
  1619. menu, each option must have a name, there are no
  1620. restrictions as to uniqueness.  The same option name
  1621. may be used in different menus with different meanings,
  1622. though this would not be the best design for a
  1623. consistent interface.  Because options may be selected
  1624. by pressing their first letter, if two options begin
  1625. with the same letter, the second option can never be
  1626. executed by pressing that letter.  (It can be invoked
  1627. by positioning the cursor and pressing ENTER.)  This
  1628. property could be used to prevent accidental use of a
  1629. command by making it more difficult to invoke.
  1630.  
  1631. The help string must follow each option name on the
  1632. same line.  This string will be displayed below the
  1633. option names when that option is selected with the
  1634. cursor.  The length of this string must be less than 78
  1635. characters in order to fit within the window created by
  1636. SLASHBAR.  Beginning on the next line, the application
  1637. program commands to be executed when that option is
  1638. chosen are entered.  Each command must begin on a
  1639. separate line, and the entire command must be contained
  1640. on that line.  If more keys need to be entered than can
  1641. fit on a single line, multiple TYPE statements (see
  1642. below) can be used.
  1643.  
  1644. The BDF commands, with their syntax, are listed below:
  1645.  
  1646. PROGRAM "string"
  1647. END
  1648. MENU name
  1649. MEND
  1650. OPTION name, "string"
  1651. ASK "string"
  1652. INPUT
  1653. TYPE "string"
  1654. CR
  1655.  
  1656. Remember that a name is a single word with no
  1657. separating spaces, and that a "string" is a series of
  1658. characters surrounded by quotes (").  The quotes symbol
  1659. itself cannot be used within a string, but it can be
  1660. represented in a string by the {c}3 sequence.
  1661.  
  1662. A number of these commands have been discussed above.
  1663. The five that remain, EXECUTE, ASK, TYPE, INPUT, and
  1664. CR, may only appear inside an OPTION block.  These
  1665. commands make up a kind of batch language that controls
  1666. the operation of the SLASHBAR utility.  At the end of
  1667. each menu path is a command string that will accomplish
  1668. the desired result when fed to the applications
  1669. program, just as if you typed in the commands directly.
  1670.  
  1671. The EXECUTE command transfers control down the menu
  1672. tree.  Any option may invoke another menu by executing
  1673. it.  Since menu flow is one-way, lines appearing below
  1674. an EXECUTE command within the same OPTION block will
  1675. never be invoked.  In addition, since paths in the menu
  1676. tree may not cross, two option blocks cannot execute
  1677. the same menu.  MAKEBAR checks for this and signals it
  1678. as an error.  This prevents building a circular
  1679. reference into the tree, where a menu could call itself
  1680. indefinitely.
  1681.  
  1682. The ASK command is used to prompt the user for
  1683. information.  The string argument appears on the screen
  1684. in the upper half of the pop-up window and does not
  1685. affect the output keystrokes.  Because the logical use
  1686. of the ASK command is to request a reply, it is usually
  1687. followed by the INPUT command.  By using these commands
  1688. together, it is possible to solicit information to
  1689. complete a command sequence.
  1690.  
  1691. The INPUT command accepts input from the keyboard and
  1692. appends it to the current command string.  The input is
  1693. buffered, and the backspace key can be used to correct
  1694. the entry.  Up to 78 characters may be entered, and
  1695. input terminates when the Enter key is pressed.  The
  1696. keys are put in the command string as they were typed
  1697. without the terminating <Enter>.
  1698.  
  1699. The TYPE command copies the keys in the string argument
  1700. to the command string.  Special keys (i.e., function
  1701. keys and shift-key combinations) are stored with a
  1702. special code to indicate that they are extended ASCII.
  1703. A special case of the TYPE command is the CR command.
  1704. It is equivalent to the command
  1705.  
  1706.           TYPE "{ENTER}"
  1707.  
  1708. and is included simply for convenience in closing
  1709. commands after requesting an input.
  1710. @@PARSE.COM
  1711. PARSE                               Michael J. Mefford
  1712. Command                                     1987/No. 2
  1713. ______________________________________________________
  1714.  
  1715. Purpose:  Displays the number of characters, words, and
  1716.           sentences in ASCII text files.
  1717.  
  1718. Format:   PARSE [d:][path]filename
  1719.  
  1720. Remarks:  PARSE also calculates and reports the
  1721.           averages of the numbers of characters per
  1722.           word, words per sentence, and "long" words (8
  1723.           or more characters).  It uses these to
  1724.           calculate and display an approximation of the
  1725.           Fog Index grade-level readability rating.
  1726.  
  1727.           The accuracy of the various counts may be
  1728.           affected, though usually not significantly,
  1729.           by the presence of formatting and printing
  1730.           codes included in the file by non-ASCII word
  1731.           processors.  PARSE does ignore the "high-bit"
  1732.           codes produced by WordStar and similar
  1733.           programs, but "dot commands" and the like
  1734.           will be counted.
  1735.  
  1736.           Notes:
  1737.  
  1738.           1.   For further information on the Fog Index
  1739.                see Robert Gunning's The Technique of
  1740.                Clear Writing (McGraw-Hill, 1952, 1968).
  1741. @@PLAY.COM
  1742. PLAY                                Michael J. Mefford
  1743. Command                                     1987/No. 8
  1744. ______________________________________________________
  1745.  
  1746. Purpose:  Provides many of the music-producing
  1747.           functions of the BASIC PLAY statement without
  1748.           the need to work in BASIC.
  1749.  
  1750. Format:   [d:][path]PLAY[/K]   (Option I)
  1751.           [d:][path]PLAY string[/K]  (Option II)
  1752.           [d:][path]PLAY filespec/F[/K]  (Option III)
  1753.  
  1754. Remarks:  Entered at the DOS prompt with no arguments
  1755.           on the command line (Option I), PLAY looks in
  1756.           the current directory for a file named
  1757.           PLAY.DAT and executes the commands in that
  1758.           file.  The PLAY.DAT file included on this
  1759.           disk is "Greensleeves."  The file can be
  1760.           examined, and similar files created, with a
  1761.           regular ASCII word processor.
  1762.  
  1763.           Alternatively, PLAY can use either a command-
  1764.           line string (Option II) or any legal DOS
  1765.           filename (Option III) to supply the music
  1766.           command arguments.  Filenames may include a
  1767.           path designation, but must include the /F
  1768.           terminator.  A sample file "score," STING.DAT
  1769.           is contained on this disk.
  1770.  
  1771.           Pressing any key while PLAY is executing will
  1772.           terminate operation unless the /K switch has
  1773.           been added.
  1774.  
  1775.           The command set used with PLAY is shown on
  1776.           the following page and is exemplified in the
  1777.           PLAY.DAT and STING.DAT files.
  1778.  
  1779.                      The PLAY Command Set
  1780.  
  1781.           K    Keyboard.  K will cause PLAY not to poll
  1782.                the keyboard during play.  If K is not
  1783.                found, any keystroke will exit.
  1784.  
  1785.           On   Octave.  n is a decimal number between 0
  1786.                and 6.  Middle C starts 03. The default
  1787.                is 04.
  1788.  
  1789.           Ln   Length of time the notes will be played
  1790.                until the next L command is encountered.
  1791.                n is a decimal number between 1 and 64.
  1792.                For example, L4 = quarter-note and L8 =
  1793.                eighth note.
  1794.  
  1795.           Tn   Tempo is the pace at which the music is
  1796.                played.  n is a decimal number between
  1797.                32 and 255.  The larger the number, the
  1798.                faster the pace.  The default is T120.
  1799.  
  1800.           A-G  Letter names corresponding to the notes
  1801.                of the scale.  The letter name may be
  1802.                followed by either a # or + for a sharp,
  1803.                or a - for a flat.  O3C = middle C.
  1804.  
  1805.           Nn   Note to be played.  n is a decimal
  1806.                number between 1 and 84.  Each increment
  1807.                is 1/12 of an octave.  N can be used as
  1808.                an alternative to defining a note by a
  1809.                letter and an octave.  For example, N37
  1810.                = middle C.
  1811.  
  1812.           Pn   Pause, or rest, for a length defined by
  1813.                n.  P works in the same way as the L
  1814.                command above.  For example, P2 = a half
  1815.                rest.
  1816.  
  1817.           MN   Music Normal.  The note is played 7/8 of
  1818.                its specified time, and 1/8 is a rest
  1819.                between notes.  This is the default.
  1820.  
  1821.           ML   Music Legato.  The note is played the
  1822.                full length of time specified.
  1823.  
  1824.           MS   Music Staccato.  The note is played 3/4
  1825.                of the time specified, and 1/4 is a rest
  1826.                between notes.
  1827.  
  1828.           .    Dot.  A dot can follow a letter note or
  1829.                a pause.  A dotted note increases play
  1830.                time by half the duration of the note or
  1831.                pause.  More than one dot may be used.
  1832. @@POP-CAL.COM
  1833. POP-CAL                                    Leo Forrest
  1834. Command                                    1986/No. 17
  1835. ______________________________________________________
  1836.  
  1837. Purpose:  Pops up a calendar window for any month from
  1838.           January, 1583 to December, 9999.
  1839.  
  1840. Format:   POP-CAL          (loads command into memory)
  1841.           Alt-C                Toggles calendar on/off
  1842.           Right-Arrow                Advance one month
  1843.           Left-Arrow                    Back one month
  1844.           Up-Arrow                    Advance one year
  1845.           Down-Arrow                     Back one year
  1846.  
  1847. Remarks:  POP-CAL is a memory-resident utility and
  1848.           should be loaded into memory before you call
  1849.           up any applications programs.  Normally, you
  1850.           would simply enter POP-CAL as one line in
  1851.           your AUTOEXEC.BAT file.
  1852.  
  1853.           POP-CAL takes the current month and year as
  1854.           its initial value.  It subsequently remembers
  1855.           your last-used calendar, facilitating
  1856.           repeated references.
  1857.  
  1858.           Notes:
  1859.  
  1860.           1.   You can use DEBUG to change the default
  1861.                Alt-C toggle key by replacing the
  1862.                Alt-key scan code value at offset :014B.
  1863.                The default value is 2E, which will
  1864.                appear, followed by a period, in
  1865.                response to the E command shown below.
  1866.                Enter only the new scan code, not the
  1867.                2E.  Thus, to change the program to use
  1868.                Alt-Q (scan code 10) you would enter:
  1869.                   DEBUG POP-CAL.COM
  1870.                   E 14b 10
  1871.                   W
  1872.                   Q
  1873.  
  1874.                The hex values for the various scan
  1875.                codes are given in Appendix E of the IBM
  1876.                BASIC manual (3.0) and also in the "Scan
  1877.                Code Value Table" in connection with
  1878.                SLASHBAR.COM, elsewhere in this manual.
  1879.  
  1880.           2.   While POP-CAL has been tested for
  1881.                compatibility with a number of other
  1882.                memory-resident programs, there is
  1883.                always the possibility of a conflict
  1884.                with other TSR (Terminate-Stay-Resident)
  1885.                programs.
  1886. @@REPEATS.COM
  1887. REPEATS                             Michael J. Mefford
  1888. Command                                    1987/No. 11
  1889. ______________________________________________________
  1890.  
  1891. Purpose:  Checks all directories on a drive and reports
  1892.           all duplicate filenames.
  1893.  
  1894. Format:   REPEATS [d:][/P]
  1895.  
  1896. Remarks:  While not all duplicate files on a disk are
  1897.           unnecessary, most are.  If a hard disk has
  1898.           been in use for some time it is astonishing
  1899.           how many outdated versions or outright copies
  1900.           of the same file are currently wasting space.
  1901.  
  1902.           REPEATS lists all identical filenames,
  1903.           together with their directory, size, date,
  1904.           and time information, so you can decide which
  1905.           files to delete.  The optional /P switch
  1906.           directs the program output simultaneously to
  1907.           the screen and to a printer.  As an
  1908.           alternative, you could redirect output to a
  1909.           file, DUPS.FND, by using the DOS redirection
  1910.           command, thus:
  1911.  
  1912.           REPEATS > DUPS.FND
  1913.  
  1914.           Notes:
  1915.  
  1916.           1.   During the time it operates, REPEATS
  1917.                requires 128K of available memory.  The
  1918.                program can be terminated prematurely by
  1919.                pressing Ctrl-Break.
  1920. @@SCANDIR.COM
  1921. SCANDIR                             Michael J. Mefford
  1922. Command                         1987/No. 2 (Lab Notes)
  1923. ______________________________________________________
  1924.  
  1925. Purpose:  Permits side-by-side comparison of the
  1926.           contents of two directories using either
  1927.           separately-controllable or synchronized
  1928.           forward/backward scrolling.
  1929.  
  1930. Format:   SCANDIR [d:]directory1 [d:]directory2
  1931.  
  1932. Remarks:  The directories to be compared do not have to
  1933.           be on the same drive.  Use the normal DOS
  1934.           backslash (\) character in specifying the
  1935.           path to a desired directory.  The DOS
  1936.           "wildcard" symbols (* and ?) may be used to
  1937.           limit the filenames displayed.
  1938.  
  1939.           The two directory listings are presented in
  1940.           the normal DOS order and format.  A status
  1941.           line at the bottom of the screen shows
  1942.           whether the right or the left-hand column
  1943.           will be scrolled.  Use the Left- or Right-
  1944.           Arrow keys to set scrolling on for the
  1945.           alternate column, or use the ScrLk key to
  1946.           toggle synchronized movement on or off.  The
  1947.           Up- and Down-Arrow keys control forward and
  1948.           backward scrolling of the listing(s) one line
  1949.           at a time.  The PgUp and PgDn keys move the
  1950.           listing(s) one full screen (20 filename
  1951.           lines) at a time.  In the forward direction,
  1952.           if scrolling continues beyond the last
  1953.           filename in a directory, the listing
  1954.           commences again at the beginning.
  1955.  
  1956.           Notes:
  1957.  
  1958.           1.   SCANDIR is an on-screen program:  its
  1959.                display cannot be saved to a file or
  1960.                redirected to a printer.  If you require
  1961.                these capabilities, use DIRCOMP.COM,
  1962.                which is also included on this disk.
  1963.  
  1964.           2.   Because SCANDIR.COM loads a secondary
  1965.                command processor, a copy of COMMAND.COM
  1966.                must be available on the boot-up drive
  1967.                (floppy or hard disk).
  1968. @@SEARCH.COM
  1969. SEARCH                              Michael J. Mefford
  1970. Command                                     1987/No. 4
  1971. ______________________________________________________
  1972.  
  1973. Purpose:  Searches all or specified directories on a
  1974.           disk for either designated filenames or the
  1975.           first occurrence of character strings within
  1976.           files.
  1977.  
  1978. Format:   SEARCH [filespec] [string][/P][/C][/B]
  1979.  
  1980. Remarks:  SEARCH defaults to a diskwide search of all
  1981.           subdirectories on the current disk.  You can
  1982.           specify a different drive and/or a pathname
  1983.           as part of the optional filespec parameter.
  1984.           Filename searches support the DOS * and ?
  1985.           wildcards.  Character strings within files
  1986.           are identified by putting them in quotation
  1987.           marks.  (The strings may themselves include a
  1988.           pair of quotation marks.)  Pressing either
  1989.           Ctrl-Break or Ctrl-C terminates SEARCH
  1990.           manually.
  1991.  
  1992.           To redirect the output of the SEARCH command
  1993.           to a printer, add /P to the command line, as
  1994.           shown in the first example below.  Adding a
  1995.           similar /C switch will make the search for a
  1996.           character string case-sensitive.
  1997.  
  1998.           When searching for a character string, SEARCH
  1999.           normally ignores .COM and .EXE files.  While
  2000.           this saves time, there may be occasions when
  2001.           you want to find copyright notices, error
  2002.           messages, et al. in an executable file.  To
  2003.           include binary files in the search, add the
  2004.           /B parameter on the command line.
  2005.  
  2006. Example:  To print out a list all the .COM files in the
  2007.           \PROG subdirectory of your current drive, you
  2008.           would enter
  2009.  
  2010.           SEARCH \PROG\*.COM/P
  2011.  
  2012. Example:  To find which of the file(s) in your \LETTERS
  2013.           subdirectory contained the salutation, Dear
  2014.           Miss Jones, enter
  2015.  
  2016.           SEARCH \LETTERS "Dear Miss Jones"
  2017.  
  2018.           Notes:
  2019.  
  2020.           1.   SEARCH returns a line number, based on
  2021.                the number of previous carriage returns
  2022.                in the file, when it finds a string.  It
  2023.                reports only the first occurrence of the
  2024.                string in each file.
  2025. @@SLASHBAR.COM
  2026. SLASHBAR                              Robert L. Hummel
  2027. Command                                    1987/No. 10
  2028. ______________________________________________________
  2029.  
  2030. Purpose:  Pops up a Lotus-style menu of the commands
  2031.           needed to operate a non-Lotus applications
  2032.           program.
  2033.  
  2034. Format:   [d:][path]SLASHBAR [path]menuname.ext [/n]
  2035.  
  2036. Remarks:  Menuname.ext is a menu (.BAR) file compiled
  2037.           for the application in question with the
  2038.           MAKEBAR.COM program contained on this disk.
  2039.           When first loaded, SLASHBAR becomes memory-
  2040.           resident and uses the /n parameter to reserve
  2041.           sufficient room in memory for the largest
  2042.           .BAR file that will be used during the
  2043.           current session.  The default value of n is
  2044.           4096 bytes.  The maximum value of n is
  2045.           approximately 60,000 bytes, which is more
  2046.           than the largest .BAR file that can be
  2047.           produced by the MAKEBAR compiler.  The
  2048.           SLASHBAR command can be run many times during
  2049.           a session in order to replace the menu in use
  2050.           with that for a different applications
  2051.           program, but the /n parameter is used only
  2052.           for the first loading.
  2053.  
  2054.           The default "hot key" used by SLASHBAR to pop
  2055.           up the menu in current use is Alt-/ (Alt plus
  2056.           the slashbar key).  Instructions for changing
  2057.           this trigger key are given in the Notes.
  2058.  
  2059. Example:  To load the sample DOS.BAR menu supplied on
  2060.           this disk, at the DOS prompt enter
  2061.  
  2062.              SLASHBAR DOS.BAR
  2063.  
  2064.           (DOS.BAR requires less than 1500 bytes, so no
  2065.           n parameter need be given.)  Alt-/ brings up
  2066.           the menu, whose commands are activated either
  2067.           by moving the highlight bar to the desired
  2068.           command and pressing Enter, or simply by
  2069.           typing the first letter of the command.  The
  2070.           second line of the menu is the explanatory
  2071.           help line for the currently-highlighted
  2072.           command, as in Lotus 1-2-3.
  2073.  
  2074.           Notes:
  2075.  
  2076.           1.   If you are familiar with DEBUG, you can
  2077.                change the "hot key" used by SLASHBAR.
  2078.                The possible Shift-Mask values (MM in
  2079.                the DEBUG session below) are listed in a
  2080.                table on the next page.  The default
  2081.                (the Alt key) is 08 at offset 171.
  2082.  
  2083.           2.   Alternate values for the Scan-Code (SS
  2084.                in the DEBUG session below) are
  2085.                similarly listed in the table below.
  2086.                The default (the slash / key) value is
  2087.                35, and its offset address is 167.
  2088.                After selecting new values for SS and
  2089.                MM, the DEBUG session would be as
  2090.                follows:
  2091.  
  2092.                DEBUG SLASHBAR.COM
  2093.                E 167 SS         ;Scan code here
  2094.                E 171 MM         ;Shift mask here
  2095.                W
  2096.                Q
  2097.  
  2098.                End each line above with a carriage
  2099.                return and do not type in the semicolons
  2100.                or the words to their right.
  2101.  
  2102.  
  2103. SHIFT-MASK Value Table ("X" means key is depressed)
  2104.  
  2105. Value   Alt     Ctrl    L-Shft  R-Shft
  2106.  00
  2107.  01                                X
  2108.  02                        X
  2109.  03                        X       X
  2110.  04               X
  2111.  05               X                X
  2112.  06               X        X
  2113.  07               X        X       X
  2114.  08       X
  2115.  09       X                        X
  2116.  0A       X                X
  2117.  0B       X                X       X
  2118.  0C       X       X
  2119.  0D       X       X                X
  2120.  0E       X       X        X
  2121.  0F       X       X        X       X
  2122.  
  2123.  
  2124. SCAN-CODE Value Table (in hex)
  2125.  
  2126. Key    Code             Key    Code
  2127. Esc     01              |\      2B
  2128. !1      02              Z       2C
  2129. @2      03              X       2D
  2130. #3      04              C       2E
  2131. $4      05              V       2F
  2132. %5      06              B       30
  2133. ^6      07              N       31
  2134. &7      08              M       32
  2135. *8      09              <,      33
  2136. (9      0A              >.      34
  2137. )0      0B              ?/      35
  2138. _-      0C              R-Shft  36
  2139. +=      0D              PrtSc*  37
  2140. Bksp    0E              Alt     38
  2141. Tab     0F              Sp      39
  2142. Q       10              CapsLk  3A
  2143. W       11              F1      3B
  2144. E       12              F2      3C
  2145. R       13              F3      3D
  2146. T       14              F4      3E
  2147. Y       15              F5      3F
  2148. U       16              F6      40
  2149. I       17              F7      41
  2150. O       18              F8      42
  2151. P       19              F9      43
  2152. {[      1A              F10     44
  2153. }]      1B              NumLk   45
  2154. Enter   1C              ScrLk   46
  2155. Ctrl    1D              7Home   47
  2156. A       1E              8Up     48
  2157. S       1F              9PgUp   49
  2158. D       20              -       4A
  2159. F       21              4Left   4B
  2160. G       22              5       4C
  2161. H       23              6Right  4D
  2162. J       24              +       4E
  2163. K       25              1End    4F
  2164. L       26              2Down   50
  2165. :;      27              3PgDn   51
  2166. "'      28              0Ins    52
  2167. ~`      29              .Del    53
  2168. LShft   2A
  2169. @@SPECTRUM.COM
  2170. SPECTRUM                              Robert L. Hummel
  2171. Command                        1987/No. 12 (Lab Notes)
  2172. ______________________________________________________
  2173.  
  2174. Purpose:  Provides existing software with a selectable
  2175.           16-color palette (from among 64 displayable
  2176.           colors) when used with an Enhanced Graphics
  2177.           Adapter and an Enhanced Graphics (or similar)
  2178.           monitor.
  2179.  
  2180. Format:   [d:][path]SPECTRUM
  2181.  
  2182.               or (see second format, below)
  2183.  
  2184.           [d:][path]SPECTRUM xx xx xx xx xx xx xx xx xx
  2185.           xx xx xx xx xx xx xx
  2186.  
  2187. Remarks:  SPECTRUM is a memory-resident utility that is
  2188.           normally loaded as part of your AUTOEXEC.BAT
  2189.           file.  Once loaded, pressing Ctrl-` (the Ctrl
  2190.           key and the grave [reverse] accent key) pops
  2191.           up a display of 16 color boxes, each of which
  2192.           may be set, on-screen, to any of the 64
  2193.           displayable values.  The cursor pad keys are
  2194.           then used, as described in the display, to
  2195.           select any of the boxes and their 2-digit
  2196.           color codes.  Pressing the End key saves the
  2197.           current color selections and returns you to
  2198.           your application.  Home resets the color
  2199.           palette to its default values, and Esc aborts
  2200.           any changes made, restoring your previous
  2201.           color settings.
  2202.  
  2203.           For loading or changing the SPECTRUM palette
  2204.           without using the pop-up window (e.g., as
  2205.           part of a batch file), the second Format
  2206.           above may be used.  The values for x may
  2207.           range from 0 through 7 and must be entered in
  2208.           pairs ON A SINGLE LINE (not on two lines, as
  2209.           shown).  A single space must separate each of
  2210.           the 16 pairs of digits, and a single space
  2211.           must also separate the number-pairs from the
  2212.           command name.  Use the pop-up window to
  2213.           determine the proper number-pairs initially.
  2214.  
  2215.           Notes:
  2216.           1.   Software programs that write directly to
  2217.                the EGA registers will override the
  2218.                SPECTRUM color selections.  The SPECTRUM
  2219.                colors may be restored, if lost, by
  2220.                activating the display window (Ctrl-`)
  2221.                and then pressing the Esc key.
  2222.  
  2223.           2.   EGACOSET.COM, also on this disk, is an
  2224.                alternative program to SPECTRUM.COM.
  2225. @@STATUS.COM
  2226. STATUS                              Michael J. Mefford
  2227. Command                                     1987/No. 8
  2228. ______________________________________________________
  2229.  
  2230. Purpose:  Reads and reports the system configuration
  2231.           information from a machine's switch settings
  2232.           and/or low memory addresses.
  2233.  
  2234.  
  2235. Format:   [d:][path]STATUS
  2236.  
  2237. Remarks:  STATUS is entered at the DOS prompt and
  2238.           produces a single-screen display information
  2239.           that includes:  the configuration switch
  2240.           settings of an IBM PC or XT (or the
  2241.           equivalent data contained in the AT equipment
  2242.           byte); number of disk drives installed;
  2243.           presence or absence of a math coprocessor;
  2244.           amount of memory installed on the system
  2245.           board (PC and XT only); number of parallel,
  2246.           serial, and game ports installed; initial
  2247.           video mode; total amount of main memory and
  2248.           amount of currently free memory; amount (if
  2249.           any) of extended and/or expanded memory; DOS
  2250.           version in use; and machine BIOS version.
  2251.  
  2252.           Notes:
  2253.  
  2254.           1.   Readers have reported that on some
  2255.                models of the IBM XT the configuration
  2256.                switch settings are wired upside down
  2257.                with respect to the STATUS graphic
  2258.                display.  The basic information
  2259.                presented is correct, however.  Also, on
  2260.                some non-IBM "compatibles" some
  2261.                information may not be presented.
  2262. @@SUGGEST.COM
  2263. SUGGEST                             Michael J. Mefford
  2264. Command                                    1986/No. 20
  2265. ______________________________________________________
  2266.  
  2267. Purpose:  Flashes a message on the screen at selected
  2268.           rates and durations ranging from many minutes
  2269.           to a brevity approaching the limit of
  2270.           subliminal  perception.
  2271.  
  2272. Format:   SUGGEST message[/Fn][/Dn]
  2273.  
  2274. Remarks:  The message may be up to 80 characters in
  2275.           length; longer messages are truncated.  The
  2276.           optional /F (frequency) and /D (duration)
  2277.           switches accept a user-entered integer n from
  2278.           1 through 9. (0 is their default value and
  2279.           need not be entered).  These correspond to
  2280.           the following approximate timings:
  2281.  
  2282.                /F9=0:05            /D9=0.170
  2283.                /F8=3:05            /D8=0.153
  2284.                /F7=6:05            /D7=0.136
  2285.                /F6=9:05            /D6=0.119
  2286.                /F5=12:05           /D5=0.102
  2287.                /F4=15:05           /D4=0.085
  2288.                /F3=18:05           /D3=0.068
  2289.                /F2=21:05           /D2=0.051
  2290.                /F1=24:05           /D1=0.034
  2291.                /F0=27:05 (default) /D0=0.017
  2292.  
  2293. Example:   You might enter the following:
  2294.  
  2295.           SUGGEST SAVE YOUR WORK/F6/D9
  2296.  
  2297.           as a useful reminder.
  2298.  
  2299.           Notes:
  2300.  
  2301.           1.   SUGGEST is a memory-resident utility.
  2302.                You may load several messages, but you
  2303.                must reboot to clear the program.
  2304.  
  2305.           2.   Even at its briefest duration the
  2306.                SUGGEST message is still visible, so the
  2307.                program is not intended for scientific
  2308.                investigation of truly subliminal
  2309.                experimentation.
  2310. @@TIMEKEY.COM
  2311. TIMEKEY                                   Jeff Prosise
  2312. Command                                     1987/No. 3
  2313. ______________________________________________________
  2314.  
  2315. Purpose:  Inserts the date and/or time into documents
  2316.           being created by other applications programs.
  2317.  
  2318. Format:   [d:][path]TIMEKEY
  2319.  
  2320. Remarks:  TIMEKEY is a memory-resident utility and must
  2321.           be loaded after the system date and time have
  2322.           been initialized.  Subject to this
  2323.           limitation, it may be loaded either at the
  2324.           command line or as part of an AUTOEXEC.BAT
  2325.           file.
  2326.  
  2327.           Once loaded, TIMEKEY uses the following
  2328.           keystrokes:
  2329.  
  2330.           Alt-L inserts a long-form date
  2331.                (e.g., June 10, 1987)
  2332.           Alt-S inserts a short-form date
  2333.                (e.g., 6-10-87)
  2334.           Alt-T inserts the time (e.g., 12:21 PM)
  2335.  
  2336.           Notes:
  2337.  
  2338.           1.   Once loaded, TIMEKEY keeps track of the
  2339.                time automatically, but it does not
  2340.                change the current date at midnight
  2341.                unless the system is manually rebooted.
  2342.  
  2343.           2.   TIMEKEY is compatible with BASICA (which
  2344.                also uses the timer tick) and with many
  2345.                memory resident utilities (e.g.,
  2346.                SideKick), but compatibility with all
  2347.                TSR programs cannot be assured.
  2348. @@VISITYPE.COM
  2349. VISITYPE                                Steven Holzner
  2350. Command                                    1986/No. 18
  2351. ______________________________________________________
  2352.  
  2353. Purpose:  Expands the PC's normal 15-character
  2354.           typeahead buffer to 80 characters.
  2355.  
  2356. Format:   [d:][path]VISITYPE
  2357.  
  2358. Remarks:  If you enter a series of commands without
  2359.           waiting until each has finished executing (as
  2360.           during a long directory scroll or disk-
  2361.           searching operation, for example), the PC
  2362.           will beep and discard subsequent keystrokes
  2363.           when you exceed its built-in 15-character
  2364.           keyboard buffer.
  2365.  
  2366.           VISITYPE enlarges the keyboard buffer to 80
  2367.           characters and temporarily displays the
  2368.           overflow on the top line of the display
  2369.           before they are used.  Keystrokes so
  2370.           displayed can be edited, if necessary, by
  2371.           using the Backspace key and then entering the
  2372.           correct keystroke.
  2373.  
  2374.           Notes:
  2375.  
  2376.           1.   VISITYPE is a memory-resident utility
  2377.                that is normally loaded through your
  2378.                AUTOEXEC.BAT file.  While it will work
  2379.                with most applications programs, it will
  2380.                not work with those that completely take
  2381.                over the keyboard interrupts for their
  2382.                own purposes.
  2383. @@XDIR.COM
  2384. XDIR                                      Jeff Prosise
  2385. Command                                     1987/No. 7
  2386. ______________________________________________________
  2387.  
  2388. Purpose:  XDIR.COM is a memory-resident utility that
  2389.           allows you to display the filenames in any
  2390.           drive/directory even when you are running
  2391.           another applications program.
  2392.  
  2393. Format:   [d:][path]XDIR
  2394.  
  2395. Remarks:  Once loaded (normally as an entry in your
  2396.           AUTOEXEC.BAT file), pressing the Alt-. (the
  2397.           Alt and the period key combination) causes a
  2398.           blank window to pop up on the screen.
  2399.           Pressing Enter then displays the first 40
  2400.           filenames of your current directory in the
  2401.           window.  Pressing Esc once clears the
  2402.           display, and pressing it a second time
  2403.           returns you to your previous application.
  2404.  
  2405.           To view other directories, simply enter their
  2406.           appropriate path designation (including
  2407.           drive, if different) before pressing Enter
  2408.           when the window is blank.
  2409.  
  2410.           The PgUp and PgDn keys are used to display
  2411.           files beyond the initial 40 shown in the
  2412.           window.  Up to 360 files in any one directory
  2413.           may be displayed.
  2414.  
  2415.           Notes:
  2416.  
  2417.           1.   If you are experienced in using DEBUG,
  2418.                you may wish to change some of the
  2419.                XDIR.COM defaults.  Remember always to
  2420.                make changes to a copy of the program,
  2421.                not to your original.  After entering
  2422.                DEBUG XDIR.COM, the following addresses
  2423.                and initial values may be of interest:
  2424.  
  2425.                Offset  Value   Parameter
  2426.                :013C    4F     Border color attribute
  2427.                :013D    0F     Text color attribute
  2428.                :014D    00     File type (see Note 2)
  2429.                :0186    34     Period key scan code
  2430.                :018E    08     Alt-key shift code
  2431.  
  2432.           2.   By default, XDIR displays only normal
  2433.                filenames (00 at :014D).  To show hidden
  2434.                files, the value here should be 02.
  2435.                System files are 04, and subdirectories
  2436.                are 10h.  These values are additive.  To
  2437.                display subdirectories and files marked
  2438.                both hidden and system (e.g. IBMBIO.COM)
  2439.                you would enter the value 16h at offset
  2440.                :014D in place of the default 00.
  2441.  
  2442.           3.   While no TSR program can be guaranteed
  2443.                compatible with all other memory
  2444.                residents, its special interrupt
  2445.                handling should make XDIR.COM coexist
  2446.                even with most "difficult" TSRs.
  2447.