## DM41X encoder/decoder ?

Discussion about the new DM41X calculator
hsilop
Posts: 54
Joined: Thu Mar 14, 2019 1:35 am
Location: Canberra, Australia

### DM41X encoder/decoder ?

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.
Steve

DM42 SN: 03223
DM41X SN: 00854

HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
dlachieze
Posts: 398
Joined: Thu May 04, 2017 12:20 pm
Location: France

### Re: DM41X encoder/decoder ?

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.
DM42: 00425 - DM41X: β00066
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

### Re: DM41X encoder/decoder ?

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/
There are only 10 kinds of people in the world: those who understand binary and those who do not.
hsilop
Posts: 54
Joined: Thu Mar 14, 2019 1:35 am
Location: Canberra, Australia

### Re: DM41X encoder/decoder ?

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.
Steve

DM42 SN: 03223
DM41X SN: 00854

HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
Walter
Posts: 2207
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

### Re: DM41X encoder/decoder ?

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...
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S; WP 34S & WP 31S for obvious reasons; DM16L
pinkman
Posts: 12
Joined: Sat Feb 03, 2018 12:25 pm

### Re: DM41X encoder/decoder ?

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?
Peet
Posts: 197
Joined: Tue Sep 29, 2020 12:01 am
Location: Germany

### Re: DM41X encoder/decoder ?

The DM41 programming tool doesn't seem to be 100% compatible with the DM41X.

Maybe a similar problem:
viewtopic.php?p=21051#p21051
My programmable calculators - former: CBM PR100, HP41CV, HP28S, HP11C - current: HP48G(256kB), HP35S, Prime, DM41X, DM42
pinkman
Posts: 12
Joined: Sat Feb 03, 2018 12:25 pm

### Re: DM41X encoder/decoder ?

Maybe same problem, but working with raw works well for me. I’ll give a try to HP41UC.