WP43 Alternative key layout --> C43

This area is for discussion about these families of custom high-end Scientific Calculator applications for SwissMicros devices.
adambennett
Posts: 8
Joined: Thu Jan 21, 2021 12:41 am
Location: Erie, PA USA

Re: 43S Alternative key layout --> WP43C

Post by adambennett »

pica wrote:
Sun Mar 28, 2021 6:38 pm
adambennett wrote:
Tue Feb 23, 2021 9:54 pm
I successfully compile/run the C43 simulator on linux.
As a Linux user, I will appreciate a bit of direction on how you did this.
After cloning the git repository, I simply went into the directory and did a "make". I later on learned I had to do "make rebuild" command instead. Having said that, your linux system will need the gcc tools installed and other libraries that the simulator uses. The steps to install those will differ depending on what linux distribution you run. I run gentoo, so most dev tools are already installed.

Is there a particular error you are getting?
DM42 SN 06811
User avatar
pica
Posts: 70
Joined: Fri Mar 30, 2018 11:36 am
Location: Eswatini

Re: 43S Alternative key layout --> WP43C

Post by pica »

Thanks, that's all I needed. Much better than running a windows simulator through windows on virtualbox.
HP50G HP35s Free42 DM42.
Testing WP43S, C43.
User avatar
pica
Posts: 70
Joined: Fri Mar 30, 2018 11:36 am
Location: Eswatini

Re: 43S Alternative key layout --> WP43C

Post by pica »

I have worked out how to compile the simulator, but the link is not working:
This fix already is in the updated "latest" branch dated 24 March, here. However, in the daily or latest updates there is not a Windows simulator pre-built. If you are set up, you can compile it yourself.
HP50G HP35s Free42 DM42.
Testing WP43S, C43.
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

I am not sure which link you mean.

If you are set up to compile, do:

Code: Select all

git fetch
git checkout origin/C43-latest
make
I do not have time to do a release now, but a few days ago I followed the WP43S Wiki instructions to set up my work Windows machine, and it worked not too difficult for a person who does not know Windows like myself.

Either way, I checked the above instruction now, and compiled on my Windows setup.

Here is a link to a Windows simulator, i.e. an unofficial, unmarked, unversioned, snapshot of the "latest" pointer on my C43 site: here. Good thing it nowadays does auto dating on the startup screen, so from a versioning point of view we are not lost: it is Release 103+, dated 2021-03-31. Pretty much pinpoints it.
.
Clipboard01.png
Clipboard01.png (2.82 KiB) Viewed 3118 times
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.
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

Further to the above post, that unofficial simulator version 103+ is a week old.

I made a new simulator revision 103b (on Windows) after tonight's work (on Mac). Currently I am coding on the WP43S stats module, specifically the LR, PLOT and (new) LRPLOT functions. Of course that code pulls directly through to C43. The LRPLOT will likely only be on the C43 as they are not keen to introduce unspecified stuff. It can be downloaded here. It is still not a proper release because it hasn't been tested, it is mid-process on my stats module.

The revision 103b simulator is largely untested, so it may not work so nice. Welcome to try anyway. Also, I would not advocate to build a brand new DM42 image, as there are too many things I have changed. It is a work in progress.

Try a demo on the STATs:

Code: Select all

f[STAT], g[CLSUM], 
1 ENTER 2 [E+]
2 ENTER 4 [E+]
3 ENTER 7 [E+]
5 ENTER 12 [E+]
[Dn]
[BestF] 0 ENTER
[Dn]
[L.R.]
f[LRPLOT]
Then press [ZOOM] to see more of the graph.
And press [NXTFIT] to see the other fits.
Attachments
Clipboard05.png
Clipboard05.png (3.53 KiB) Viewed 3081 times
Last edited by Jaymos on Thu Apr 01, 2021 2:14 pm, edited 1 time in total.
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.
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

Jaymos wrote:
Thu Apr 01, 2021 1:59 am
...It can be downloaded here. It is still not a proper release because it hasn't been tested, it is mid-process on my stats module.
Apparently some settings on my Windows compiler were incorrect, causing crashes of the simulator.
I re-compiled, and the link above is fixed. I will also edit the original link. Here, new link.
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.
User avatar
pica
Posts: 70
Joined: Fri Mar 30, 2018 11:36 am
Location: Eswatini

Re: 43S Alternative key layout --> WP43C

Post by pica »

adambennett wrote:
Wed Mar 31, 2021 2:41 pm
pica wrote:
Sun Mar 28, 2021 6:38 pm
adambennett wrote:
Tue Feb 23, 2021 9:54 pm
I successfully compile/run the C43 simulator on linux.
As a Linux user, I will appreciate a bit of direction on how you did this.
After cloning the git repository, I simply went into the directory and did a "make". I later on learned I had to do "make rebuild" command instead. Having said that, your linux system will need the gcc tools installed and other libraries that the simulator uses. The steps to install those will differ depending on what linux distribution you run. I run gentoo, so most dev tools are already installed.

Is there a particular error you are getting?
It works well enough, but the UI looks a bit strange, with different lettering. Do you have the same?
Attachments
C43-linux-screenshot.png
C43-linux-screenshot.png (75.01 KiB) Viewed 2982 times
HP50G HP35s Free42 DM42.
Testing WP43S, C43.
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

It seems that the 43S font is not installed on your system.

Try that. It is in the repository.
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.
User avatar
pica
Posts: 70
Joined: Fri Mar 30, 2018 11:36 am
Location: Eswatini

Re: 43S Alternative key layout --> WP43C

Post by pica »

Jaymos wrote:
Fri Apr 02, 2021 3:06 pm
It seems that the 43S font is not installed on your system.

Try that. It is in the repository.
Sorted. Thank-you
HP50G HP35s Free42 DM42.
Testing WP43S, C43.
invariant
Posts: 13
Joined: Fri Apr 02, 2021 8:01 am

Re: 43S Alternative key layout --> WP43C

Post by invariant »

Thanks for this project!

To build, I like to use Clang, rather than GCC because of some nice tooling that it provides for profiling and debugging. However, C43 uses a gcc-only extension (which WP43S doesn't use): nested functions in C (i.e. void blah() { void meh() {} }). Would you consider a patch to extract those from their outer function?

It'd make C43 more portable (and respectful of the C standard!).
Post Reply