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.
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.
Have owned HP10C HP32SII.
Currently use HP50G Free42 DM42.
Testing WP43S, C43.
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 (2.82 KiB) Viewed 303 times
Jaco Mostert
Elec Eng, South Africa C43 (WP34C) on DM42 sn. 03818 & 06199 for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS: 42s Byron, Free42, WP31S/34S, HCalc.
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.
...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 C43 (WP34C) on DM42 sn. 03818 & 06199 for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS: 42s Byron, Free42, WP31S/34S, HCalc.
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 (75.01 KiB) Viewed 167 times
Have owned HP10C HP32SII.
Currently use HP50G Free42 DM42.
Testing WP43S, C43.
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!).