DM41X encoder/decoder ?

Discussion around the SwissMicros DM41X calculator
Post Reply
hsilop
Posts: 70
Joined: Thu Mar 14, 2019 1:35 am
Location: Canberra, Australia

DM41X encoder/decoder ?

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

DM32 SN: 00316
DM41X SN: 00854
DM42 SN: 03223


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

Re: DM41X encoder/decoder ?

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

Re: DM41X encoder/decoder ?

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

Re: DM41X encoder/decoder ?

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

DM32 SN: 00316
DM41X SN: 00854
DM42 SN: 03223


HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: DM41X encoder/decoder ?

Post 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...
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
pinkman
Posts: 12
Joined: Sat Feb 03, 2018 12:25 pm

Re: DM41X encoder/decoder ?

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

Re: DM41X encoder/decoder ?

Post 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
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 ?

Post by pinkman »

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