I did finally get it figured out.
keyboard codes changed from the 9825 to the 9826. The keycode table has a
small footnote at the bottom that states "Lower 8 bits of 9826 keycode
only".
They gave an example on page 4-10 of the HPL Operating Manual 09826-90040.
Keycode for "5" on 9825 is 83. On the 9836, the same key has keycode 2885.
On both computers, the ASCII code is 53. The Keycode table lists 45 Hex
for the 9826. 2885 = b45 Hex. Strip off MSD b to convert then look up in
the table.
The code snip below calls a lookup table to do the keycode conversion of
9826 keycodes for the 9825 HPL code running on my 9826.
S.R. "Hutch" Hutchins
|---------+----------------------------->
| | "Joe R." |
| | <rigdonj at cfl.rr.co|
| | m> |
| | Sent by: |
| | cctech-bounces at cla|
| |
ssiccmp.org |
| | |
| | |
| | 08/02/2005 05:36 |
| | AM |
| | Please respond to |
| | "General |
| | Discussion: |
| | On-Topic Posts |
| | Only" |
| | |
|---------+----------------------------->
---------------------------------------------------------------------------------------------------------------|
|
|
| To: "General Discussion: On-Topic and Off-Topic Posts"
<cctalk at classiccmp.org> |
| cc:
|
| Subject: Re: HP 9825 computer/calculator manuals & Re: HPL manual request
|
---------------------------------------------------------------------------------------------------------------|
At 08:37 AM 8/1/05 -0400, you wrote:
when he gets them scanned, where will they end up?
Bitsavers of course!
Question on HPL, for anyone willing to help,
The following line of code gets a value from the keyboard buffer. I looked
in HPL Operating Manual 98614-90010 manual for keycode conversion table (
page B-3) and it only goes to 255. Where do I find out what these
2874,2873...ect values are , with respect to the keyboard buffer?
I have no idea. I've never used those functions. Just as a guess I check
and see if it performs a MOD function to any out of range values.
Joe
65: "kbd":pbeep 2460,.05;key}K;if K=2874 or K=2873;1}Z;kret
66: if K=2867;1}Z}W;kret
67: if K>=2896 and K<=2906;gto "char"
68: if K>=2916 and K<=2941;gto "char"
69: if K>=2788 and K<=2813;gto "char"
70: if K=2782;gto "char"
71: if K=2862;if T>0;" "}V$[T,T];T-1}T;gto "kret"
72: if K=2845;aclr ;gclr;tabxy 61,17;prt "(RAM) HPL 2.1 Ready";stp ;end
73: gto "kret"
74:
75: "kret":V$[1,16]}T$[1];kret
76:
77: "char":if D=0;1}S;if T<16;T+1}T;char(asc K)}V$[T,T];gto "kret"
78: if D>0 and D<5;if T<6;T+1}T;char(asc K)}V$[T,T];gto "kret"
79: gto "kret"
|---------+----------------------------->
| | "Joe R." |
| | <rigdonj at cfl.rr.co|
| | m> |
| | Sent by: |
| | cctech-bounces at cla|
| |
ssiccmp.org |
| | |
| | |
| | 07/30/2005 10:19 |
| | AM |
| | Please respond to |
| | "General |
| | Discussion: |
| | On-Topic Posts |
| | Only" |
| | |
|---------+----------------------------->
---------------------------------------------------------------------------
------------------------------------|
|
|
| To: "General Discussion: On-Topic
and Off-Topic Posts"
<cctalk at classiccmp.org> |
| cc:
|
| Subject: HP 9825 computer/calculator manuals
& Re: HPL manual
request |
---------------------------------------------------------------------------
------------------------------------|
Oops! I forgot to add that HP refers the HPL users to the HP 9825
Calculator manual for more details on HPL. There's an auction of E-bay
right now for a set of HP 9825 manuals. That's what reminded me about the
referral.
<ttp://cgi.ebay.com/HP-9825-computer-calculator-manuals_W0QQitemZ6788289667Q
QcategoryZ16210QQrdZ1QQcmdZViewItem>
Joe
At 09:58 AM 7/27/05 -0400, you wrote:
>
>
>
>
>I was able to find HPL Operating Manual and Programming Update
>(09826-90040) on bitsavers website. I have HPL Operating Manual
>(98614-90010). Does anyone know if HPL Condensed Reference (98614-90020)
>is archived anywhere? Is there any other references available for HPL
2.1?
Hutch
I just finished packing a BUNCH of HP manuals and shipping them to Al
to
be scanned and archived. In the pile are several HPL
manuals, a manual for
BTL (Board Test Language, a variation of HPL that was used on the 3060
circuit card test station) and a photocopy of the HPL Condensed Reference
Manual.
Joe