Post Reply 
Complex Lock mode for WP-34s
04-26-2015, 09:10 PM
Post: #51
RE: Complex Lock mode for WP-34s
(04-24-2015 05:44 PM)Jeff O. Wrote:  
(04-22-2015 08:40 PM)Nigel (UK) Wrote:  calc.bin does not contain the code for IR printing or for the stopwatch, which is why it still has a good amount of free flash for program storage. I think that calc.bin is fine as it is. The memory problem is only real for those who do use the IR printing and only have (at present) 500 free program steps in flash memory when complex lock mode is compiled in.

How much flash for a version with just the stopwatch functions? I ask because it seems to me that while IR printing is a cool feature, adding the crystal provides the benefits of reliable emulator to real calculator communication (in addition to the date, time and stopwatch functions, of course) and so is probably more useful to more people if it could be included by itself without IR printer support.

Is there a correspondence between the available bytes of flash and number program steps that may be stored? In other words, how much flash is required to save 500 lines of programming, 1000 lines, etc.?

The crystal version (containing the stopwatch code) had space for 1920 program steps in flash. Each program step requires two bytes of flash memory.

(04-24-2015 05:44 PM)Jeff O. Wrote:  
(04-22-2015 08:40 PM)Nigel (UK) Wrote:  No-one who uses complex lock mode seems to want anything removed from it, so I'll work on optimising the code as it is, without cutting anything out.

So far you are doing great.

Thank you!

(04-24-2015 05:44 PM)Jeff O. Wrote:  
(04-22-2015 08:40 PM)Nigel (UK) Wrote:  For those who want more free flash a series of compile-time options in features.h could allow specific parts of the standard WP-34s firmware to be disabled as they choose.

One of these days I would like to learn how to do so. I like to think that I have the capability, although that is far from certain. Until then, I must depend on the kindness of people like you. Luckily for me, you are very kind indeed!

Jeff

It isn't nearly as hard as it might seem. I followed other people's instructions and it worked - my experiences are detailed here. The biggest problem is getting versions of the gnu compilers that actually work. Once you have found a version that works, never update it! No programming is needed to change compiler options - just edit one file and recompile.

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 - 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 - Nigel (UK) - 04-26-2015 09:10 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)