Post Reply 
Complex Lock mode for WP-34s
04-01-2019, 10:08 PM
Post: #81
RE: Complex Lock mode for WP-34s
New build now committed - changes only made to the complex branch, so no-one else need worry! The .bin files for the calculator and the emulator file are compiled without ENTRY_RPN turned on, so if you want to see the effect of this addition you'll have to define this option in features.h and compile the code yourself! (If anyone wants a bin file to experience ENTRY_RPN on their calculator I am happy to provide one.)

However, before you all rush in I should tell you that there is a Problem. So far as I can see the emulator works perfectly. However, calculating the inverse normal distribution (e.g., 0.4 [g] [4]) on the calculator fails. Two similar but incorrect numbers are returned to the stack, and the calculator switches to double-precision mode. This happens on the calculator when the firmware is compiled with INCLUDE_C_LOCK defined, and not otherwise. As I've said, it doesn't happen in the emulator.

I don't know the reason for this. It isn't the fault of ENTRY_RPN! (The problem also doesn't appear if I compile with EXTRA_FLAGS turned on but with INCLUDE_C_LOCK undefined.) The C_LOCK code is fairly innocent, consisting mostly of extra menu entries and added functions, so I'm not sure what problem it is causing. A workaround might be to revert the relevant xrom files (where the normal distribution code lives) to earlier versions (there was a big change at version 3751) but there is no guarantee that this will fix the problem.

I certainly don't expect anyone else to work on this - it's 2019, not 2015, and people have moved on. But if anyone has any idea of the sort of issue that could cause this problem on the calculator but not on the emulator, that might be helpful.

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 - 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
RE: Complex Lock mode for WP-34s - Nigel (UK) - 04-01-2019 10:08 PM



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