Post Reply 
WP-34s port to DM42
04-10-2021, 09:36 PM
Post: #14
RE: WP-34s port to DM42
(04-10-2021 12:08 PM)Jaco@cocoon-creations.com Wrote:  Fantastic Nigel !!!!

I will check it out !!!!

Well done.
Thank you!

(04-10-2021 12:08 PM)Jaco@cocoon-creations.com Wrote:  Two questions, before I try saddle the linux horse to compile:
It's quite a friendly horse. I'm using Ubuntu 20.04.2 LTS in a Virtualbox virtual machine running under Windows 10. With a few exceptions, everything just works using the gnu compilers. No need to worry about particular versions of anything!

(04-10-2021 12:08 PM)Jaco@cocoon-creations.com Wrote:  Two questions, 1. Does the SIGFIG option work if enabled in features.h?
Yes. However, see below ....
(04-10-2021 12:08 PM)Jaco@cocoon-creations.com Wrote:  2. What would the implications be if I want to include the Complex model that you worked so hard on?
I'm intending to do this myself before long. It isn't quite trivial - at present, my program is based on the "vanilla" WP34s code. All of my changes are nicely encapsulated in #ifdef DM42 ... #endif tags, so they are easily identifiable, but they will have to be copied across to the WP34c code. In some cases this is easy - for example, storage.c is identical in wp34s and wp34c, so it can simply be replaced - but in other cases it might be a little harder. It might be wiser to let me try first - you seem to be pretty busy elsewhere at present! However, you're welcome to have a go.

One feature of the WP34s is that programs are stored not as text but as opcodes. So if extra commands are added - for example, by changing features.h - some opcodes may change, unless the new commands are added at the end of the existing opcodes. This risks breaking programs that users currently have stored in RAM or in libraries. Actually, enabling SIGFIG mode doesn't cause a problem. But other commands might. Before I go all-out and turn everything on I want to make sure that as many extra commands as possible go at the end of the basic set of commands already present. If you aren't worried about preserving existing code, or you're happy to use the assembler suite to recompile things, this isn't a problem.

If you do decide to compile it, let me know how it goes! I'm sorry that I didn't do a Windows makefile, but I couldn't get anything to work under Windows at all. I can't even run the WP43s/c demo programs under Windows. (My laptop is OLD.) In any case I find makefiles particularly intellectually challenging; I'll jump on any excuse to make them simpler.

Best wishes

Nigel (UK)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WP-34s port to DM42 - Nigel (UK) - 03-21-2021, 04:01 PM
RE: WP-34s port to DM42 - mfleming - 03-22-2021, 01:04 AM
RE: WP-34s port to DM42 - Nigel (UK) - 03-22-2021, 11:23 AM
RE: WP-34s port to DM42 - Ángel Martin - 03-22-2021, 04:21 PM
RE: WP-34s port to DM42 - Nigel (UK) - 03-22-2021, 09:10 PM
RE: WP-34s port to DM42 - Paul Dale - 03-23-2021, 06:21 AM
RE: WP-34s port to DM42 - Paul Dale - 03-23-2021, 06:23 AM
RE: WP-34s port to DM42 - Ángel Martin - 03-23-2021, 08:46 AM
RE: WP-34s port to DM42 - Nigel (UK) - 03-23-2021, 10:01 PM
RE: WP-34s port to DM42 - Paul Dale - 03-24-2021, 06:11 AM
RE: WP-34s port to DM42 - Nigel (UK) - 03-24-2021, 08:54 PM
RE: WP-34s port to DM42 - Nigel (UK) - 04-06-2021, 10:39 PM
RE: WP-34s port to DM42 - Nigel (UK) - 04-10-2021 09:36 PM
RE: WP-34s port to DM42 - Nigel (UK) - 05-02-2021, 07:09 PM
RE: WP-34s port to DM42 - Nigel (UK) - 05-02-2021, 09:46 PM
RE: WP-34s port to DM42 - Nigel (UK) - 10-04-2022, 09:19 AM



User(s) browsing this thread: 1 Guest(s)