Old HP42s programs

Discussion around the SwissMicros DM42 calculator
Post Reply
WilliamD
Posts: 7
Joined: Tue Jun 23, 2020 5:29 pm

Old HP42s programs

Post by WilliamD »

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: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Old HP42s programs

Post by rprosperi »

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 & 00656, DM10L: 071/100
WilliamD
Posts: 7
Joined: Tue Jun 23, 2020 5:29 pm

Re: Old HP42s programs

Post by WilliamD »

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: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: Old HP42s programs

Post by dlachieze »

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 - WP43: 00042
WilliamD
Posts: 7
Joined: Tue Jun 23, 2020 5:29 pm

Re: Old HP42s programs

Post by WilliamD »

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: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: Old HP42s programs

Post by grsbanks »

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