home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d153 / hp11.lha / HP11 / hp11.doc < prev    next >
Text File  |  1987-06-15  |  4KB  |  91 lines

  1.                           HP11C Calculator
  2.                           ================
  3.  
  4. This program emulates an HP11C calculator. Everything is there, including
  5. the program mode (with the instructions displayed as usual, as numbers
  6. ..). By default, it's even as slow. It is callable from Workbench or CLI.
  7.  
  8. Usage
  9. -----
  10. You can pass as argument a program to be loaded (not run): from CLI, type
  11. hp11 <name> (you must be in the directory containing the program, cf
  12. miscellaneous), from the Workbench click on the program's icon, press &
  13. hold shift and double click on the hp11's icon.
  14.  
  15. Basically, the program opens a window containing an image of an HP11C (it
  16. will only look right if you use the standard workbench colours), it looks
  17. best on an interlaced screen but will work in non-interlaced mode (however,
  18. the image will be rather elongated). You select keys with the mouse or the
  19. keyboard, the following keys are supported: 0..9,.,+,-,*,/,return (for
  20. enter), esc (for ON).
  21.  
  22. The ON key is treated specially: when you select it, the HP11C becomes an
  23. icon that you can move around with the mouse. To turn the calculator back
  24. on, double-click on the icon.
  25.  
  26. The following menu options are avalaible:
  27.  
  28.    Project
  29.       New               Clear HP11 memory (equivalent to ON -)
  30.       Open        AO    Load an HP11 program
  31.       Save              Save program under current name
  32.       Save As     AS    Save program under a name
  33.       Print             Print program -- unimplemented
  34.       Quit              End program
  35.  
  36.    Edit
  37.       Copy        AC    Copy number in display to clipboard
  38.       Paste       AP    Enter clipboard as a number into X
  39.  
  40.    Options
  41.       Radix
  42.          Point    A.    Select UK/USA format for numbers
  43.          Comma    A,    Select European format for numbers
  44.       Speed
  45.          Slow           Program's execute at HP11C speed
  46.          Fast           Program's execute faster ...
  47.       Icons             Save an icon with a program ? Default = Off when
  48.                         called from CLI, on from Workbench
  49.  
  50. For more details (especially concerning HP11C programming), refer to HP's
  51. manual. (I didn't want to get sore fingers ...)
  52.  
  53.  
  54. Miscellaneous
  55. -------------
  56. Please send all bug reports, suggestions for enhancements ... to me.
  57.  
  58. The format for Copy & Paste is not the same (alas ? if you disagree
  59. strongly, please send me a note): Copy essentially places an image of what
  60. is on the display in the clipboard, thus 200*10^23 becomes 200.0000   23.
  61. Paste reads a number in the format +/-x.xE+/-x.
  62.  
  63. To run the program, the file HP11.PIC must be in the current directory.
  64. Thus from CLI, you must be in the correct directory (this is obviously not
  65. a problem from workbench). To copy the program, you must remember to copy
  66. both files (and preferably this (rather terse) documentation). The reason
  67. for this is to reduce memory consumption, most of the time the image is on
  68. screen (and not in the code).
  69.  
  70. Source code for this program will be forthcoming (when I've uploaded it,
  71. it's rather long, 150K). It compiles under Lattice C V4.0. I have tried to
  72. design the program so that it is easily ported (all the Amiga specific
  73. routines are separate, and there are fairly few routines which need to be
  74. written: read a key, write to the display ... You are left free to decide
  75. how the program is presented to the user. You could use a simple text
  76. window if you wanted too).
  77.  
  78. This program is placed in the public domain, but I would prefer if it was
  79. not used for commercial purposes.
  80.  
  81.  
  82. /-----------------------------------------------------------------------\
  83. | David Gay                       |        GAY @ CLSEPF51.bitnet        |
  84. | 19 chemin de la Source          |                                     |
  85. | 1296 Coppet                     |    I disclaim all responsability    |
  86. | Vaud                            |        for the absence of a         |
  87. | Switezerland                    |             disclaimer              |
  88. \-----------------------------------------------------------------------/
  89.  
  90.  
  91.