HP-21 trivia

I haven't used an HP-21 in many years. Now that I have it running in Nonpareil, I noticed something interesting about it. Pressing the shift key (blue) terminates digit entry. I didn't recall seeing that on other HPs, but it turns out that the HP-80 does it as well, though the HP-45 and HP-55 do not.


Similar on the (real) HP-33C:

Pressing one of the shift keys 'terminates' digit entry.

You can't toggle the shift.



Actually on the HP-33C pressing the shift does not terminate digit entry. It's the key you press AFTER the shift that does that. But there's an exception to that: you can hit "f CLEAR PREFIX" or "g f CLEAR PREFIX" without terminating digit entry.

The way I originally noticed on the HP-21 is that if you're in he default FIX 2, press "1" then the blue shift, the display changes to "1.00", indicating that digit entry has been terminated. Same on the HP-80. I haven't checked the HP-70 or HP-22, but I don't think any HPs introduced in 1976 or later behave that way.


On an HP-25, neither shift key terminates digit entry but "f clear prefix" does. So once the shift keys are pressed, there is no way back.


You're right. I forgot the Clear Prefix;-)



I am not a PC programmer (IBM host only, FORTRAN, REXX, Pipe under VM/ESA) so I just tried Nonpareil 0.44 under Cygwin. And failed. Well, I have not a complete Cygwin, only what is needed to _run_ a well known host emulator and to compile the last HP49-CAS. So what I get is

make: *** No rule to make target `glib.h', needed by `debugger.d'. Stop.

Any hint? TIA.....Mike


Yes, you need to have the GTK+ toolkit (version 2.x), and the associated GDK and Glib libraries installed, as well as several others they depend on.

Building Nonpareil to run on Windows is quite a hassle. I plan to sell the Windows version in the future, but it's not quite ready yet. There will be a free demo that has only a few calculator models and doesn't save state.

Implementing not saving state is really easy since I don't have any code to save/restore state yet. That's one of the things I need to complete for the version I'll sell.


Hello Eric!

First and foremost: let me express my highest esteem for your published work. It makes me a bit envious, how much time you have to care for all those ancient gems. Tonite I read your paper presented at the HHC 2004 conference in San Jose, California on 26-SEP-2004 and was a bit sad it was only 19 pages: this story of success should continue.

Next: I tried to augment my quite incomplete Cygwin (limited just to run an S/390 emulator) with this and that. But still no final success. For Nonpareil I looked for a recipe similar to step 13 in this one. I hope to find some time next weekend to continue with your Nonpareil.



Sorry I can't offer detailed help with Cygwin. If the Cygwin installer knows about GTK+ 2.x, installing that might get you everything you need.


Forgot to mention that under Cygwin you would have to have the X server installed as well (XFree86 or x.org).


Tnx a lot. I'll try.



Seems I have to deeper into Cygwin: there is a GTK+ and GTK2, but no GTK+2. Currently I play with "your" Woodstock ROMs in my NutEm.



Hehe, it makes not much sense, but just for fun:

DMSLIO740I Execution begins...                 
HP-41CX Emulation V1R1M5
0000: 120 ?P=Q
0001: 033 JNC +06 0007
0002: 03B JNC +07 0009
0009: 25F JC -35 FFD4
000A: 3CB JNC -07 0003
0003: 047 JC +08 000B
0004: 1E7 JC +3C 0040
0005: 1EF JC +3D 0042
0006: 1FB JNC +3F 0045
0045: 108 SF 8
0046: 148 SF 6
0047: 2F2 ?C#0 PQ
0048: 04B JNC +09 0051
0049: 1AE A=A-1 ALL
004A: 3FA ASL M
004B: 09A B=A M
Nicht erlaubter Modifier in Subclass F: 7
004C: 1FC

Thats the HP34C ROM in NutEm. May be a X-compiler from Woodstock to Nut and some fidling with display and keybord will do.



Use GTK2.


Hello Eric!

I added this and that to Cygwin, no more errors from GCC, but now this:

make: *** No rule to make target `vte/vte.h', needed by `debugger.d'.  Stop.
Something missing in nonpareil-0.44.tar.gz?

Ah - sorry -- no. There is a VTE in Linux but not within Cygwin. Grrrr - .. -- I continue .. - .


Edited: 25 Feb 2005, 6:15 a.m.


