WP34S for the DM42

This is where developers can exchange ideas and ask questions relevant to the DM42 firmware.

Please note that Swiss Micros staff are unable to provide answers here as a general rule. This is intended as a community-driven forum.
Post Reply
Nigel (UK)
Posts: 51
Joined: Fri Jul 21, 2017 11:08 pm

WP34S for the DM42

Post by Nigel (UK) »

I was initially going to post this in the "Software Library" forum, but the polite request there for program listings made me think that this might be a better place!

This is a port of the WP-34s calculator to the DM42. I have tried hard to adapt it to the DM42 keyboard layout (thanks to Jaco and his WP43C project for inspiration) whilst preserving the original "look and feel". I haven't tried to advance on the WP-34s capabilities in any way, except for the inclusion of a few extra file commands.

Image

Here are a couple of screenshots. Menus allow all functions present on the original keyboard to be accessed without going into catalogues.

Image

The port is a vanilla WP-34s. There is no WP34C version yet; I'd like to get this one debugged first.

Here is the gitlab page for the project. As explained in the README.md file, if you want to try this out you'll need to download the build/wp34s.pgm file and the help/wp34s_help.html file from this site. The pgm file goes into the DM42 root directory; the help file goes into the HELP folder. You then load the wp34s.pgm file from the DMCP menu (option 3).

Note that this project uses the latest DMCP version (3.20 at this time). If your version is much older than this, it may not work! Upgrade first.

Please let me know if you find any bugs or have any problem with these instructions.

Have fun!

Nigel (UK)
User avatar
Walter
Posts: 1846
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: WP34S for the DM42

Post by Walter »

Sounds great! :D But now I'd need an extra DM42 for this WP34S ... :|
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S, WP 34S, WP 31S, DM16L
User avatar
akaTB
Posts: 606
Joined: Tue May 02, 2017 1:56 pm
Location: Milan, Italy

Re: WP34S for the DM42

Post by akaTB »

Walter wrote:
Sun Mar 21, 2021 6:58 pm
Sounds great! :D But now I'd need an extra DM42 for this WP34S ... :|
Just checked: they are available! ;)
Greetings,
    Massimo
ajcaton
-+×÷ left is right and right is wrong :twisted: Casted in gold
User avatar
Walter
Posts: 1846
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: WP34S for the DM42

Post by Walter »

akaTB wrote:
Sun Mar 21, 2021 7:33 pm
Walter wrote:
Sun Mar 21, 2021 6:58 pm
Sounds great! :D But now I'd need an extra DM42 for this WP34S ... :|
Just checked: they are available! ;)
Certainly. But they cost more than twice the price of an original WP34S. :shock: I doubt that the capability to bang in a nail using your calculator is worth the extra money.
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S, WP 34S, WP 31S, DM16L
User avatar
akaTB
Posts: 606
Joined: Tue May 02, 2017 1:56 pm
Location: Milan, Italy

Re: WP34S for the DM42

Post by akaTB »

Walter wrote:
Sun Mar 21, 2021 8:26 pm
akaTB wrote:
Sun Mar 21, 2021 7:33 pm
Walter wrote:
Sun Mar 21, 2021 6:58 pm
Sounds great! :D But now I'd need an extra DM42 for this WP34S ... :|
Just checked: they are available! ;)
Certainly. But they cost more than twice the price of an original WP34S. :shock: I doubt that the capability to bang in a nail using your calculator is worth the extra money.
One nail more in TI's coffin! :mrgreen:
Greetings,
    Massimo
ajcaton
-+×÷ left is right and right is wrong :twisted: Casted in gold
User avatar
H2X
Posts: 612
Joined: Tue Apr 25, 2017 8:00 am
Location: Norway

Re: WP34S for the DM42

Post by H2X »

Nigel (UK) wrote:
Sun Mar 21, 2021 4:50 pm
... This is a port of the WP-34s calculator to the DM42...

Have fun!

Nigel (UK)
Cool, Nigel! I have an extra DM42 as well as a hammer, so I think I might just have a go.. ;-)
DM42 #40 running C43 | DM41X #50 | various HP models
The earth is flat. It just appears round because it is massive and curves spacetime.
Nigel (UK)
Posts: 51
Joined: Fri Jul 21, 2017 11:08 pm

Re: WP34S for the DM42

Post by Nigel (UK) »

Great! Let me know how you get on.

[Just to be clear, for others reading: you don't actually need a spare DM42 (or a hammer!) to try this out. So long as you save your DM42 state before loading the wp34s.pgm file, you can exit the wp34s program and return your DM42 to its previous state without any ill effects at all.]

Nigel (UK)
EM41
Posts: 170
Joined: Mon Mar 30, 2020 12:10 am
Location: Overijssel Netherlands

Re: WP34S for the DM42

Post by EM41 »

Walter wrote:
Sun Mar 21, 2021 6:58 pm
Sounds great! :D But now I'd need an extra DM42 for this WP34S ... :|
You can buy mine as soon as the WP43 hardware is out :lol:
HP41C (2x), HP41CV, HP41CX, DM41X β, DM41X, DM42, HP11C, HP48G, HP97
User avatar
Walter
Posts: 1846
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: WP34S for the DM42

Post by Walter »

EM41 wrote:
Mon Mar 22, 2021 1:09 pm
Walter wrote:
Sun Mar 21, 2021 6:58 pm
Sounds great! :D But now I'd need an extra DM42 for this WP34S ... :|
You can buy mine as soon as the WP43 hardware is out :lol:
Nice idea :) Though, if I find them all again then I've got enough WP34S for my needs (even excavated my WP31S recently). And there are also emulators for them. Just my DM42 is a bit disguised ... 8-)
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S, WP 34S, WP 31S, DM16L
dlachieze
Posts: 305
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: WP34S for the DM42

Post by dlachieze »

Amazing ! This is really cool to have the WP34S SW running on the DM42 HW. No more worn overlays and a clean keyboard.

Here are my first observations:

It's faster than a WP34S on battery: I ran the N-Queen benchmark and I got ~4.3s for the 34S on my DM42, vs. ~7.5s on my WP-34S v3.3 3815.

It was quite easy to enter the program manually, I really like the way you have implemented the menus to get quick access to the functions on the keyboard of the WP 34S. I just had some trouble finding ABS, but then I remember reading in the help there was a misc. menu for everything else, and bingo ABS was there on Shift-hold-down_arrow. The WP-34S for DM42 integrated help file is really useful.

There is one function that I don't find on the DM42 keyboard mapping: SHOW (g EXIT on the WP34S).
In alpha the extended catalogs on f --> and f CPX are not mapped to the --> and CPX keys but to LN and XEQ.
Also in Alpha mode the h prefix (three press on Shift) is implemented but is not giving access to all characters on the alpha keyboard h-plane: ! (h ^), ? (h v), \ (h /) or space (h PSE) for example are missing.

The WP 34S display renders beautifully on the DM42 screen, I have just two small comments: it seems to me that the Alpha section of the display is a bit too close to the edge of the screen. I would prefer it to be a bit to the right as on the WP 34S display. And the pixels on the WP 34S (HP 30b) Alpha display are not square but rather rectangular and from what I've measured on a close-up picture I took from the display, they seem to be about 10% higher than larger giving taller characters than what we have on the DM42 version.

Image
DM42: 00425 - DM41X: β00066
Post Reply