Pop-up menus

The Simulator provides several pop-up menus. Pop-up menus are invoked by either clicking on a GUI element (buttons, display etc.) with mouse button 3 (right button) or by a keyboard shortcut of the form <Alt>-<key>.

If you invoke a pop-up menu by clicking a GUI element, its top left corner appears near the mouse pointer. If you invoke the pop-up with a shortcut, the top left corner of the pop-up appears at the bottom left corner of the GUI element.

The following sections described each pop-up menu in detail.

ON menu

The ON pop-up menu provides functions that are typical for a "File" menu.

Menu item Shortcut Description
Open program… Ctrl-O Open a HP-15C program file. Opens the operating systems standard "Load file" dialogue box to select a file. The new program will override the current program(s) when loaded.
Save program… Ctrl-S Save the current HP-15C program(s) to a file. Opens the operating systems standard "Save file" dialogue box to specify a file.
Save memory Ctrl-M Save the Simulator memory to disk. Path and file name depend on the operating system and can not be changed by the user.
Load memory Ctrl-L Reload the Simulator memory.
Clear all - Set all registers to zero.
1,000.00 → 1.000,00 Alt-.
Alt-,
This entry toggles the representation of the decimal point and the decimal separator.
Preferences… - This entry opens a dialogue box that allows you to configure the Simulator. See Preferences for details on configurable items.
Help… F1 Displays the Simulator online help while in RUN mode or the help file for the current program (if available) in PRGM mode.
About… - Opens a dialogue box showing the Simulators copyright, disclaimer and serial number.
Exit Alt-F4 Shuts off the Simulator.

← ON menu ↑ Top

Stack menu

This menu shows the status of the stack. That is, the values of the numbers stored in each of the four stack registers and in the last x register.

The stack menu is available only in RUN mode, not in PRGM mode.

Selecting one of the menu entries X through T performs a stack roll down. The selected register becomes the X register. Selecting entry LSTx performs a push on the stack and copies the contents of the LSTx register to the X register.

Numbers in the pop-up menu are formatted in the same way as in the display. Let us assume you have keyed in the following:

1 2 ex g √x (or )

1 2 ENTER

7 7 7 7 7 7 1/X

4 2

f 7 2 (or simply FIX 2)

When you right click the display, you will see the pop-up menu as shown in the first column:
FIX 2 FIX 4 SCI 3
stack_fix2.gif 198x114 stack_fix4.gif 198x114 stack_sci3.gif 198x114

The key sequence f 7 4 gives the format shown in the second column and f 8 3 that in the third column.

In COMPLEX mode, the stack pop-up menu displays both the real and the imaginary stack:

stack_complex.gif 382x114

← Stack menu ↑ Top

Storage menus

This menu displays the status of the storage registers.

Depending on whether you invoked the menu via the STO key or the RCL key, the menu is either in storage or in recall mode. Selecting a register in recall mode will copy the contents of that register to the X register. In storage mode the contents of the X register is copied to the selected register.

By default, the storage menu is displayed in two-column mode. It can be changed to one-column mode in the Preferences dialogue box.
two-column mode one-column mode
storage_2cols.gif 370x226 storage_1cols.gif 186x426

As with the real HP-15C the user can change the number of available registers with f DIM (i). The pop-up menu will show only the registers currently defined, but a maximum of 20 registers, plus the I register. If, for example, the user has limited the number of registers to 3, the pop-up will look like this:

storage_3regs.gif 186x86

← Storage menu ↑ Top

Program menu

This menu shows the current program steps in a multi-column list. It is the equivalent of the real HP-15C function GTO CHS # # # (where # = 09) which moves the program pointer to the step with the given number.

In PRGM mode the menu is invoked by:

In RUN mode the menu can only be invoked by:

If you select a program step from the menu, the program pointer is positioned on that step. In PRGM mode, the selected program step will also show up in the display.

Three settings affect the layout of the menu (see Preferences).

