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) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)