home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / hepcat.zip / HEPCAT.EXE / lha / HEPCATJR.DOC < prev    next >
Text File  |  1989-11-13  |  58KB  |  1,241 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                                   HEPCAT Junior
  12.  
  13.                (HUG Engineer's and Programmer's CAlculation Tool)
  14.                                    Version 0.5
  15.  
  16.                                 by Patrick Swayne
  17.                               HUG Software Engineer
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                                Heath Users' Group
  25.                                   P. O. Box 217
  26.                           Benton Harbor, MI 49022-0217
  27.                                  (616) 982-3463
  28.  
  29.  
  30.  
  31.                                 Table of Contents
  32.  
  33.               Introduction to HEPCAT Junior .................... 1
  34.               Definitions ...................................... 2
  35.               System Requirements .............................. 2
  36.               Installing HEPCAT ................................ 2
  37.               Activating HEPCAT ................................ 3
  38.               Using HEPCAT: A Tutorial ......................... 4
  39.                 Part 1 -- The HEPCAT Display ................... 4
  40.                 Part 2 -- Entering Numbers and Commands ........ 5
  41.                 Part 3 -- Calculations ......................... 9
  42.                 Part 4 -- Memory and Functions ................ 13
  43.                 Part 5 -- The ASCII Table ..................... 14
  44.               Using HEPSETJR to Make Changes .................. 14
  45.               Special Considerations for Certain Programs ..... 16
  46.                 Graphic Video Modes ........................... 17
  47.                 Sluggish Performance .......................... 17
  48.                 HEPCAT and Other Pop-Ups ...................... 18
  49.               Changing the Activation Key ..................... 18
  50.               Removing HEPCAT From Memory ..................... 19
  51.  
  52.               Table of HEPCAT Operations, Functions, and
  53.                        Commands .................... Separate File
  54.  
  55.  
  56.  
  57.  
  58.         Distribution
  59.  
  60.         These copyrighted programs are provided free of charge.  They may
  61.         be  distributed freely as long as no charge is made for the  pro-
  62.         grams  themselves,  or any software package with which  they  are
  63.         included.  The programs and all related documentation files  must
  64.         be  distributed  together, and may not be  modified.   A  nominal
  65.         charge may be made for the disk containing these programs.
  66.  
  67.         Warranty
  68.  
  69.         The  programs  included herewith are provided AS IS  without  any
  70.         warranty,  expressed  or implied, including but  not  limited  to
  71.         fitness for a particular purpose.
  72.  
  73.         Disclaimer
  74.  
  75.         In no event will the Heath/Zenith Users' Group or Patrick  Swayne
  76.         be  liable  to you for any damages, including any  lost  profits,
  77.         lost savings, or other incidental or consequential damages  aris-
  78.         ing out of the use of or inability to use these programs, even if
  79.         the Heath/Zenith Users' Group or Patrick Swayne has been  advised
  80.         of the possibility of such damages, or for any claim by any other
  81.         party.
  82.  
  83.  
  84.  
  85.                              Instruction Manual for
  86.  
  87.                                HEPCAT (tm) Junior
  88.  
  89.  
  90.  
  91.         Introduction to HEPCAT Junior
  92.  
  93.         HEPCAT is an acronym for HUG Engineer's and Programmer's CAlcula-
  94.         tion Tool.  HEPCAT is a memory resident program, which means that
  95.         it  installs itself into your computer's memory when you run  it,
  96.         and  remains there ready for use at any time,  even while you are
  97.         running other programs.   When you enter a special activation key
  98.         sequence,  the HEPCAT display window pops up on your screen,  and
  99.         HEPCAT  takes over the keyboard, so that you can  enter  calcula-
  100.         tions and see them displayed on the HEPCAT window.
  101.  
  102.         HEPCAT  Junior  is  an introductory version of  HEPCAT.   It  can
  103.         perform all of the same calculations (except conversions) as  its
  104.         "big  brother".  However, the full version of HEPCAT offers  some
  105.         unique features found in no other pop-up calculator:
  106.  
  107.         1.   The  full version of HEPCAT is concurrent.  That means  that
  108.         when you pop it up over a running program, the program  continues
  109.         to  run.   If  you pop it up over Lotus 1-2-3 (tm)  while  it  is
  110.         calculating  a  large spread sheet, Lotus will continue  to  work
  111.         while  you use HEPCAT.  HEPCAT Junior is not concurrent, and  the
  112.         program you pop it up over will "freeze" while it is popped up.
  113.  
  114.         2.   The  full version of HEPCAT can protect the keyboard  inter-
  115.         rupt it uses to detect its activation key from being  "clobbered"
  116.         by an application program.  This feature allows it to pop up over
  117.         "difficult" programs like Microsoft Windows (tm).  HEPCAT  Junior
  118.         does not protect the keyboard interrupt.
  119.  
  120.         3.   The full version of HEPCAT can pop up while your computer is
  121.         in  any  standard CGA, EGA, VGA, or Hercules (tm)  graphic  video
  122.         mode,  as  will as when it is in text modes.  You can pop  it  up
  123.         over Windows or AutoCAD (tm) while they are running in EGA or VGA
  124.         graphic  modes.  The graphic screen is not altered, and the  part
  125.         of  the screen under the HEPCAT window is restored when you  exit
  126.         from  HEPCAT.  HEPCAT Junior can only pop up while your  computer
  127.         is in a text mode or a CGA graphic mode.
  128.  
  129.         4.   The full version of HEPCAT can perform the following conver-
  130.         sions:  degrees -- radians, Celcius -- Fahrenheit, centimeters --
  131.         inches,  meters  -- feet, kilometers -- miles, grams  --  ounces,
  132.         kilograms  --  pounds,  milliliters -- fluid  ounces,  liters  --
  133.         quarts.   Each conversion works both ways.  In other  words,  you
  134.         can convert feet to meters or meters to feet.
  135.  
  136.         If  you would like to purchase the full version of HEPCAT, it  is
  137.         available for $37.50 ($35 plus 3.50 s/h) from
  138.  
  139.  
  140.  
  141.  
  142.                                         1
  143.  
  144.  
  145.  
  146.         Heath/Zenith Users' Group
  147.         P. O. Box 217
  148.         Benton Harbor, MI 49022-0217
  149.  
  150.         Ask  for  HUG part no. 885-3045-37 if you need a 5.25"  disk,  or
  151.         885-3045-80  if you need a 3.5" disk.  Phone orders are  accepted
  152.         using Visa, Master Card, or American Express.  The number is 616-
  153.         982-3463.
  154.  
  155.         HEPCAT  Junior (hereafter referred to as HEPCAT) is actually  two
  156.         calculators in one: an engineer's floating point calculator  with
  157.         several built-in functions, and a programmer's binary  calculator
  158.         that  works  in several radixes and has a built-in  ASCII  table.
  159.         The HEPCAT package also includes a parameter setting program that
  160.         lets you alter certain parameters of HEPCAT, such as the  display
  161.         colors in the window.
  162.  
  163.  
  164.         Definitions
  165.  
  166.         Within  this manual, the term PC-compatible will be used  to  de-
  167.         scribe  any  computer  that is compatible with an  IBM  PC  (tm),
  168.         including  all current Heath or Zenith Data Systems models.   The
  169.         term Z-100 will be used to describe the discontinued Heath  H-100
  170.         and ET-100 (with ETA-100 expansion) or Zenith Data Systems  Z-100
  171.         dual processor series computers.
  172.  
  173.         The term system disk refers to the disk that is used to start  up
  174.         MS-DOS (or PC-DOS) when you have first turned on your computer or
  175.         reset  it.   if you have a hard disk in your  computer,  it  will
  176.         probably be the system disk.
  177.  
  178.         You should be familiar with general MS-DOS usage before you begin
  179.         to use this or any other program.  Consult your MS-DOS manual  if
  180.         you do not understand terms like PATH or AUTOEXEC.
  181.  
  182.         Programs  like  HEPCAT that remain resident in memory  are  often
  183.         called "background programs", but in this manual I will sometimes
  184.         refer to HEPCAT as being in the foreground while it is popped up,
  185.         and  to  the program over which it is popped up as being  in  the
  186.         background.
  187.  
  188.  
  189.         System Requirements
  190.  
  191.         To  use HEPCAT,  you need a PC-compatible or Z-100 computer,  any
  192.         version of MS-DOS or Z-DOS, and at least 128k of program  memory.
  193.         HEPCAT itself uses about 12k of memory on either a  PC-compatible
  194.         or a Z-100.
  195.  
  196.  
  197.         Installing HEPCAT
  198.  
  199.         To   install  HEPCAT,  just  copy  the  files  HEPCATJR.COM   and
  200.         HEPSETJR.COM from this package to your system disk.  If you  have
  201.  
  202.  
  203.                                         2
  204.  
  205.  
  206.  
  207.         a hard disk, place the files in your root directory, or a  direc-
  208.         tory  pointed  to by your PATH statement.  If you  have  a  Z-100
  209.         computer,  copy the file ZHEPJR.COM instead of HEPCATJR.COM,  and
  210.         rename it to HEPCATJR.COM after you copy it.
  211.  
  212.         If  you want HEPCAT to be loaded into memory automatically  every
  213.         time you boot up your computer, add a line
  214.  
  215.         HEPCATJR
  216.  
  217.         to your AUTOEXEC.BAT file.
  218.  
  219.         After  you  copy the HEPCAT program files to  your  system  disk,
  220.         HEPCAT  will  be ready for you to load into memory and  use.   If
  221.         added  an AUTOEXEC.BAT command to load HEPCAT, reset  and  reboot
  222.         your computer, and HEPCAT will be loaded into memory for you.  To
  223.         load  HEPCAT  manually,  ensure that you are logged  on  to  your
  224.         system disk, and enter
  225.  
  226.           HEPCATJR
  227.  
  228.         at the system prompt, and hit Return.
  229.  
  230.         If  you do not wish to make HEPCAT resident in memory  this  time
  231.         but  would just like to try it out,  you can run it in a  special
  232.         test mode.  To do this, enter
  233.  
  234.           HEPCATJR TEST
  235.  
  236.         at the system prompt,  and press Return.  The HEPCAT display will
  237.         appear in the upper right corner of your screen,  and you will be
  238.         able  to  perform all calculations that you can  when  HEPCAT  is
  239.         installed  normally.   You can perform many of the tutorial exer-
  240.         cises in this manual with HEPCAT in the test mode.   To exit from
  241.         the test mode, press the Escape key.  Note:  Once HEPCAT has been
  242.         loaded and is resident in your computer's memory,  you cannot use
  243.         the test mode.
  244.  
  245.  
  246.         Activating HEPCAT
  247.  
  248.         Once you have loaded HEPCAT into your computer's memory,  you can
  249.         activate  it  at any time by pressing a  special  activation  key
  250.         sequence.  To active (or "pop up") HEPCAT on a PC-compatible com-
  251.         puter,  press  and release the right Shift key three  times.   To
  252.         activate  it  on  a Z-100 computer, press the  Break  key  twice.
  253.         (Note:   A  procedure to change the activation key  is  presented
  254.         later in this document, but it is not recommended that you do it,
  255.         especially in the case of the Z-100 version of HEPCAT.)
  256.  
  257.         When  you enter the activation key sequence, the  HEPCAT  display
  258.         window will appear in the upper right corner of your screen  when
  259.         you activate it, and it will look like this:
  260.  
  261.  
  262.  
  263.  
  264.                                         3
  265.  
  266.  
  267.  
  268.          HEPCAT version 1.5 by PS       0
  269.          D/R: D  Rad: F   Acc: X  Op: CLR
  270.  
  271.         If  the  display is hard to see on your screen, you may  want  to
  272.         change  the display colors.  A utility called HEPSETJR  has  been
  273.         provided  to allow you to do that and make other  changes.   HEP-
  274.         SETJR  is  described  in  the section  "Using  HEPSETJR  to  Make
  275.         Changes" later in this document.
  276.  
  277.         You  can pop up HEPCAT while you are running many different  pro-
  278.         grams  on  your computer.  For now, however, you  should  confine
  279.         yourself  to popping up HEPCAT over the DOS only (that is,  while
  280.         the  system  prompt is showing) until you have read  this  manual
  281.         completely.
  282.  
  283.         You  can  release control from HEPCAT to  the  currently  running
  284.         program  in two ways.  You can release control  entirely,  remove
  285.         the HEPCAT display, and restore the original background  display,
  286.         by  pressing  the Escape key.  You can also release  control  but
  287.         leave the HEPCAT display on the screen by pressing the F1 key.
  288.  
  289.  
  290.         Using HEPCAT: A Tutorial
  291.  
  292.         This  section  of the manual is a tutorial on how to use  HEPCAT.
  293.         It is assumed that HEPCAT has been installed on your system  disk
  294.         and  is  loaded  into  memory and ready  to  use.   You  will  be
  295.         instructed to enter numbers and commands, and the display changes
  296.         that  result  will  be indicated.   From time to  time  rules  of
  297.         operation  will be presented that describe what HEPCAT does in  a
  298.         certain situation.
  299.  
  300.         Note:   If  you are using TYPE HEPCATJR.DOC | MORE to  view  this
  301.         file,  you should exit from TYPE now (type Ctrl-C),  load  HEPCAT
  302.         into memory, and start TYPEing this file again.  Then you can pop
  303.         up HEPCAT and try each example as you read the file.
  304.  
  305.         Part 1 -- The HEPCAT Display
  306.  
  307.         Enter the activation key sequence for your version of HEPCAT. The
  308.         display  window  will appear in the upper right  corner  of  your
  309.         screen, one line down from the top of the screen.  The display is
  310.         down one line to allow room for the HUG screen clock, an accesso-
  311.         ry included with the full version of HEPCAT.  If you chose not to
  312.         include the screen clock, you may want to move the display window
  313.         up  to  the top line.  The section on "Using HEPSETJR"  will  de-
  314.         scribe how to do that.
  315.  
  316.         On  the top line of the window, you will see the message  "HEPCAT
  317.         version  1.5 by PS", and a zero.  This line is where numbers  you
  318.         enter into HEPCAT are displayed, as well as the answers it calcu-
  319.         lates.  At the left end of the line, the names of built-in  func-
  320.         tions  that you use will be displayed.  For example, if you  take
  321.         the square root of a number, SQRT will be displayed.
  322.  
  323.  
  324.  
  325.                                         4
  326.  
  327.  
  328.  
  329.         On the next line,  four prompts are displayed.   The first prompt
  330.         at the left end is "D/R:".   There will be a D after this  prompt
  331.         if the calculator is set to use degrees for angle measurement, or
  332.         an  R  if it is set to use Radians.   It is initially set to  de-
  333.         grees.   To change this setting, press the D key.  Try it now and
  334.         watch what happens.  Make sure that the prompt shows D before you
  335.         go on.
  336.  
  337.         The next prompt on the second line is "Rad:".   Here, the current
  338.         radix or floating point display mode is displayed.  HEPCAT starts
  339.         out  in  the floating point mode,  with a normal  floating  point
  340.         display, which is indicated by the F besides the prompt.  We will
  341.         show you how to change this later.
  342.  
  343.         The  next  prompt  is "Acc:".   This shows you which of  the  two
  344.         accumulators in HEPCAT,  X and Y,  is displayed on the top  line.
  345.         The number displayed on the top line is always the content of one
  346.         of the accumulators.
  347.  
  348.         The next prompt is "Op:".  It indicates the operation that HEPCAT
  349.         is  commanded to perform.   For example,  if you are going to add
  350.         two numbers, a + will be shown here when you press the + key.  At
  351.         first  the display shows CLR,  because no operation has been  en-
  352.         tered.
  353.  
  354.         Part 2 -- Entering Numbers and Commands
  355.  
  356.         You  can  enter numbers into HEPCAT using  either  the  numerical
  357.         keypad or the main keyboard.  On PC-compatible computers, it does
  358.         not matter what the setting of Num Lock is while HEPCAT is popped
  359.         up.  The keys on the keypad will always produce numbers when they
  360.         are  pressed without a Shift key down (except in the ASCII  table
  361.         mode,  described  later).   When you hold down a Shift  key,  the
  362.         numbered  keys on the keypad will always perform other  functions
  363.         (arrow keys,  etc.).   While HEPCAT is active, you can use either
  364.         the left or right Shift key or the Alt key for shifted functions.
  365.         The  Caps  Lock key also has no effect while HEPCAT has  control.
  366.         For example, the built-in function that calculates the sine of an
  367.         angle is always activated by pressing the S key, and the arc sine
  368.         function is always activated by pressing Shift-S (or Alt-S).
  369.  
  370.         If  you have a keyboard with separate arrow keys  (separate  from
  371.         the numerical keypad) on your PC-compatible computer, you can use
  372.         those arrow keys without having to hold down a shift key.
  373.  
  374.         On  a Z-100 computer,  you should release the Caps Lock key if it
  375.         is down while you are using HEPCAT,  because it does make a  dif-
  376.         ference  on how the main keyboard is interpreted.   If you type S
  377.         while  the Caps Lock key is down,  the arc sine function will  be
  378.         performed regardless of whether you held down a Shift key or not.
  379.         When  you need to use an arrow key on the Z-100,  you can  either
  380.         use  the  separate  marked  arrow keys by  themselves  (no  Shift
  381.         needed), or you can hold down a Shift key and use the 2, 4, 6, or
  382.         8 keys.
  383.  
  384.  
  385.  
  386.                                         5
  387.  
  388.  
  389.  
  390.         In the following exercises,  when you are instructed to press  an
  391.         arrow  key, you should hold down either Shift key or the Alt  key
  392.         if  your computer is a PC-compatible that does not have  separate
  393.         arrow  keys.  You can use the separate marked arrow keys if  your
  394.         computer is a Z-100, or you can hold down a Shift key and use the
  395.         2, 4, 6 or 8 keys of the keypad.
  396.  
  397.         Here  are some exercises to familiarize you with entering numbers
  398.         and  commands in HEPCAT.   If you have already been playing  with
  399.         it,  press the Back Space key until "CLR" appears after the "Op:"
  400.         prompt in the lower right corner of the window.
  401.  
  402.         Type the numbers 1, 2, and 3.  If this is the first time you have
  403.         entered any numbers, you will see the message "HEPCAT version 1.0
  404.         by  PS"  disappear as soon as you type  the  first  number.   The
  405.         display should now look like this:
  406.  
  407.                                       123
  408.          D/R: D  Rad: F   Acc: X  Op: CLR
  409.  
  410.         Now  press  the  Back Space key three  times.   Notice  that  the
  411.         numbers are removed from the display in the reverse order as  you
  412.         typed them.  Now type 123 again, and press the up arrow key.  The
  413.         display should look like this:
  414.  
  415.                            1.2300000 E+02
  416.          D/R: D  Rad: S   Acc: X  Op: CLR
  417.  
  418.         You  have  changed  to the scientific  notation  mode,  in  which
  419.         numbers  are  always displayed as a mantissa and  exponent.   Now
  420.         press the up arrow again.  The display should look like this:
  421.  
  422.                            123.00000 E+00
  423.          D/R: D  Rad: E   Acc: X  Op: CLR
  424.  
  425.         This is the engineering notation mode.  It is like the scientific
  426.         notation  mode  except that the exponent is always  forced  to  a
  427.         multiple  of 3.   Now press the down arrow key three times.   You
  428.         will  go  back through the scientific and normal  floating  point
  429.         modes, and wind up at a display that looks like this:
  430.  
  431.                                    123.00
  432.          D/R: D  Rad: F2  Acc: X  Op: CLR
  433.  
  434.         This  is  the fixed point mode,  and the "F2"  after  the  "Rad:"
  435.         prompt  shows the number of places after the decimal.   Press the
  436.         left arrow key 6 times, and the display should look like this:
  437.  
  438.                              123.00000000
  439.          D/R: D  Rad: F8  Acc: X  Op: CLR
  440.  
  441.         You  can set the number of places after the decimal to any  value
  442.         from 2 to 8 using the left or right arrow keys.  If you try to go
  443.         beyond these limits,  nothing will happen.   Press the left arrow
  444.         key  again and notice that the display remains at 8 places  after
  445.  
  446.  
  447.                                         6
  448.  
  449.  
  450.  
  451.         the decimal.   Leave the decimal places set to 8,  and press  the
  452.         down arrow key.  The display will look like this:
  453.  
  454.                                        7B
  455.          D/R: D  Rad: 16  Acc: X  Op: CLR
  456.  
  457.         You  have just switched from the floating point calculator to the
  458.         binary  calculator,  and set the radix to base 16  (hexadecimal).
  459.         Notice  that the number 123 (decimal) is automatically  converted
  460.         to its hexadecimal equivalent.   Press the down arrow key 8  more
  461.         times,  noticing  what  happens each time.   You will see  the  6
  462.         radixes  that the binary calculator supports  (hexadecimal,  dec-
  463.         imal,  split octal,  octal, tetral (base 4), and binary).  At the
  464.         sixth press of the down arrow key, HEPCAT will reenter the float-
  465.         ing point calculator and switch to the engineering notation mode.
  466.         After the eighth press, the display should look like this:
  467.  
  468.                                       123
  469.          D/R: D  Rad: F   Acc: X  Op: CLR
  470.  
  471.         You are back at the normal floating point display.  Now press the
  472.         Back  Space key once.   This time,  the entire number  disappears
  473.         with only one press.
  474.  
  475.         Back Space rule no.  1:  If a number on the display is the result
  476.         of your entry,  Back Space will remove it one digit for each  key
  477.         press.  If the number is the result of something HEPCAT has done,
  478.         one press of Back Space will remove the entire number.
  479.  
  480.         Now try to enter 123456789.  The display will look like this:
  481.  
  482.                                  12345678
  483.          D/R: D  Rad: F   Acc: X  Op: CLR
  484.  
  485.         The  floating point calculator only allows 8 significant  digits.
  486.         When you tried to enter the 9, it wasn't accepted.  Now type a 0,
  487.         and the display should look like this:
  488.  
  489.                            1.2345678 E+08
  490.          D/R: D  Rad: F   Acc: X  Op: CLR
  491.  
  492.         Even though the calculator only allows 8 significant  digits,  it
  493.         will  allow  you to enter zeros after the 8th digit to  make  the
  494.         number larger.   Since the display cannot show more than 8 digits
  495.         in this mode,  it automatically changes to scientific notation to
  496.         show  the large number.   Now press the down arrow key,  and  the
  497.         display should look like this:
  498.  
  499.                                      OVER
  500.          D/R: D  Rad: F8  Acc: X  Op: CLR
  501.  
  502.         The  fixed  point display can only show a maximum of  16  digits.
  503.         Since  it  is set to show 8 places after the decimal,  it is  not
  504.         able  to show the 9-digit number that is now in the  accumulator.
  505.         Press the right arrow key once, and you should have:
  506.  
  507.  
  508.                                         7
  509.  
  510.  
  511.  
  512.                         123456780.0000000
  513.          D/R: D  Rad: F7  Acc: X  Op: CLR
  514.  
  515.         Now the number can be displayed within the limits  allowed.   You
  516.         should be aware that even though the calculator can show a number
  517.         of  more than 8 digits in this mode,  it still can handle only  8
  518.         significant  digits.   Press the Back Space key to clear the dis-
  519.         play, and the up arrow key to return to the normal floating point
  520.         mode.
  521.  
  522.         Enter  the  number  1.2345678 and try to enter an  additional  0.
  523.         Since trailing zeros on a decimal number do not affect the  value
  524.         of  the number,  they are not allowed.   Press the Back Space key
  525.         until the number is cleared back to zero.  Now, enter .012345678,
  526.         and the entire number will be accepted.   Zeros that fall between
  527.         the  decimal point and the first significant digit are not  them-
  528.         selves significant,  but change the value of the number,  so they
  529.         are allowed.  Again, press the back space key until the number is
  530.         cleared to zero.
  531.  
  532.         Enter the number 123E23.  The display should now look like this:
  533.  
  534.                            1.2300000 E+25
  535.          D/R: D  Rad: F   Acc: X  Op: CLR
  536.  
  537.         You can enter numbers containing exponents directly,  but if they
  538.         are not in standard scientific format,  they will be converted as
  539.         you enter them.   Therefore, when you entered 123E23, which means
  540.         123 E+23, it was translated to 1.23 E+25.  It is not necessary to
  541.         type the + key after the E if the exponent is positive,  but  you
  542.         must  type a - if the exponent is negative.   Now press the space
  543.         bar, and the display should show:
  544.  
  545.                           -1.2300000 E+25
  546.          D/R: D  Rad: F   Acc: X  Op: CLR
  547.  
  548.         The  space  bar is used to change the sign of the number  on  the
  549.         display.  The - key is used only for entering negative exponents,
  550.         and for subtraction.
  551.  
  552.         Press the down arrow key 4 times.  You should now be in the split
  553.         octal  radix  of the binary mode.   The display will  show  zero,
  554.         because  the  floating point number was too large to  convert  to
  555.         binary  (32 bits).   Type an 8,  and notice that nothing happens.
  556.         HEPCAT  will  not allow you to enter a digit not in  the  current
  557.         radix.   Only 0-7 are allowed in octal.   Now type 737.  The dis-
  558.         play shows:
  559.  
  560.                                       337
  561.          D/R: D  Rad: 8S  Acc: X  Op: CLR
  562.  
  563.         In  the  split octal radix,  only 0-3 is allowed in  every  third
  564.         place,  and so the 7 is truncated to a 3.   But suppose that  the
  565.         number  that the number we intended to type was 7377,  which is a
  566.         legal  split octal number.   Go ahead and type one more  7.   The
  567.  
  568.  
  569.                                         8
  570.  
  571.  
  572.  
  573.         display will now show:
  574.  
  575.                                   007 377
  576.          D/R: D  Rad: 8S  Acc: X  Op: CLR
  577.  
  578.         Now the four digits that we entered,  7377,  are shown correctly.
  579.         (Notice that HEPCAT leaves a space between each byte in the split
  580.         octal  radix.)   The first 7 entered was truncated when  it  fell
  581.         into  the third place,  but it was restored when the final  digit
  582.         was  entered.   Keep this in mind when you enter split octal num-
  583.         bers.   It may not appear correctly on the display until you have
  584.         entered  the complete number.   However,  whether the number  you
  585.         entered is legal or illegal (and truncated),  the number shown on
  586.         the display will be the one used in calculations.
  587.  
  588.         Now press the up arrow key twice,  and press the space bar.   Be-
  589.         fore  you pressed the space bar,  the number in the  display  was
  590.         7FF,  which is the hexadecimal equivalent of 3733 in split octal.
  591.         After you press the space bar, the display shows:
  592.  
  593.                                 FFFF F801
  594.          D/R: D  Rad: 8S  Acc: X  Op: CLR
  595.  
  596.         This is the two's complement of 7FF.  When you negate a number in
  597.         a non-decimal radix,  the two's complement will be shown.  If you
  598.         want to, use the arrow keys to see what this number looks like in
  599.         the  other radixes and display modes,  and then go to the  normal
  600.         floating  point (Rad:  F) mode and press Back Space to clear  the
  601.         number to zero in preparation for the next section.
  602.  
  603.         Part 3 -- Calculations
  604.  
  605.         Ensure  that HEPCAT is set to the floating point display mode and
  606.         that it is cleared.   The number on the top line should be 0, and
  607.         the operation prompt should show CLR.  Now without holding down a
  608.         shift key,  press the +/= key on the main keyboard.   Notice that
  609.         the operation changes to +.   While HEPCAT has control,  the  +/=
  610.         key produces + whether you use a shift key or not.   So what does
  611.         HEPCAT use for an equal key?  We'll get to that a bit later.  Now
  612.         press  the  - key  that is right next to the  +/=  key,  and  the
  613.         operation will change to -.   If you have a PC-compatible,  press
  614.         the  keypad + key (at the right edge of the  keyboard).   If  you
  615.         have  a Z-100,  press the keypad Enter key.   The display  should
  616.         show + at the operation prompt.  On a Z-100, the keypad Enter key
  617.         is  a + key while HEPCAT has control.   Now,  press the keypad  -
  618.         key, and the operation prompt should show - again.
  619.  
  620.         How  hold down a Shift key (don't forget that you can use Alt for
  621.         a shift key on PC-compatibles) and press the keypad + key (keypad
  622.         Enter  key  on a Z-100).   Notice that the operation  prompt  now
  623.         shows  *.   Hold down a Shift key again,  and press the keypad  -
  624.         key.   The operation prompt should now be /.  You can perform the
  625.         four basic math operations,  +,  -, *, and /, all from the keypad
  626.         with  HEPCAT  by using Shift-plus (Shift-Enter on  a  Z-100)  for
  627.         multiplication and Shift-minus for division.
  628.  
  629.  
  630.                                         9
  631.  
  632.  
  633.  
  634.         If you have a PC-compatible, press the Prt Sc key, and the opera-
  635.         tion  prompt will show *.   On either computer type,  press the \
  636.         key,  and  the prompt will show /.   It should be obvious by  now
  637.         that  there  several  keys you can use for the  four  basic  math
  638.         operations.   For  +,  you  can use the +/= key or the  keypad  +
  639.         (keypad Enter) key.   For -,  you can use the main keyboard - key
  640.         or  the keypad - key.   For *,  you can use Shift-8 on  the  main
  641.         keyboard,  Shift-plus (Shift-Enter) on the keypad,  or the Prt Sc
  642.         on  PC-compatibles.  For /, you can use the main keyboard /  key,
  643.         the  \  key, or shift-minus on the keypad.  Of  course,  if  your
  644.         keyboard  has  separate * and / keys on the keypad, you  can  use
  645.         those also.
  646.  
  647.         Note:   In the binary mode, you cannot use \ for division.  The \
  648.         key is used for the modulus operation.
  649.  
  650.         Now  press the Back Space key so that CLR shows at the  operation
  651.         prompt,  and then press 2,  +, 3, and +.  The display should look
  652.         like this:
  653.  
  654.          =                              5
  655.          D/R: D  Rad: F   Acc: X  Op: +
  656.  
  657.         Notice  that  the answer to 2+3 is displayed,  and also  that  an
  658.         equal sign (=) has appeared on the top line.   Now press 1 and -,
  659.         and the display will show:
  660.  
  661.          =                              6
  662.          D/R: D  Rad: F   Acc: X  Op: -
  663.  
  664.         The  display  now shows the answer to 2+3+1,  but  the  operation
  665.         prompt now shows a -.   Now press 1 and +,  and the display  will
  666.         show:
  667.  
  668.          =                              5
  669.          D/R: D  Rad: F   Acc: X  Op: +
  670.  
  671.         This is the answer to 2+3+1-1.   If what we have done seems a bit
  672.         confusing  to you right now,  consider what happens when you work
  673.         with an ordinary (infix notation) pocket calculator.   If you key
  674.         in 2,  +, 3, and +, as soon as you type the second + the calcula-
  675.         tor  will  apply the first + to the two  numbers  typed  in,  and
  676.         display the result.   That is exactly how HEPCAT works!  The fact
  677.         is that on an ordinary pocket calculator, the = key is not needed
  678.         at all.  Instead of typing = when you want to get the result of a
  679.         calculation  entered,  you can type any one of the operation keys
  680.         (+,  -,  * or /).   Try entering the same sequence into a  pocket
  681.         calculator that we entered into HEPCAT.   Enter 2, +, 3, +, 1, -,
  682.         1,  +,  and see if you don't get exactly the same result that you
  683.         got  with HEPCAT.   But if you don't feel comfortable without  an
  684.         equal key, just use the +/= key on the main keyboard whenever you
  685.         feel  that you should press =.   You will actually be entering +,
  686.         but  the  result will be the same.   You could enter  our  sample
  687.         calculation as 2, +, 3, =, +, 1, =, -, 1, =, on either the pocket
  688.         calculator or in HEPCAT,  but you will have used two  unnecessary
  689.  
  690.  
  691.                                         10
  692.  
  693.  
  694.  
  695.         keystrokes.
  696.  
  697.         Now press Back Space once,  and notice that the number is cleared
  698.         to zero, and the operation is cleared to CLR.
  699.  
  700.         Back  Space  rule no.  2:   If the number on the display  is  the
  701.         result  of  a calculation (as indicated by the = sign on the  top
  702.         line),  one  press  of the Back Space key will perform  a  master
  703.         clear.   That  is,  the number will be cleared to zero,  and  the
  704.         operation will be cleared to CLR.
  705.  
  706.         Now enter 22+33, and watch closely what happens after each key is
  707.         pressed.   When you type the 22, only the number display changes.
  708.         When you type the +, the operation prompt changes.  When you type
  709.         the 33,  the number display changes to 33, and the accumulator at
  710.         the "Acc:" prompt changes to Y.
  711.  
  712.         Accumulator  entry  rule:   Any time you type a number after  you
  713.         have  typed an operation key,  that number is placed into  the  Y
  714.         accumulator.  At other times, the X accumulator is used.
  715.  
  716.         Now press the Back Space key twice.  The number on the display is
  717.         cleared  to zero.   Now,  type the - key.   The display will look
  718.         like this:
  719.  
  720.                                        22
  721.          D/R: D  Rad: F   Acc: X  Op: -
  722.  
  723.         Notice  that the operation changed to -, the accumulator  changed
  724.         back  to  X, and the number 22 (which is in  the  X  accumulator)
  725.         reappeared.  Now type 33 again, and watch the accumulator  change
  726.         back  to Y.  Use Back Space again, but this time press  it  three
  727.         times.  The display will show this:
  728.  
  729.                                         0
  730.          D/R: D  Rad: F   Acc: X  Op: CLR
  731.  
  732.         Back Space rule no. 3:  When you clear a number in the Y  accumu-
  733.         lator  to zero using Back Space, you can then enter a new  opera-
  734.         tion.   When you do, the accumulator will switch back to  X,  and
  735.         the display will show the number in the X accumulator.   However,
  736.         if you press Back Space one more time after clearing the Y  accu-
  737.         mulator to zero, it will perform a master clear.
  738.  
  739.         Now  enter  the calculation 22/0= (remember that you can use  any
  740.         operation key for =).  The display will look like this:
  741.  
  742.                                     ERROR
  743.          D/R: D  Rad: F   Acc: X  Op: CLR
  744.  
  745.         Any time you try something that HEPCAT cannot do,  such as  divi-
  746.         sion  by zero,  it performs a master clear,  except that the word
  747.         "ERROR" is placed in the display instead of the number zero.  You
  748.         can either press Back Space to get rid of the ERROR,  or you  can
  749.         just  enter a new number.   The first digit typed will get rid of
  750.  
  751.  
  752.                                         11
  753.  
  754.  
  755.  
  756.         the ERROR display.
  757.  
  758.         Enter the keys 1,  <,  1, and =.  The display will look like this
  759.         (assuming you used +/= for the = key):
  760.  
  761.          =      1.4142135       45.000002
  762.          D/R: D  Rad: F   Acc: X  Op: +
  763.  
  764.         The  "<" that you typed is the operator for rectangular to  polar
  765.         coordinate  conversion.   This operation results in two  answers,
  766.         both of which are displayed.  The r value is displayed first, and
  767.         is in the X accumulator.   The theta value is displayed next, and
  768.         is in the Y accumulator.  The X accumulator is the one that would
  769.         be used in subsequent calculations, so if you were to enter 5, =,
  770.         for  example,  you would be adding 5 to 1.4142135.   Suppose  you
  771.         wanted to use the theta value in the next calculation?   You can,
  772.         just  by  typing X.   That will cause the values in the X  and  Y
  773.         accumulators  to  be swapped.   Try it now,  and the screen  will
  774.         show:
  775.  
  776.                                 45.000002
  777.          D/R: D  Rad: F   Acc: X  Op: +
  778.  
  779.         The r value simply disappeared, since the HEPCAT has gone back to
  780.         the normal display method of showing only the active  accumulator
  781.         on the screen.   The active accumulator is X,  which now contains
  782.         the  theta value instead of the R value it held previously.   You
  783.         can also type X to swap two values that you have entered yourself
  784.         before completing a calculation.
  785.  
  786.         In addition to the special < operator, HEPCAT also supports the #
  787.         operator, which performs polar to rectangular conversion.  To use
  788.         it, enter the r value, the # operator, and the theta value.  This
  789.         operation  also  causes two numbers to be displayed.   The  first
  790.         number  is the X value, which will be in the X accumulator.   The
  791.         second number is the Y value, in the Y accumulator.
  792.  
  793.         The two special operations,  < and #, along with ^ (X to Y power)
  794.         and  the  standard 4 (+,  -,  *,  and /) make up  the  operations
  795.         available in the floating point calculator.   The binary calcula-
  796.         tor supports the standard four along with \ (modulus), & (logical
  797.         AND),  ^  (logical OR),  # (logical XOR),  L (shift left)  and  R
  798.         (shift right).  Included with HEPCAT is a "Table of HEPCAT Opera-
  799.         tions,  Functions,  and Commands" that will list all of these and
  800.         other HEPCAT features.
  801.  
  802.         In  addition to the L and R operators,  HEPCAT  provides  another
  803.         special  way to shift a number left or right.   To illustrate it,
  804.         press  the  down arrow key twice to change to  the  binary  mode,
  805.         hexadecimal radix,  and press Back Space to clear the calculator.
  806.         Then enter FFFF,  and press the left arrow key once.  The display
  807.         will show:
  808.  
  809.                                    1 FFFE
  810.          D/R: D  Rad: 16  Acc: X  Op: CLR
  811.  
  812.  
  813.                                         12
  814.  
  815.  
  816.  
  817.         This  is  the result of shifting FFFF left by one bit.   You  can
  818.         shift any number right or left while HEPCAT is in the binary mode
  819.         just by pressing the right or left arrow keys.
  820.  
  821.         Part 4 -- Memory and Functions
  822.  
  823.         HEPCAT  contains  10 memory cells into which you  can  store  the
  824.         results of calculations at any time.  To access the memory cells,
  825.         you  type  M followed by the cell number and a  memory  operation
  826.         code.   The operation codes are S (store), R (recall), C (clear),
  827.         X (exchange cell with accumulator),  + (add accumulator to cell),
  828.         and - (subtract accumulator from cell).   The 10 memory cells are
  829.         numbered 0 through 9, and if you are accessing memory cell 0, you
  830.         can leave off the cell number.  To illustrate, enter M, 0, and S,
  831.         and  then press Back Space to clear the display.   Now,  enter M,
  832.         and R,  and the number that was on the display before you cleared
  833.         it will reappear.  Now press the up arrow key twice to go back to
  834.         the normal floating point mode, and press Back Space to clear the
  835.         display.  Now enter the number 123, and press M, 1, and S.   Now,
  836.         type M twice, and the screen should show:
  837.  
  838.          M  0B 1F 2C 3C 4C 5C 6C 7C 8C 9C
  839.          D/R: D  Rad: F   Acc: X  Op: CLR
  840.  
  841.         Typing M twice calls up a memory map that shows you how each cell
  842.         is being used.   Each cell is listed by its cell number, followed
  843.         by a C if the cell is clear, a B if it holds a binary number, and
  844.         an F if it holds a floating point number.  In our example, cell 0
  845.         has  a  binary number in it,  cell 1 contains  a  floating  point
  846.         number,  and  the other cells are cleared.   When you call up the
  847.         memory  map,  you can complete a memory operation by  entering  a
  848.         cell  number and operation code, an operation code only for  cell
  849.         0, or you can just press Back Space to remove the memory map  and
  850.         restore  the previous number.  Now type R, and the screen  should
  851.         show:
  852.  
  853.                                    131070
  854.          D/R: D  Rad: F   Acc: X  Op: CLR
  855.  
  856.         This  is  the decimal equivalent of 1FFFE,  the number  that  was
  857.         stored  into cell 0.   Whenever you recall a binary number  while
  858.         you are in the floating point mode,  it is converted to  floating
  859.         point  as it is recalled into the active accumulator.   This pro-
  860.         cess also works the other way (when possible),  so that  floating
  861.         point  numbers recalled by the binary calculator are converted to
  862.         binary.   However,  the MX, M+ and M- operations do not work like
  863.         this.  MX only works if the cell contains the same type of number
  864.         as the accumulator, and M+ and M- only work if the cell is either
  865.         empty or contains the same type of number as the accumulator.
  866.  
  867.         Type Q, and the display will show:
  868.  
  869.          SQRT                    362.0359
  870.          D/R: D  Rad: F   Acc: X  Op: CLR
  871.  
  872.  
  873.  
  874.                                         13
  875.  
  876.  
  877.  
  878.         You have just taken the square root of 131070.   The square  root
  879.         function  is  just one of the functions built into  HEPCAT.   You
  880.         will  find  a list of them in the "Table  of  HEPCAT  Operations,
  881.         Functions, and Commands".
  882.  
  883.         Part 5 -- The ASCII Table
  884.  
  885.         Press  Back Space to clear the display,  press the down arrow key
  886.         twice (to switch to radix hexadecimal),  and type T.  The display
  887.         will now switch to the ASCII table display.   The organization of
  888.         the information in this table will be different depending on  the
  889.         type  of computer you have.   If you have a PC  compatible,  each
  890.         entry  in the table will show the value of the character in deci-
  891.         mal (using 3 digits with leading zeros),  the value in  hexadeci-
  892.         mal,  the  printable form of the character (which may be either a
  893.         graphic symbol or a normal alpha-numeric character), the mnemonic
  894.         representation,  if any, of the character, and the control desig-
  895.         nation, if any, of the character.
  896.  
  897.         On a Z-100, each entry will show the value in decimal (3 digits),
  898.         the value in hexadecimal,  either the printable form of the char-
  899.         acter or the control designation,  and either the mnemonic or the
  900.         H-19  graphic equivalent.   You must have an ALTCHAR.SYS file  on
  901.         your  system  disk that defines the H-19  graphic  characters  in
  902.         order for HEPCAT to display them correctly.
  903.  
  904.         You  can  move around in the ASCII table as follows:   Press  the
  905.         keypad  3  (or Page Down) key to move forward 4  places  and  the
  906.         keypad  9 (or Page Up) key to move backward 4 places.  Press  the
  907.         keypad  8 key (or the separate up arrow if you have one) to  move
  908.         backward 1 place, or the keypad 2 key (or separate down arrow) to
  909.         move  forward  one place.  Try moving around in the table  for  a
  910.         while.
  911.  
  912.         Press the Back Space key once, and the HEPCAT display will revert
  913.         to  normal.   Now  enter the number 20,  and type T to enter  the
  914.         ASCII  table  again.   This time,  the table will start  with  20
  915.         (hexadecimal) or 32 (decimal).  Any time that you need to see the
  916.         ASCII equivalent of a number while you are in the binary calcula-
  917.         tor mode,  just type T, and the ASCII table will appear, starting
  918.         with the number that was on the screen.   If the number is larger
  919.         than the maximum ASCII value supported (255 on a PC-compatible or
  920.         127 on a Z-100),  the modulo 256 or 128 value of that number will
  921.         be used as the starting point of the table.
  922.  
  923.         This  concludes the tutorial on HEPCAT.   If you want  to,  press
  924.         Escape  now to return HEPCAT to the background,  quietly  waiting
  925.         for its next assignment.
  926.  
  927.  
  928.         Using HEPSETJR to Make Changes
  929.  
  930.         A  program called HEPSETJR is provided with HEPCAT that lets  you
  931.         change  a number of parameters once HEPCAT has been  loaded  into
  932.         memory.  When you ran INSTALL, HEPSETJR was automatically  copied
  933.  
  934.  
  935.                                         14
  936.  
  937.  
  938.  
  939.         to your disk.  To use it, enter
  940.  
  941.           HEPSETJR xx[,xx,xx,xx...]
  942.  
  943.         where xx is one of the following:
  944.  
  945.         AR        Set angle measurement to radians.
  946.         AD        Set angle measurement to degrees.  This is the  default
  947.                   setting.
  948.         R2        Set  HEPCAT  to come up in the binary  mode,  with  the
  949.                   radix set to binary.
  950.         R4        Set the radix to tetral (base 4).
  951.         R8        Set the radix to octal.
  952.         R8S       Set the radix to split octal.
  953.         R10       Set the radix to decimal (binary mode).
  954.         R16       Set the radix to hexadecimal.
  955.         RFn       Set the floating point display mode to fix point,  with
  956.                   n places after the decimal.  Use 2 to 8 for n.
  957.         RF        Set  the normal floating point mode.  This is  the  de-
  958.                   fault setting.
  959.         RS        Set the display mode to scientific notation.
  960.         RE        Set the display mode to engineering notation.
  961.  
  962.         The  above  settings  will take effect only if  HEPSETJR  is  run
  963.         before  HEPCAT  has been popped up for the first time  after  you
  964.         have  loaded it into memory.  The following settings can be  used
  965.         any time.
  966.  
  967.         D         Disable HEPCAT.  Use this command if you have to run  a
  968.                   program that requires you to repeatedly press the right
  969.                   shift  key (or Break key on a Z-100).  HEPCAT will  not
  970.                   pop up while it is disabled.
  971.         E         Enable HEPCAT.  Use this command to turn HEPCAT back on
  972.                   after you have used HEPSETJR D.
  973.         Cfb       Set  the display colors to the values f and b, where  f
  974.                   is the foreground color value, and b is the  background
  975.                   color value, and f and b are hexadecimal numbers.   For
  976.                   a PC-compatible computer, the acceptable values are:
  977.  
  978.                   0  black       4  red         8  dk gray     C  br red
  979.                   1  blue        5  magenta     9  br blue     D  br mag.
  980.                   2  green       6  brown       A  br green    E  yellow
  981.                   3  cyan        7  gray        B  br cyan     F  white
  982.  
  983.                   Use only 0-7 for background colors.  On a Z-100 comput-
  984.                   er, the acceptable values are:
  985.  
  986.                   0  black       4  green
  987.                   1  blue        5  cyan
  988.                   2  red         6  yellow
  989.                   3  magenta     7  white
  990.  
  991.                   On a PC-compatible with a monochrome text display  card
  992.                   or  Hercules-compatible monochrome card, the  following
  993.                   foreground and background combinations can be used with
  994.  
  995.  
  996.                                         15
  997.  
  998.  
  999.  
  1000.                   the results shown:
  1001.  
  1002.                   70  normal intensity characters on black
  1003.                   07  black characters on a light background
  1004.                   10  underlined characters on black
  1005.                   F0  intense characters on black
  1006.                   10  underlined characters on black
  1007.                   90  intense underlined characters on black.
  1008.  
  1009.                   The default settings are yellow on red for a PC-compat-
  1010.                   ible  with a color card, black on a light  back  ground
  1011.                   for a PC-compatible with a monochrome text display, and
  1012.                   black  on cyan for a Z-100.  See the  section  "Special
  1013.                   Considerations for Certain Programs" for more  informa-
  1014.                   tion on colors.
  1015.         Tn        Set the top line of the HEPCAT window to line n,  where
  1016.                   n is 0 through 9.  The default is 1.  On a Z-100,  only
  1017.                   0 or 1 can be used.
  1018.  
  1019.         You  can add a line to your AUTOEXEC.BAT file to cause HEPCAT  to
  1020.         pop  up  with  any  of the  above  settings  different  from  the
  1021.         defaults.   For  example,  if you wanted it to come up with angle
  1022.         measurement  set to radians,  the display mode set to  scientific
  1023.         notation, and the display colors set to white on a red background
  1024.         (for a PC-compatible), the HEPSETJR command would be:
  1025.  
  1026.           HEPSETJR AR,RS,CF4
  1027.  
  1028.         With  the above line added to your AUTOEXEC.BAT file  (after  the
  1029.         HEPCAT  line),  HEPCAT  will pop up with the new  settings.   See
  1030.         "Modifying Your AUTOEXEC.BAT".
  1031.  
  1032.         Note:   Since the AD and RF settings are the default,  and  since
  1033.         the angle measurement and radix can only be changed with HEPSETJR
  1034.         before  HEPCAT  has been popped up, these  settings  actually  do
  1035.         nothing.  They were added to HEPSETJR in case the defaults change
  1036.         in a future version.
  1037.  
  1038.         After you enter a valid HEPSETJR command it will display the cur-
  1039.         rent settings for some of the settable parameters like this:
  1040.  
  1041.         HEPCAT is enabled.
  1042.         FG Color=E, BG Color=4, Top Row=1
  1043.  
  1044.         If you want to see the settings without changing anything,  enter
  1045.         HEPSETJR  ?.   If you enter an invalid command  in  the  HEPSETJR
  1046.         command  line, or if you run HEPSETJR with no argument,  it  will
  1047.         display a help screen listing the available settings.
  1048.  
  1049.  
  1050.         Special Considerations for Certain Programs
  1051.  
  1052.         HEPCAT  was designed so that it can be popped up over  a  greater
  1053.         variety of programs than many other pop-up utilities (even HEPCAT
  1054.         Junior).   Here are some things you are likely to  encounter  be-
  1055.  
  1056.  
  1057.                                         16
  1058.  
  1059.  
  1060.  
  1061.         cause of this.
  1062.  
  1063.         Graphic Video Modes
  1064.  
  1065.         The following discussion applies only to PC-compatible computers.
  1066.  
  1067.         The colors mentioned previously in the discussion about  HEPSETJR
  1068.         are  valid  only for the normal text modes of CGA,  EGA  and  VGA
  1069.         video displays.  If the computer is in the CGA four color graphic
  1070.         mode,  the colors in the HEPCAT display will be  different.   The
  1071.         background color will always be either black or the color of  the
  1072.         existing  background, so you should not set the foreground  color
  1073.         to  black if you expect to use HEPCAT while the display is  in  a
  1074.         graphic  mode.  The color of the characters in the HEPCAT  window
  1075.         will be determined by the last two bits in the color's  numerical
  1076.         value, as shown in the following chart:
  1077.  
  1078.         Bits      Palette 0 colors    Palette 1 colors
  1079.         01        green               cyan
  1080.         10        red                 magenta
  1081.         11        yellow              white
  1082.  
  1083.         Therefore,  you should avoid using a black,  red,  dark gray,  or
  1084.         bright  red as a foreground color if you want to be able  to  see
  1085.         the  HEPCAT display while it is popped up during a CGA four color
  1086.         graphic mode.
  1087.  
  1088.         Sluggish Performance
  1089.  
  1090.         HEPCAT is designed to work as safely as possible,  no matter what
  1091.         the program it is popped up over is doing.   If it detects that a
  1092.         DOS  function  call  (other than keyboard input) is  in  progress
  1093.         while it is trying to respond to your input,  it will wait  until
  1094.         the DOS is finished before completing your request.  That is what
  1095.         makes  it safe to use HEPCAT while your compiler is grinding away
  1096.         at a job, even if there is disk activity.
  1097.  
  1098.         If  the  background program calls DOS over and over  in  a  tight
  1099.         loop,  HEPCAT could be sluggish in responding to  your  commands.
  1100.         This could happen if you pop it up over a program that  maintains
  1101.         some  kind  of time display on the screen, since the  program  is
  1102.         probably  calling the DOS in a loop to find out what time it  is.
  1103.         One  program like this is the Dbase III + Assistant  (tm).   When
  1104.         HEPCAT  is popped up over it, performance is a  little  sluggish,
  1105.         but  it is still usable.  Another program, which seems to  use  a
  1106.         tighter  loop, is Perks, while the main menu is active.   If  you
  1107.         load HEPCAT before Perks, you will be able to pop up HEPCAT while
  1108.         Perks  is  popped up.  However, if you pop up  HEPCAT  while  the
  1109.         Perks main menu is active, you will find HEPCAT's response  quite
  1110.         sluggish.   If you use HEPCAT while another Perks window  is  ac-
  1111.         tive, such as the Notepad, HEPCAT will respond normally.
  1112.  
  1113.         HEPCAT stores your keyboard input in a buffer,  and will act upon
  1114.         it eventually even if response is sluggish.   The buffer holds up
  1115.         to 20 keystrokes.
  1116.  
  1117.  
  1118.                                         17
  1119.  
  1120.  
  1121.  
  1122.         HEPCAT and Other Pop-Ups
  1123.  
  1124.         HEPCAT can co-exist with most other pop-up programs that you  are
  1125.         likely  to use.  You may have to adjust the order in  which  your
  1126.         pop-ups are loaded to get all of them to work properly, but it is
  1127.         usually best to load HEPCAT first.
  1128.  
  1129.         Some  pop-up  programs use the  BIOS keyboard interrupt  (on  PC-
  1130.         compatible  computers)  to detect their hot key, instead  of  the
  1131.         hardware keyboard interrupt as HEPCAT does.  These pop-ups cannot
  1132.         be popped up over as many programs as HEPCAT, and they can  some-
  1133.         times interfere with the operation of HEPCAT.  This usually  hap-
  1134.         pens  if you pop up one of them at the DOS prompt, exit  it,  and
  1135.         immediately  try to pop up HEPCAT.  HEPCAT will not  appear,  and
  1136.         the  system will seem to be "hung".  If this happens,  press  the
  1137.         Escape  key, then press the Back Space key and try HEPCAT  again.
  1138.         Most of the pop-up programs that have been published in PC  Maga-
  1139.         zine (such as POP-CAL) are in this category, as are the PC and Z-
  1140.         100 versions of the HUG KEYMAP program (if you toggle them at the
  1141.         DOS  prompt).  If you use the Z-100 version of KEYMAP, we  recom-
  1142.         mend  that you upgrade to KEYMAC (885-3046-37), which is  a  more
  1143.         versatile program.
  1144.  
  1145.         Note  to  Windows 386 users:  If you load HEPCAT before  you  run
  1146.         Windows 386, you can pop up HEPCAT over non-Windows  applications
  1147.         that you run from Windows in a text video mode.
  1148.  
  1149.  
  1150.         Changing the Activation Key
  1151.  
  1152.         You  can  change the activation key in the PC version  of  HEPCAT
  1153.         using  DEBUG  to make a patch.  The break key code is  stored  in
  1154.         HEPCAT  at address 110 (hex).  If you want to change the key,  it
  1155.         is recommended that you use one of the following:
  1156.  
  1157.         Key            Code
  1158.  
  1159.         Left Shift     2A
  1160.         Ctrl           1D
  1161.         Alt            38
  1162.  
  1163.         The  key  you  select  will have to be  pressed  three  times  to
  1164.         activate HEPCAT.   Here is an example in which the activation key
  1165.         is changed to the Alt key.
  1166.  
  1167.         A>DEBUG HEPCAT.COM
  1168.         -E110 38
  1169.         -W
  1170.         Writing 33E6 bytes
  1171.         -Q
  1172.  
  1173.         The  xxxx represents a number that will be different on different
  1174.         systems.   The number of bytes in the "Writing.." statement could
  1175.         be different.
  1176.  
  1177.  
  1178.  
  1179.                                         18
  1180.  
  1181.  
  1182.  
  1183.         You  can  also patch the activation key for the Z-100 version  of
  1184.         HEPCAT (at the same address),  but it is not recommended  because
  1185.         the activation key is passed on to the currently running program,
  1186.         and  must  be a key that is generally ignored by  programs.   The
  1187.         break key is the only one that meets this criteria.   If you  did
  1188.         patch  the key,  the Break key would still have to be used  while
  1189.         programs  are  running  that operate the keyboard  in  the  event
  1190.         driven  (up/down) mode.  The Z-100 versions of Microsoft  Windows
  1191.         uses the keyboard in the event driven mode.
  1192.  
  1193.         The keyboard codes are listed in the Keyboard Encoder section  of
  1194.         the Z-100 Series Technical Manual.
  1195.  
  1196.  
  1197.         Removing HEPCAT From Memory
  1198.  
  1199.         You  can remove HEPCAT from memory after it has been installed by
  1200.         activating it,  and then pressing F4 three times.   You should do
  1201.         this ONLY while the DOS system prompt is showing,  and not  while
  1202.         running a program, and ONLY if HEPCAT is the last memory resident
  1203.         program  loaded.   Failure  to observe these  restrictions  could
  1204.         cause  a system crash!   Removal does not work under Z-DOS or MS-
  1205.         DOS version 1.
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.                                         19
  1241.