Post Reply 
[DM41X] State file encoder - strange behavior
01-19-2022, 09:08 PM
Post: #1
[DM41X] State file encoder - strange behavior
I post here the same message I posted yesterday on the SwissMicros forum, in cas someone here has an answer.

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:
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:
; 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?

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[DM41X] State file encoder - strange behavior - pinkman - 01-19-2022 09:08 PM



User(s) browsing this thread: 1 Guest(s)