DMCP v3.16 ?

Discussion around the Swiss Micros DM42 calculator.
HPMike
Posts: 95
Joined: Fri Jul 21, 2017 9:01 pm
Location: DFW, Texas

DMCP v3.16 ?

Post by HPMike » Fri Jan 24, 2020 4:36 pm

I found this in the DM42 Firmware Updates page, but no mention in this forum in the Update Announcements thread. I was able to download the .bin file, but don't know if I should go ahead and install it.
DM15L, S/N 00548. DM42, SN: 00159.

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

Re: DMCP v3.16 ?

Post by grsbanks » Fri Jan 24, 2020 5:37 pm

DMCP v3.16 is what's powering the DM41X. You won't really see any difference if you update your DM42 with it, there's little point.
Not SwissMicros staff, just an enthusiast.

HPMike
Posts: 95
Joined: Fri Jul 21, 2017 9:01 pm
Location: DFW, Texas

Re: DMCP v3.16 ?

Post by HPMike » Fri Jan 24, 2020 6:22 pm

Then why is it listed in the DM42 updates section, and why doesn't the history section state that it is meant for the DM41X ? :?
DM15L, S/N 00548. DM42, SN: 00159.

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

Re: DMCP v3.16 ?

Post by grsbanks » Fri Jan 24, 2020 6:58 pm

Because it's meant for both the DM42 and the DM41X.

I agree that my wording was not clear when I said that it was what's powering the DM41X. It looked like I could have meant that it was for the DM41X exclusively, which is not true. The hardware is identical for the two and the O/S portion, DMCP, is common to both of them.

There is an update in the works for the DM42 (no, I don't have an ETA yet and I can't yet say exactly what's in it) and as far as I know it will also be using DMCP 3.16.
Not SwissMicros staff, just an enthusiast.

Thomas Okken
Posts: 676
Joined: Tue May 02, 2017 3:48 pm
Contact:

Re: DMCP v3.16 ?

Post by Thomas Okken » Fri Jan 24, 2020 11:59 pm

grsbanks wrote:
Fri Jan 24, 2020 6:58 pm
There is an update in the works for the DM42 (no, I don't have an ETA yet and I can't yet say exactly what's in it)
OK, fair enough, but can you say anything at all? Will it be based on Free42 2.5.recent?

rprosperi
Posts: 710
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: DMCP v3.16 ?

Post by rprosperi » Sat Jan 25, 2020 12:10 am

Thomas Okken wrote:
Fri Jan 24, 2020 11:59 pm
grsbanks wrote:
Fri Jan 24, 2020 6:58 pm
There is an update in the works for the DM42 (no, I don't have an ETA yet and I can't yet say exactly what's in it)
OK, fair enough, but can you say anything at all? Will it be based on Free42 2.5.recent?
The goal is to catch-up to date, though there are some non-trivial changes such as the platform-independent state files, etc. so how large an effort that is, is still not yet clear since study of all that just started.

Is the latest change (GETKEY processing for Fn keys) final, and do you have anything else on the immediate horizon?

It would stink to get all that done, but miss something very new just because of timing.
--bob p

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

Thomas Okken
Posts: 676
Joined: Tue May 02, 2017 3:48 pm
Contact:

Re: DMCP v3.16 ?

Post by Thomas Okken » Sat Jan 25, 2020 1:55 am

rprosperi wrote:
Sat Jan 25, 2020 12:10 am
Is the latest change (GETKEY processing for Fn keys) final, and do you have anything else on the immediate horizon?
The GETKEY change is final, and will be released tomorrow, while bumping the version number to 2.5.16. Nothing else is planned for now. If and when I find the time I'll be working on the Qt port, but that is a long-term project and won't affect any of the existing versions.

N.B. There is nothing in 2.5.16 that would impact the DM42; the most recent change that does affect the DM42 is the ASTO fix in 2.5.13.

rprosperi
Posts: 710
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: DMCP v3.16 ?

Post by rprosperi » Sat Jan 25, 2020 2:31 am

Thanks Thomas, this helps to know where/how to focus effort to get caught up.
--bob p

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

Thomas Okken
Posts: 676
Joined: Tue May 02, 2017 3:48 pm
Contact:

Re: DMCP v3.16 ?

Post by Thomas Okken » Sat Jan 25, 2020 2:16 pm

My pleasure!

But actually, I was mistaken when I said that the ASTO fix in 2.5.13 was the most recent change that is relevant to the DM42. In fact, 2.5.16 is relevant as well, not because of the direct-command-mapping GETKEY fix, but because of the physical-keyboards-in-ALPHA-mode GETKEY fix.

To see the problem with the current logic, try this: Put the calculator in one of the extended ALPHA modes, so that [a] or [A] is shown at the top of the display, and then run AON GETKEY AOFF in a program. You will find that GETKEY returns 1024 plus the typed character's ASCII code, instead of the key code.

Regarding the other changes in Free42 since the latest DM42 update: while there have been many, most of them are in the various UIs, so they should not affect the DM42. The state file changes constitute the bulk of the work in the core, and they should be fairly easy to manage. Just start by looking at the history of common/shell.h and common/core_main.h; it should mostly be just a matter of removing the shell_read*/shell_write* implementations, and replacing them with C-library-compatible implementations of fread() and fwrite(), if the OS doesn't provide those already.

User avatar
Jaymos
Posts: 519
Joined: Sun Nov 04, 2018 6:03 pm
Location: Cape Town

Re: DMCP v3.16 ?

Post by Jaymos » Sat Feb 08, 2020 8:17 am

Hi,

I need the DMCP version 3.15 (or better even the 3.16) libraries.

The DM42 interface description is for version 03.12_015.

The DM42 manual points to the source code and libraries on Gitlab, but there is only DMCP version 3.14.

What documentation am I missing?

Can anyone please give me the link to the proper place for 3.15 or 3.16 libraries?

Regards
Jaco
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
43S operators right. DM42 sn. 03818.

Post Reply