DM16 encoder/decoder problem

Forum for discussion of the DM10, DM11, DM12, DM15, DM16 and DM41 units
Post Reply
cdmackay
Posts: 35
Joined: Fri Oct 05, 2018 6:33 pm
Location: Cambridge, UK
Contact:

DM16 encoder/decoder problem

Post by cdmackay » Sun Mar 03, 2019 10:59 pm

hi all,

I'm trying to use the Nut decoder to convert a memory dump from my DM16 into readable code, to save.

The decoder is showing me ??? for the first 7 lines of my program; the rest is fine.

Here's what I got from the serial console:

Code: Select all

DM16
04  f0000000c00000  f0000000c00020  00000000000080  eae00000000000  
08  00000000000000  00000000000000  5c008034000000  00000000000000  
18  00000000000000  0000000000007f  00000000000000  00000000000000  
e0  00000000008120  00000000000f00  00000000000000  00000000000000  
f8  00000000000000  0000000000d441  a160aa61024081  ccf1610142e600  
fc  81f060d6d7800a  00000000000000  000000000002f9  00000000000000  
A: 00000000000000  B: f0000000c00000  C: eae00000000000
S: 00000010000000
M: 0000000000000c  N: 0000000000000c  G: 02
I went to the decoder, selected DM16, and cleared the V22 box, as mine is running V28.

I entered the above on the LHS, and clicked Decode. In the RHS code dump, I get:

Code: Select all

001  ???          | ???
002  ???          | ???
003  ???          | ???
004  ???          | ???
005  ???          | ???
006  ???          | ???
007  ???          | ???
008  LBL 0        | 43 22 0
009  B?           |    42 6
010  GTO 2        |    22 2
011  LBL 1        | 43 22 1
012  RCL 1        |    45 1
013  1            |       1
014  +            |       40
015  STO 1        |    44 1
016  GTO 0        |    22 0
017  LBL 2        | 43 22 2
018  RCL 1        |    45 1
019  PSE          |    43 34
020  RCL 0        |    45 0
021  DSZ          |    43 23
022  GTO 1        |    22 1
023  RTN          |    43 21
the Mnemonics section is identical barring line numbers and the code numbers.

From line 8 to the end, it's correct. But lines 1–7 clearly aren't. My real lines 1–7 are:

Code: Select all

LBL A
STO 0
#B   
STO I
RCL 0
0    
STO 1
[No comments on the naive code! It's my first one. I'll post that for comment in a separate thread :)]

Am I doing something wrong?

thanks very much.
Cambridge, UK
41CL, DM16, DM42, 30b (WP 34S), 28S, 48GX, 50g, 50g (newRPL), Prime G2
various Casio, Rockwell 18R :)

grsbanks
Posts: 786
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK
Contact:

Re: DM16 encoder/decoder problem

Post by grsbanks » Mon Mar 04, 2019 5:46 am

Thanks for the report. I'll take a look at that (I wrote the decoder/encoder).
Not SwissMicros staff, just an enthusiast.

cdmackay
Posts: 35
Joined: Fri Oct 05, 2018 6:33 pm
Location: Cambridge, UK
Contact:

Re: DM16 encoder/decoder problem

Post by cdmackay » Mon Mar 04, 2019 4:19 pm

grsbanks wrote:
Mon Mar 04, 2019 5:46 am
Thanks for the report. I'll take a look at that (I wrote the decoder/encoder).
Great, thanks. and thanks for writing it too :)
Cambridge, UK
41CL, DM16, DM42, 30b (WP 34S), 28S, 48GX, 50g, 50g (newRPL), Prime G2
various Casio, Rockwell 18R :)

cdmackay
Posts: 35
Joined: Fri Oct 05, 2018 6:33 pm
Location: Cambridge, UK
Contact:

Re: DM16 encoder/decoder problem

Post by cdmackay » Fri Mar 15, 2019 4:20 pm

grsbanks wrote:
Mon Mar 04, 2019 5:46 am
Thanks for the report. I'll take a look at that (I wrote the decoder/encoder).
hi, any news, please? I was wondering whether I was driving it wrong, as I'd not used it before?

thanks very much (and for the new DM42 firmware too!)
Cambridge, UK
41CL, DM16, DM42, 30b (WP 34S), 28S, 48GX, 50g, 50g (newRPL), Prime G2
various Casio, Rockwell 18R :)

grsbanks
Posts: 786
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK
Contact:

Re: DM16 encoder/decoder problem

Post by grsbanks » Fri Mar 15, 2019 4:45 pm

I've honestly not had time.

Between my day job, and my position on the national executive of a social/fellowship organisation, I have little time to look at everything :)

This said, in a few weeks I'll have finished my 3-year term on the exec of 41 Club GB&I and will have more time to devote to this. There are also a couple of things that need looking at in the DM11 encoder/decoder.
Not SwissMicros staff, just an enthusiast.

cdmackay
Posts: 35
Joined: Fri Oct 05, 2018 6:33 pm
Location: Cambridge, UK
Contact:

Re: DM16 encoder/decoder problem

Post by cdmackay » Fri Mar 15, 2019 4:48 pm

No, of course, sorry, didn't mean to nag.

Let me know if I can do anything to help with the decoder, or test anything.

thanks again.
Cambridge, UK
41CL, DM16, DM42, 30b (WP 34S), 28S, 48GX, 50g, 50g (newRPL), Prime G2
various Casio, Rockwell 18R :)

Post Reply