Quote:
I haven't tried to verify any of this, so I could be completely wrong.
If there's something I've learned in this forum is that you're *never* completely wrong, Eric. In fact you're absolutely correct, such is the routine I was looking for.
Quote:
It doesn't look like PROMFC (or PROMF2) are usable as a subroutine from a ROM of your own, if that's what you're looking for.
I'm not sure that I get your comment: I've been able to call it form my SandMath module without issues. All it needs is the entry point of the invoked function in A[S&X], for instance that'll be 07D for SDEV, 07C for MEAN, ect. This is reading from the FNCTBL to get the location of the function.
The reason I wanted to know about this is to implement a menu-like launcher, something akin to the 42-style (and later models).
Function "-PB/STS" in the SandMath now prompts a menu in the display, and gets into a [NEXT] partial entry sequence. The allowed choices are the five top keys, SHIFT, and BackArrow (as always). SHIFT toggles the displayed menu to another 5 choices, which in this case are:
Unshifted: SD: CV: R: LR: Y:
shifted: MN: LM: GD: C: P:
here SD is for Standard Deviation, and MN is for Mean - while the others are functions from the SandMath ROM.
Pressing any of the top keys will first display the function name (if the key is kept depressed), then leave the partial entry sequence and execute the corresponding function.
It all worked great, with the exception of displaying the function names for the mainframe MEAN and SDEV.
Now that's also working. Menus are very doable, the HP-41.5 is born :-)
Thanks again, 'AM