Post Reply 
Complex Lock mode for WP-34s
03-17-2015, 11:24 AM
Post: #5
RE: Complex Lock mode for WP-34s
(03-17-2015 07:31 AM)Paul Dale Wrote:  Great work. Well thought out and implemented.

There is no alternative to stealing code space from the libraries in flash, which we tried to avoid as far as possible to keep the 34S as flexible as possible. Still, many people would consider the flash well spent. Just how much library space is left after this modification?

However, it should be possible to steal some RAM away from program memory instead of the user flags (another resource we avoided using, although it would have made life easier to use them liberally several times). You are using eight bits worth of flags which is one instruction with another eight bits to spare. There are still a couple of bits in the system flags space still (two without printer support and a third without Y-reg display) which are saved and restored by STOM / RCLM. These would suffice for the complex mode enabled/disabled and the complex mode on/off. Not sure where i/j display fits in.


Thought about a 34C branch? Maybe 34i is a better name to avoid confusion (34j is just plain wrong Smile. I am always happy to give people SVN access to the project if they can make genuine contributions which this clearly is.


And please release your source code, the project is GPL which means code changes must be made available if the binaries are.


- Pauli

So sorry about the missing source code - I hope it's clear from my first post that I omitted it by mistake. I've added a link to the patch file and also to the wp34s.op file that goes with it.

I like the idea of a branch. It avoids cluttering up the main code with lots of extra compiler directives and given the size of the standard firmware there isn't really room for something like this in it by default. With the calc.bin file loaded my calculator reports "FL 2686" free.

Thank you for your helpful comments. I think I still have SVN access from a previous occasion on which I contributed some code but I won't use it without letting you know first!

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


Messages In This Thread
Complex Lock mode for WP-34s - Nigel (UK) - 03-16-2015, 08:03 PM
RE: Complex Lock mode for WP-34s - Jeff O. - 03-16-2015, 08:22 PM
RE: Complex Lock mode for WP-34s - Jeff O. - 03-17-2015, 11:48 AM
RE: Complex Lock mode for WP-34s - Jeff O. - 03-17-2015, 11:50 PM
RE: Complex Lock mode for WP-34s - Nigel (UK) - 03-17-2015 11:24 AM
RE: Complex Lock mode for WP-34s - Bit - 03-18-2015, 02:50 AM
RE: Complex Lock mode for WP-34s - Jeff O. - 03-19-2015, 05:41 PM
RE: Complex Lock mode for WP-34s - Bit - 03-23-2015, 12:40 AM
RE: Complex Lock mode for WP-34s - Jeff O. - 03-23-2015, 12:03 PM
RE: Complex Lock mode for WP-34s - emece67 - 03-23-2015, 05:12 PM
RE: Complex Lock mode for WP-34s - emece67 - 04-22-2015, 12:17 AM
RE: Complex Lock mode for WP-34s - emece67 - 04-22-2015, 10:44 AM
RE: Complex Lock mode for WP-34s - Jeff O. - 04-24-2015, 05:44 PM
RE: Complex Lock mode for WP-34s - Jeff O. - 04-29-2015, 12:18 PM
RE: Complex Lock mode for WP-34s - Jeff O. - 04-13-2015, 01:55 PM
RE: Complex Lock mode for WP-34s - Jeff O. - 04-14-2015, 11:42 AM
RE: Complex Lock mode for WP-34s - emece67 - 04-29-2015, 02:02 PM
RE: Complex Lock mode for WP-34s - emece67 - 05-05-2015, 06:21 PM
RE: Complex Lock mode for WP-34s - emece67 - 05-06-2015, 07:13 AM
RE: Complex Lock mode for WP-34s - Jeff O. - 02-23-2019, 01:26 AM



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