Old HP42s programs

Discussion around the Swiss Micros DM42 calculator.
Post Reply
WilliamD
Posts: 4
Joined: Tue Jun 23, 2020 5:29 pm

Old HP42s programs

Post by WilliamD » Mon Jul 13, 2020 9:49 pm

I found old HP42s programs on archive.org and have some problems with getting them to run. I downloaded a raw file for EMU42 ad put it on my DM42 but get Nonexistent for the error. Can someone tell me whats wrong? Also how would I type line 172, I can't find that strange character.

https://web.archive.org/web/20070816151 ... m/prm.html

Same error with this one

https://web.archive.org/web/20070808171 ... /fctr.html

Thanks.

rprosperi
Posts: 980
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Old HP42s programs

Post by rprosperi » Mon Jul 13, 2020 11:56 pm

That character in line 172 is part of the built-in character set.

Press [Alpha] [Down] [Misc] [F5] [Alpha].

The other issue might be because you don't have enough registers allocated for storage. I don't see any comment on the minimum SIZE needed in the program description, but it does use several registers.
--bob p

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

WilliamD
Posts: 4
Joined: Tue Jun 23, 2020 5:29 pm

Re: Old HP42s programs

Post by WilliamD » Tue Jul 14, 2020 12:51 am

I did a bunch of looking online and found that character can be easily done with [ALPHA] [ENTER] while in program mode, still no clue on why the programs won't run. I really know nothing about writing programs for this calculator, so I have no clue about registers or size problems.

dlachieze
Posts: 245
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: Old HP42s programs

Post by dlachieze » Tue Jul 14, 2020 8:41 am

When you get the Non-existent error message, if you go to program mode, at which step has it stopped ?

For the SIZE, it's in the Mode menu (+/- key) on the second menu line. The default value is 25.
I've downloaded the .raw file and it runs correctly on Free42 with a SIZE of 25.
DM42: 00425 - DM41X: β00066

WilliamD
Posts: 4
Joined: Tue Jun 23, 2020 5:29 pm

Re: Old HP42s programs

Post by WilliamD » Wed Jul 15, 2020 2:33 am

If I open the program after it crashes it was on RCL "REGS". I then set the size to 25 and tried it and it ran, i also now have a variable named REGS in the system where I didn't before. So they both work now.

grsbanks
Posts: 1015
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: Old HP42s programs

Post by grsbanks » Wed Jul 15, 2020 7:57 am

WilliamD wrote:
Wed Jul 15, 2020 2:33 am
If I open the program after it crashes it was on RCL "REGS". I then set the size to 25 and tried it and it ran, i also now have a variable named REGS in the system where I didn't before. So they both work now.
That variable called "REGS" is actually your storage registers. It's a 25 (by default) x 1 matrix. Its size can be altered, giving you more or fewer storage registers (or a new matrix can be created if it has been erased) with the SIZE command. So, whenever you do something like "STO 00" or "RCL 11", that's where the calculator is storing your data to or retrieving it from.
There are only 10 kinds of people in the world: those who understand binary and those who do not.

Post Reply