[comp.sys.handhelds] Hidden EQ Library features

jmorriso@ee.ubc.ca (John Paul Morrison) (01/09/91)

I haven't seen this yet (ie all the heavy duty hackers bought  their HPs
too soon  to get an EQ Card), so I'll post.

There is one undocumented command in the EQ Library. It is called ELSYSEVAL.
As far as I can tell, it takes a binary as an argument. I tried a variety of
numbers, and all I got was "Bad Argument Value" ELSYSEVAL belongs to
library 266.

Something neat:
The built in command MENU is more interesting than you think. The values
0-255 are 
reserved by MENU for its own purposes. 0 to 60 something work as
documented. Up to
255 give errors. If n > 255 then MENU puts up the menu for that library.
So library
268 on the EQ Lib is used by utils. 266 MENU will show you the ELSYSEVAL
command.
My guess is that this gives access to stuff for the catalog/browser
utility.
This utility is probably the same as the one in the Programmer's toolkit
(which I 
haven't seen) Any comments?

Library 1792 and library 2 are used internally to hold the 48's commands
and stuff.
1792 MENU will give a variety of commands. They appear in the same order
as their XLIB
number.

Library 2 needs a trick:  add 2048 to libraries under 256. So 2050 MENU
will show you
more commands. For some reason not all commands are shown, the menu is
cut off at POS,
even though there are more. Don't bother hunting for more 2, 1792, and
any others you
have atttached are the only ones that will show up.

Some new SYSEVALS:
These SYSEVALS are for the EQ Lib only, plugged into port 1. I take no
responsibility
for whatever bad things happen to you if you use these!

Addres Name	Number	Size(bytes)
80000: FIN	(270)	 3184.0
818E0: EQLIB	(273)	 7168.0
850E0: PRTBL	(272)	27391.5
926DF: COLIB	(271)	 3751.5
9442E: MES	(269)	 6131.5
97415: UTILS	(268)	 6926.5
9AA32:  	(267)	70074.5  (All those equations)
BCDA7:  	(266)	 4209.0

Total Used:	       128836.5
Total Available:       131072.0 (Most likely)
So basically 2235.5 bytes of ROM was  waisted by HP! Just think what
they could have
stuffed in 2k of ROM...

Evaluating theses sysevals just leaves the library on the stack where
you can play with
it ( STO. ATTACH. it is an ordinary object).

There are plenty more sysevals, but I havn't compiled the ones I've
found. These are
the important ones.

Add 40000h to all these values if it is in port 2.

dlj@hpfcso.HP.COM (Dave Jobusch) (01/10/91)

In comp.sys.handhelds, jmorriso@ee.ubc.ca (John Paul Morrison) writes:
>
>    ...
>
>    Addres Name	Number	Size(bytes)
>    80000: FIN	(270)	 3184.0
>    818E0: EQLIB	(273)	 7168.0
>    850E0: PRTBL	(272)	27391.5
>    926DF: COLIB	(271)	 3751.5
>    9442E: MES	(269)	 6131.5
>    97415: UTILS	(268)	 6926.5
>    9AA32:  	(267)	70074.5  (All those equations)
>    BCDA7:  	(266)	 4209.0
>
>    Total Used:	       128836.5
>    Total Available:       131072.0 (Most likely)
>    So basically 2235.5 bytes of ROM was  waisted by HP! Just think what
>    they could have
>    stuffed in 2k of ROM...
>
> ...

Good grief! You mean that ROM is less than 98.3% full ???!!! What a ripoff !!!
Those slackards in Corvallis, anyways...

( Multiple :-)'s if really necessary )

         ___        Dave Jobusch
        /  /        OSSD/UDL 68K Kernel Project
HEWLETT/hp/PACKARD  Fort Collins, CO 80525-9599
      /__/          dlj@hpfcls.hp.com 

frank@grep.co.uk (Frank Wales) (01/12/91)

In article <7360043@hpfcso.HP.COM> dlj@hpfcso.HP.COM (Dave Jobusch) writes:
>Good grief! You mean that ROM is less than 98.3% full ???!!! What a ripoff !!!

That shows just how much you know about calculator technology.

As any old-time HP owner will tell you, in order to make something
uneraseable, you need to snip its corner off.  If you were to crack open
your Equation Library card and examine the actual memory chips, you'd
see that the top-left corners are missing.  In the old days, this was an
unavailable part of the storage area, but technology improves, and so
today one has the choice of 100% usage, or write-protection and 98%
usage (+/-1%, dependent on the width of one's scissors).

[Note: snipping the corners off memory chips may void your warranty and,
 if performed in the presence of highly-skilled engineers, may cause them to
 laugh and poke fun at you.  That will show you just how much they know.]
--
Frank Wales, Grep Limited,             [frank@grep.co.uk<->uunet!grep!frank]
Kirkfields Business Centre, Kirk Lane, LEEDS, UK, LS19 7LX. (+44) 532 500303