Page 1 of 1

DM41X encoder/decoder ?

Posted: Sun Sep 27, 2020 6:43 am
by hsilop
I just ordered my DM41X - I can't wait.

Is there a DM41X encoder/decoder similar to the DM42 encoder/decoder that ( used to !? ) exist?

I have a bunch of HP41CV programs that I've actually keyed into text files as a kind of backup. It'd be great if I could encode these and upload them into the DM41X.

Re: DM41X encoder/decoder ?

Posted: Sun Sep 27, 2020 8:39 am
by dlachieze
The 42S is compatible with the 41C at the user code level for the standard 41 instruction set so the DM42 encoder/decoder should work for most, if not all, of your HP41CV programs. The differences are described in the HP-42S User's Manual, section 11 "Using HP-41 programs".

Otherwise there is the HP41UC tool available on Windows and Linux.

Re: DM41X encoder/decoder ?

Posted: Sun Sep 27, 2020 9:35 am
by grsbanks
There is also a DM41 encoder that should work for you. It will generate a state file that you can copy over to the DM41X (it is compatible with DM41 state files). You can then save the programs individually as .raw files if needed.

Note that things are changing and this link is going to move at some point in the near future so don't get used to it :) http://dm41.swissmicros.com/

Re: DM41X encoder/decoder ?

Posted: Mon Sep 28, 2020 5:53 am
by hsilop
dlachieze wrote: ↑
Sun Sep 27, 2020 8:39 am
The 42S is compatible with the 41C at the user code level for the standard 41 instruction set so the DM42 encoder/decoder should work for most, if not all, of your HP41CV programs. The differences are described in the HP-42S User's Manual, section 11 "Using HP-41 programs".

Otherwise there is the HP41UC tool available on Windows and Linux.
Thank is very cool! So the 42S instruction set is a superset of the the 41C instruction set? Good work HP.

Re: DM41X encoder/decoder ?

Posted: Mon Sep 28, 2020 7:54 am
by Walter
hsilop wrote: ↑
Mon Sep 28, 2020 5:53 am
dlachieze wrote: ↑
Sun Sep 27, 2020 8:39 am
The 42S is compatible with the 41C at the user code level for the standard 41 instruction set... The differences are described in the HP-42S User's Manual, section 11 "Using HP-41 programs".

Otherwise there is the HP41UC tool available on Windows and Linux.
Thank is very cool! So the 42S instruction set is a superset of the the 41C instruction set? Good work HP.
As it's documented in the HP-42 manuals for fourty years...

Re: DM41X encoder/decoder ?

Posted: Wed Jan 19, 2022 10:18 am
by pinkman
Hello everyone,
something is puzzling me with the state encoder/decoder (https://dm41.swissmicros.com/).

Starting from a fresh hard reset (pin on the back) on the DM41X ("MEMORY LOST"), I create a simple program:

Code: Select all

LBL "HELLO"
"HELLO WORLD"
AVIEW
(implicit .END.)
I run it twice, everything is fine, it appears in CAT 1, etc.
Then I save the state as a new file "hw.d41", transfer this file on my computer, and decode it. The result is, as you guess:

Code: Select all

; STACK = 0 0 0 0 0
; ALPHA = "HELLO WORLD"
LBL "HELLO"
"HELLO WORLD"
AVIEW
END
If I encode this exact listing and create a new "hw2.d41", then load this new state file on the DM41X, the HELLO program doesn't appear in CAT 1.
Pressing [PRG] opens the source that I can see, and the following happens:
- try to suppress the first line (LBL "HELLO") -> DM41X locked, need to hard reset
- try to add an instruction somewhere in the code and exit PRG mode -> HELLO prog still not recognized
- GTO .. (packing) -> HELLO prog appears in CAT 1

Weird, is'nt it?

Re: DM41X encoder/decoder ?

Posted: Wed Jan 19, 2022 11:18 pm
by Peet
The DM41 programming tool doesn't seem to be 100% compatible with the DM41X.

Maybe a similar problem:
viewtopic.php?p=21051#p21051

Re: DM41X encoder/decoder ?

Posted: Fri Jan 21, 2022 12:32 am
by pinkman
Maybe same problem, but working with raw works well for me. I’ll give a try to HP41UC.