home *** CD-ROM | disk | FTP | other *** search
/ Daytime Express / DaytimeExpress.cdr / 028a / hepcat08.exe / HEPCATJR.DOC < prev    next >
Text File  |  1991-04-17  |  58KB  |  1,302 lines

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