1837   L06376:  .1.1.1..1.
error in file hp80.asm line 1838: syntax error
1838 L06377: .1.1111111 -> L063137
error in file hp80.asm line 1839: syntax error
error in file hp80.asm line 1840: syntax error
Pass 2 rom 0 1 2 3 4 5 6
1830 errors, 0 warnings
rm -f hp80
ln -s nonpareil hp80
rm -f hp25
ln -s nonpareil hp25
rm -f hp32e
ln -s nonpareil hp32e
rm -f hp33c
ln -s nonpareil hp33c
rm -f hp37e
ln -s nonpareil hp37e
rm -f hp41cv
ln -s nonpareil hp41cv

Just the last lines after several seconds of errors scrolling. Now what???

Nice WE.....Mike


"If anything else fails read instructions." This quote helped once more <G>. I may now run Nonpareil (see http://nonpareil.brouhaha.com) on WinXP using Cygwin. Very impressing! All those elder HP calcs emulated.

Alas I currently can not give a simple recipe what you realy need to install for Cygwin. I used a "brute force" method to make it work and regard it as a stochastical foreordination that MAKE did it. Next I found that Nonpareil expects all files stored in Unix style.

ASAP I'll restart from Zero and log all steps to make Nonpareil work on a windozed PC. IMHO it's worth the effort.



Mike, Congratulations!


Hello Tony!

Thank you 4 the flowers. I deinstalled Cygwin yesterday to start from zero, if you don't mind I send you a recipe what you need to compile and run Nonpareil. As I am _not_ a Cygwin guru I'd like your confirmation before I put it online (my recipe, not Nonpareil).

Or is there someone else out there who may tell about the do's and dont's of Nonpareil under Cygwin?



Please post your findings here!! (and thank you in advance for your effort!)


Yes, of cause, but pls let my finding be confirmed. There are still two steps of 15 that are for sure _not_ the canonical way to go.



"I see an and Hp34/45/55 on my screen!!!!!"

Tony! Thank you very much for your help.

All others: I have to correct my recipe how to run the classic HP calculators (HP-35, HP-80, HP-45 and so on - those machines that layed the foundations for HP's name for pocket calculators) on a windozed PC using E. Smith's Nonpareil. ASAP I'll shouw you the corrected recipe, I want to restart once again from Zero to count the MBs you need to install - so everybody may decide if it's worth the effort.



Mike, The HP-80 appears to run perfectly!

I must have downloaded about 60-70 MB in total, but I picked
up a little extra by way of source code and also I think I got
vim, and I was tempted by a few gnome ganes<G>. On
installation that expands to about 230MB here.

Your instructions worked flawlessly here :-)
Thanks for your work!



Hi Tony!

I am not convinced of my recipe as last nite I restarted from Zero again and failed. Yes, there are nearly 14,000 files to install that sum up to about 200 MB (the download is much less as it's packed). So to run Nonpareil on a windozed PC is something for the HP-mad.

Anyway - it's great fun to have a working HP-35 on the screen.



See here for my recipe how to run Nonpareil (at least part of it) under Cygwin on a "windozed" PC.



I still could not get it work

I have a WInXP Pro + SP2

Has anyone done a minimal installation of Cygwin & Nonpareil?

I would love to have a detailed and tested installation

Just run a package and it will install.



PS: I'm starting to hate pinquins...


Where does my recipe fail?


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP 21 - How to troubleshoot? Adam Vaughn 13 2,636 10-02-2013, 09:40 AM
Last Post: Adam Vaughn
  HP-41C Trivia Question Dan Grelinger 12 2,290 03-12-2013, 09:57 AM
Last Post: Dan Grelinger
  HP-35A/21 D.MS<-->Decimal degrees routines Matt Agajanian 9 2,225 03-29-2012, 11:03 AM
Last Post: Matt Agajanian
  21, 45, 32E--which should be next? Matt Agajanian 14 2,702 03-25-2012, 02:48 AM
Last Post: Thomas Radtke
  If the 21 came after the 45...? Matt Agajanian 5 1,454 03-24-2012, 05:45 PM
Last Post: Matt Agajanian
  41-MCODE trivia: backwards or forwards? Ángel Martin 3 1,159 03-05-2012, 04:38 PM
Last Post: Håkan Thörngren
  HP-21 displays all zeroes Barry Smith 5 1,521 01-27-2012, 01:22 PM
Last Post: Steve Simpkin
  Totally useless trivia... 41 Ángel Martin 2 901 12-07-2011, 09:38 AM
Last Post: Don Shepherd
  New -21 and -25 apps for iPhone Eric Smith 14 2,824 03-12-2011, 05:39 PM
Last Post: Eddie W. Shore
  HP 21 calculator Chris Stam 0 637 01-30-2011, 07:58 AM
Last Post: Chris Stam

Forum Jump: