DMCP v3.16 ?

Discussion around the SwissMicros DM42 calculator
HPMike
Posts: 439
Joined: Fri Jul 21, 2017 11:01 pm
Location: DFW, Texas

DMCP v3.16 ?

Post by HPMike »

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. DM41X, SN: 00973. DM32, SN 00054.
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: DMCP v3.16 ?

Post by grsbanks »

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.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
HPMike
Posts: 439
Joined: Fri Jul 21, 2017 11:01 pm
Location: DFW, Texas

Re: DMCP v3.16 ?

Post by HPMike »

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. DM41X, SN: 00973. DM32, SN 00054.
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: DMCP v3.16 ?

Post by grsbanks »

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.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
Thomas Okken
Posts: 1098
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: DMCP v3.16 ?

Post by Thomas Okken »

grsbanks wrote:
Fri Jan 24, 2020 7: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: 1698
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: DMCP v3.16 ?

Post by rprosperi »

Thomas Okken wrote:
Sat Jan 25, 2020 12:59 am
grsbanks wrote:
Fri Jan 24, 2020 7: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 & 00656, DM10L: 071/100
Thomas Okken
Posts: 1098
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: DMCP v3.16 ?

Post by Thomas Okken »

rprosperi wrote:
Sat Jan 25, 2020 1: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: 1698
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: DMCP v3.16 ?

Post by rprosperi »

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

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Thomas Okken
Posts: 1098
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: DMCP v3.16 ?

Post by Thomas Okken »

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: 1634
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: DMCP v3.16 ?

Post by Jaymos »

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
https://47calc.com C47 (s/n 03818 & 06199), WP43 (0015). In box: HP42S, HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; ex: FX702P, 11C, HP67 & HP85; iOS: 42s Byron, Free42+, WP31S/34S, HCalc.
Post Reply