Live data from Hacker News

Programming an HP-15C (2013)

blog.plover.com

21–30 of 61 posts

Re: Programming an HP-15C (2013)

#21

I think the "someone who brought it back" is Swiss Micros, which makes a compatible calculator (which they call DM-15) as well as other models in the same family. They say their chip that emulates the original cpu is quite a bit faster than the original. https://www.swissmicros.com

HP still makes a decent HP-15-like calculator:

https://en.m.wikipedia.org/wiki/HP_35s

Re: Programming an HP-15C (2013)

#22

I think the "someone who brought it back" is Swiss Micros, which makes a compatible calculator (which they call DM-15) as well as other models in the same family. They say their chip that emulates the original cpu is quite a bit faster than the original. https://www.swissmicros.com

HP themselves also briefly brought it back about a decade ago as a limited edition model that runs ~60 times faster than the original, running an emulator on an ARM microcontroller.

Re: Programming an HP-15C (2013)

#23
post #18

Reminds me to start collecting HP calculators. I have a few, but would like to collect all of them and put them in a display case. Anything non-RPN is an abomination.

Are you familiar with www.hpmuseum.org? Collectors and users of HP calculators hang out there. Hp41.org is great for the HP41

Re: Programming an HP-15C (2013)

#24

I bought a 15C new. I still have it on my EE bench (replacing my slide rule, of course). Every 8 or 9 years I replace the three LR44 batteries. And writing little programs to tickle the Inner Nerd is always fun. HP: we miss you!

I have been using HP 42S for the past 15 years and would not replace it for any other. It is a pity that the LCD fades out in these and now it is only possible to see it at specific angles.

Re: Programming an HP-15C (2013)

#25

Wow that sounds a lot more complicated than the one I had, HP 42S, because you had to use codes for the instructions instead of just pulling up the instructions in readable ASCII. I found this random example of entering a program on a 42S: https://www.youtube.com/watch?v=JQMOOxup8bI Coincidentally, it even uses the FP (fractional part) and X=0? test that the OP mentioned. I wanted to see what programming the 15C look…

The HP codes aren't too bad because they correspond to the location of the keys on the keyboard, i.e. y^x is 21 because it's the second row and first column of the keyboard. If you want something really confusing try programming a Soviet Elekronika calculator, they actually work fairly similarly to the HPs but the codes displayed on the screen when inputting a program are in hexadecimal displayed with weird symbols because you can't actually show A-F on a seven segment display.

Re: Programming an HP-15C (2013)

#26
post #11

Wow that sounds a lot more complicated than the one I had, HP 42S, because you had to use codes for the instructions instead of just pulling up the instructions in readable ASCII. I found this random example of entering a program on a 42S: https://www.youtube.com/watch?v=JQMOOxup8bI Coincidentally, it even uses the FP (fractional part) and X=0? test that the OP mentioned. I wanted to see what programming the 15C look…

> Wow that sounds a lot more complicated than the one I had, HP 42S, Yeah... the 42S derives from the earlier 41 series, and the 41 series was the first to use alphanumeric symbolic names for programming commands. Prior to that, there was always a very direct correlation between the button you pressed on the keyboard and the way the command was encoded in memory. (Which made sense given how resource limited the earli…

I consider HP-28S a work of art. The programming language can be described as an effective mixture of Forth, Lisp and even APL and J. The memory was also very efficiently used, the HP-28S had whole 32K! (not a little for that time).

And all that with 4-bit CPU (!) which worked for a very long time on very small batteries.

https://en.wikipedia.org/wiki/HP-28_series

Re: Programming an HP-15C (2013)

#27
post #25

Wow that sounds a lot more complicated than the one I had, HP 42S, because you had to use codes for the instructions instead of just pulling up the instructions in readable ASCII. I found this random example of entering a program on a 42S: https://www.youtube.com/watch?v=JQMOOxup8bI Coincidentally, it even uses the FP (fractional part) and X=0? test that the OP mentioned. I wanted to see what programming the 15C look…

The HP codes aren't too bad because they correspond to the location of the keys on the keyboard, i.e. y^x is 21 because it's the second row and first column of the keyboard. If you want something really confusing try programming a Soviet Elekronika calculator, they actually work fairly similarly to the HPs but the codes displayed on the screen when inputting a program are in hexadecimal displayed with weird symbols b…

Ah, I forgot all the fun I had squaring EGGOGs.[1] I'm working on fully documenting the MK-52 in English but I've been sidetracked with school.

[1]: for the uninitiated, when you'd do anything meaningful on the MK-52 (or 61 or one of the other ones in the series) you'd get an "ErrOr". the "ErrOr", in cyrillic, looks like "EGGOG" because "r" and the cyrillic g look similar, so a lot of people call them EGGOGs. sometimes you could square them and do other things to mess even farther with the calc. in my research I've found that there are more undocumented functions than documented, a lot have to do with the EGGOG manipulation and isolating them and entering that into a program. wild stuff

Re: Programming an HP-15C (2013)

#28
post #25

Wow that sounds a lot more complicated than the one I had, HP 42S, because you had to use codes for the instructions instead of just pulling up the instructions in readable ASCII. I found this random example of entering a program on a 42S: https://www.youtube.com/watch?v=JQMOOxup8bI Coincidentally, it even uses the FP (fractional part) and X=0? test that the OP mentioned. I wanted to see what programming the 15C look…

The HP codes aren't too bad because they correspond to the location of the keys on the keyboard, i.e. y^x is 21 because it's the second row and first column of the keyboard. If you want something really confusing try programming a Soviet Elekronika calculator, they actually work fairly similarly to the HPs but the codes displayed on the screen when inputting a program are in hexadecimal displayed with weird symbols b…

> you can't actually show A-F on a seven segment display.

Yes you can - I used a 7 segment display with hex numbers (a 6800 Dev kit of some kind) - A, b (lower case), C, d (lower case again) E, F are all straightforward.

See https://en.m.wikipedia.org/wiki/Seven-segment_display

Re: Programming an HP-15C (2013)

#29
post #25

Wow that sounds a lot more complicated than the one I had, HP 42S, because you had to use codes for the instructions instead of just pulling up the instructions in readable ASCII. I found this random example of entering a program on a 42S: https://www.youtube.com/watch?v=JQMOOxup8bI Coincidentally, it even uses the FP (fractional part) and X=0? test that the OP mentioned. I wanted to see what programming the 15C look…

The HP codes aren't too bad because they correspond to the location of the keys on the keyboard, i.e. y^x is 21 because it's the second row and first column of the keyboard. If you want something really confusing try programming a Soviet Elekronika calculator, they actually work fairly similarly to the HPs but the codes displayed on the screen when inputting a program are in hexadecimal displayed with weird symbols b…

I've typically seen A-F rendered like so:

   _         _        _   _
  |_|  |_   |    _|  |_  |_
  | |  |_|  |_  |_|  |_  |
(Variations would be a double-story lower case 'a' and lower case 'c'.)

Re: Programming an HP-15C (2013)

#30

Related: it’s been sad to see the HP48 emulators bitrotting. m48 is no longer available on the App Store, and I can’t find anything that works anymore for the Mac.

There's a port of Emu48 to MacOS

https://sourceforge.net/projects/emu48mac/

Kinda Mac-related is i48 for iOS:

https://apps.apple.com/us/app/i48/id329454950

hpcalc.org has a list of emulators:

https://www.hpcalc.org/hp48/pc/emulators/

Best seems to be Emu48, as mentioned above:

https://hp.giesselink.com/emu48.htm

x48 is open source, like Emu48:

https://sourceforge.net/projects/x48.berlios/

Post reply on HN