The following figure shows some examples of pop-up menus:
CodeCode and colourMnemonicsMnemonics and colour
prgm_code.gif 142x206 prgm_code_col.gif 142x206 prgm_mnemonics.gif 142x206 prgm_mnemonics_col.gif 142x206

By default, the menu displays coloured mnemonics.

← PRGM menu ↑ Top

Flag menus

This menu shows the status of the 10 flags.

A value of "1" indicates that a flag is set (on), a values of "0" that it is not (off). The flags 1 through 7 are user-defined flags. Flag 8 indicate whether or not the Simulator is in complex mode. Flag 9 indicates a blinking display.

When you select a menu entry in PRGM mode, the key sequence to inquire the status of that Flag is added to the program. Selecting a menu entry in RUN mode has no effect.

← Flag menu ↑ Top

Test menu

The test menu provides access to the 10 compare operations not directly accessible from the keypad.

The test menu is available only in PRGM mode, not in RUN mode.

The HP-15C has 12 different compare operations. Two of them, x≤y and, x=0, are accessible directly from the keypad. The ten remaining through g TEST n, where n indicates the operations code:

test_menu.gif 106x206

← Test menu ↑ Top

Error menu

If an error occurs, the HP-15C displays the word "ERROR" followed by the error code. The error pop-up menu provides a decoding for the error numbers.

No.Short desc.Description
0y ÷ 0, LN 0, … Invalid mathematical operation

Invalid argument in one of the following routines:

×, where x = 0.
yx, where

  • in real mode y < 0 and x is not an integer.
  • in real mode y = 0 and x ≤ 0.
  • in complex mode y = 0 and Re(x) ≤ 0.
√x, in real mode where x < 0.
1/x, where x = 0.

LOG, where

  • in real mode x < 0 or
  • in complex mode x = 0.
LN, where
  • in real mode x<0 or
  • in complex mode x=0.
sin-1, where in real mode |x|>1.
cos-1, where in real mode |x|>1.

STO ÷, where x = 0.
RCL ÷, where the content of the addressed register is 0.

Δ%, where the value in the Y registers is 0.

HYP-1 cos, where in real mode x<1.
HYP-1 tan, where in real mode |x|>1.

Cy,x or Py,x, where

  • x or y are not integers;
  • x<0 or y<0;
  • x>y;
  • x or y≥1010.
     
1LN A, SIN A, … Invalid Matrix operation

The Simulator does not support matrix functions.
 

2Σ Error Invalid statistic operation

x, n = 0.
s, n ≤ 1.
y,r, n ≤ 1.
L.R., n ≤ 1.
 

3R?, Aij? Invalid address for register or matrix element

The addressed storage register or the indexed matrix element does not exist.
 

4LBL?, GTO > MEM,
PRGM > MEM
Invalid line number or label name

Program step addressed by line number is not in use or does not exist (line number > 448). Attempt to enter more than 448 program steps. Addressed label does not exist.
 

5> 7 RTN To many nested sub-programs

More than 7 nested sub-program levels.
 

6SF > 9, CF > 9, F? > 9 Invalid flag

Attempt to call a flag greater than 9.
 

7SOLVE(SOLVE), ∫xy(∫xy) Recursive call to SOLVE or xy

A program called by SOLVE calls SOLVE; a program called by xy calls xy.
 

8SOLVE ? No root found

SOLVE can not find a root in the given interval.
 

9ON / × Service

This error can not occur with the Simulator.
 

10DIM > MEM Insufficient memory

Not enough memory to execute the requested operation.
 

11DIM A ≠> DIM B Invalid matrix element

Matrix operations are not supported by the Simulator.
 

98File I/O Error Error while reading or writing a program file
 
99Tcl/Tk Error Tcl/Tk interpreter error

This is, of course, no error code of the real HP-15C. Although the Simulator has been tested a lot, there may be some undetected errors in the code.

When you come across such an error, it may happen that even restarting the Simulator does not solve the problem. In this case, the HP-15C memory file must be deleted manually.
 

← Error menu ↑ Top

Keyboard →