Post Reply 
Complex Lock mode for WP-34s
04-11-2019, 11:06 PM (This post was last modified: 04-13-2019 05:08 AM by Jaco@cocoon-creations.com.)
Post: #87
RE: Complex Lock mode for WP-34s
I testing both on real calculators and on emulators using Nigel's latest committed complex Branch source and I can find no anomalies in the complex lock and eRPN operations.

A. In the process of testing complex chain calc's, I did however find an error in my text on both my WP34S and WP34C vinyl stickers and emulator skin graphics, which was so annoying that I just had to fix it. I scrapped the batch of vinyls and re-ordered a fixed batch. The error was that [f] [->] & [g] [->], aka R<>P, had the colours / arrows the wrong way, which adds a whole additional dimension of mental housekeeping when doing a chain of complex sums. It is now fixed, and the skins are re-done and in the linked file.

I added a third skin without "eRPN", so the new skins available are:

- 1. Complex Branch Emulator: "WP34C eRPN SCIENTIFIC", with "ENTRY RPN" bottom text.
- 2. Complex Branch Emulator: "WP34C RPN SCIENTIFIC".
- 3. Main (Trunk) Emulator: "WP34S RPN SCIENTIFIC".


B. I've been using Complex lock for some time now and I added two defines for two irritating features:

B1. there is no way of easily converting computed X, Y values to a complex number. This must be done by exiting complex mode to real mode [->] [CPX], calculating an angle, leaving it in Y, and also a length in X, returning to complex mode with [->] [CPX], then handling the P>R. This is ok, but a few times I got caught and lost complex numbers in the stack when returning to a 4 level stack in real mode. I fixed this by including a default 8 level stack.

#define DEFAULT_TO_SSIZE8

B2. the complex mode trig works in radians (I wish not), I often need to convert RAD <> DEG, and also change modes RAD or DEG for this reason. To make this easier, I copied Bit's "reverse arrow" method verbatim to the Complex Branch, to more easy do RAD <> DEG conversions in both ways. This works in both complex and real modes.

#define REVERSE_ARROW // This is Bit's method Reverse angular conversions

C. Furthermore, I added a default to set the date format to YMD as the existing define DEFAULT_DATEMODE define seemed to have an issue.

#define DEFAULT_DATE_YMD
#define DEFAULT_DATE_MDY


D. I added registry files and readme, such as to edit the files for emulator path and file name, then it will adjust the registry to make Windows call the WP34C emulator when "Calc" is pressed on the Windows keyboard.

E. Finally, I did a patch file. I hope I understood that right, i.e. that the patch file is just a text file containing the DIFF between the last published version and the edits made. I quite like the colour coding in the patch file, so I also include a PDF file for readability.

F. The files, i.e. the skins, source files and patch files are linked. There is no hurry, but if it is not too sloppy, include it next time. At least add the skin updates, they are quite nice:

http://www.cocoon-creations.com/download...0patch.zip


Jaco


Edit: corrected skin title A.3 to ‘WP34S’.

Jaco Mostert, Elec Eng
C43 on DM42, 42S, WP34C&S, 28C, 35S, 32Sii, had 11C; used 67, 85; iOS:42s, Free42, WP31S&34S, HCalc; OSX:WP34C.
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 - Jaco@cocoon-creations.com - 04-11-2019 11:06 PM



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