Bit's WP 34S and 31S patches and custom binaries (version: r3802 20150805-1)
|
11-15-2014, 08:49 PM
(This post was last modified: 08-06-2015 02:27 AM by Bit.)
Post: #1
|
|||
|
|||
Bit's WP 34S and 31S patches and custom binaries (version: r3802 20150805-1)
I've been usually asked to provide compiled binaries along with my patches for the WP 34S and 31S. I'll publish here the custom builds and those patches that haven't yet made it into the mainline code so they can all be found in one place. Some features in these builds are already present in mainline as compile time options but are disabled, other features are new.
Feedback would be very welcome. I will check this thread every once in a while and update the patches and builds, but not necessarily very often unless I get prodded. Please just send me a private message instead of posting here if you'd only like to ask for updated builds. It's easy to produce multiple binaries with various patches or compile time options so if you think some other combination of settings would really make sense, let me know. I'm happy to port patches to the 31S and fix bugs but I don't use it regularly, so the users of the 31S are expected to test everything thoroughly. Changes in the current version compared to mainline:
Changelog: 20141115-1: YDON by default, thousands sep. toggling (34S), a..b fractions, stack size shown, reordered catalogs (optional), cu.ft renamed, sq.ft, mpg, no survey units, universal dispatch, r3688. 20141115-2: LOGx (31S). 20141116-1: Easy switching between im/proper fractions (31S), FIB (31S), r3690. 20141117-1: Pretty full numbers, no BEG annunciator (31S), improved patch for switching between im/proper fractions (31S). 20141127-1: Eight-level stack by default, PREVP, SLVQ (31S), noxtal (34S), pretty full numbers moved to mainline, r3705, build environment fixed. 20150102-1: Y reg. in int. modes (34S), large exponents (34S), smart exp. limits, FACTOR (31S), Wp & Wm (31S), warnings in the upper line, no-stopwatch builds (34S), r3719. 20150121-1: EEX and dec. fractions exit fraction mode, ALL 4, r3738. 20150125-1: Quick bitwise operations (34S), r3743. 20150131-1: Reverse angular conv. (34S), easy angular conv. (31S), R<->P saves Y (34S), VERS indicates modified build, r3745. 20150207-1: Significant figures modes, r3747. 20150805-1: r3802. |
|||
11-15-2014, 09:45 PM
Post: #2
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries
(11-15-2014 08:49 PM)Bit Wrote: ... Thanks for this! I've downloaded and applied the patch files; I look forward to being able to carry out miles per gallon conversions much more easily than before. One minor problem: my wp34s code files live in the folder "trunk\" whereas your patch files expect them to be in the folder "wp34s_r3682\". It's easy to fix this, of course. Out of curiosity, how many people out there compile their own firmware? More than ten? Less? I've had so much fun with this code over the past couple of years. Thanks to everyone once again. Long live open source! Nigel (UK) |
|||
11-15-2014, 10:22 PM
(This post was last modified: 11-15-2014 10:24 PM by Bit.)
Post: #3
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries
(11-15-2014 09:45 PM)Nigel (UK) Wrote: Thanks for this! I've downloaded and applied the patch files; I look forward to being able to carry out miles per gallon conversions much more easily than before. One minor problem: my wp34s code files live in the folder "trunk" whereas your patch files expect them to be in the folder "wp34s_r3682". It's easy to fix this, of course. I'm glad you find it useful. I intentionally create patches this way so they can be easily applied to both the 34S and the 31S. Just go to the 'trunk' or the 'branches/wp31s' directory and instruct the patch utility to strip the outermost directory from the patch. On the command line it's the '-p1' option. |
|||
11-21-2014, 06:34 AM
Post: #4
|
|||
|
|||
RE: Bit's WP 34S and 31S patches
(11-15-2014 08:49 PM)Bit Wrote: Feedback would be very welcome.Are those Imperial gallons, US gallons, or both? As a metric person (litres per 100km) it has always amused me, that you could "improve" a car's mileage by taking it to a different country. |
|||
11-21-2014, 11:21 AM
Post: #5
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries
(11-21-2014 06:34 AM)sa-penguin Wrote:(11-15-2014 08:49 PM)Bit Wrote: Feedback would be very welcome.Are those Imperial gallons, US gallons, or both? Both are included. Bit is always very thorough! Nigel (UK) |
|||
11-27-2014, 09:07 AM
(This post was last modified: 11-27-2014 09:37 AM by BarryMead.)
Post: #6
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (latest version: r3690 20141117-1)
(11-15-2014 08:49 PM)Bit Wrote: The attached file contains all binaries and patches, it's a 7-Zip archive inside a plain old Zip file. The newer 7-Zip format compresses the binaries really well (free decompressors are available for all major operating systems, for example at 7-zip.org), and the outer Zip container is used because this forum doesn't accept 7-Zip attachments. I flashed my WP-34s with this image, and while I really like what I see, I did have one question. When you bring up the status display with "h status" the right hand area of the display has some symbols that I have never seen before and don't understand. They appear to be: 0 - | - Sorry I couldn't paste a screen image, because I don't have an emulator of this same version of the calculator (Version 3691). Only the flash images not the emulator.exe files were included in the Bits_WP_3xS_builds_r3690_20141117-1.7z double zipped file. I am only able to approximate what I see on the very right hand section of the status display with crude minus sign and vertical bar characters, but there is a small zero (if no labels A..D) are defined, and a few non-number parts of the 7-segment display are illuminated. I don't doubt that once I understand them I will be grateful for their meaning, but at the moment I don't have a clue. What do these symbols indicate or mean? |
|||
11-27-2014, 04:12 PM
Post: #7
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (latest version: r3690 20141117-1)
Just checked (the latest) build 3697 on the emulator. I see the normal status display as documented. Did you compare with the manual?
d:-? |
|||
11-27-2014, 04:38 PM
(This post was last modified: 11-27-2014 04:48 PM by Bit.)
Post: #8
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (latest version: r3690 20141117-1)
(11-27-2014 09:07 AM)BarryMead Wrote: I don't doubt that once I understand them I will be grateful for their meaning, but at the moment I don't have a clue.Thank you for your kind words but unfortunately those symbols aren't some useful extra feature, it's simply a bug. I don't know what's the culprit but I'll look into it and fix it when I have the time and post an update. Thanks for reporting it! Walter, it seems it only shows up in my builds and only on real hardware. |
|||
11-27-2014, 06:28 PM
(This post was last modified: 11-27-2014 06:39 PM by Bit.)
Post: #9
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3705 20141127-1)
(11-27-2014 04:38 PM)Bit Wrote:(11-27-2014 09:07 AM)BarryMead Wrote: I don't doubt that once I understand them I will be grateful for their meaning, but at the moment I don't have a clue.Thank you for your kind words but unfortunately those symbols aren't some useful extra feature, it's simply a bug. I don't know what's the culprit but I'll look into it and fix it when I have the time and post an update. Thanks for reporting it! The problem was that I used the wrong compiler. I've published an updated package in the first post, in which I believe this has been fixed. I've also added a few new features (see the changelog at the end of the first post), and used the latest code from SVN that includes some new bugfixes (commit browser, forum thread). Thank you again for pointing out the issue. Please report any behavior that seems broken or inconsistent or simply weird or just not user-friendly enough. Such feedback is extremely helpful. |
|||
11-27-2014, 10:42 PM
Post: #10
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3705 20141127-1)
(11-27-2014 06:28 PM)Bit Wrote: The problem was that I used the wrong compiler.We've had some trouble with any GCC version coming from CodeSourcery or having a version number > 4.6.x. That's why I stick with Yargarto 4.6.0 for my builds. There must be some code generation bugs related to either the space optimizations we are using or the specific ARM architecture implemented by the Atmel chip. I just didn't have enough time and knowledge to investigate the exact reasons for the various failures. Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basic-compare.html |
|||
11-28-2014, 04:16 AM
Post: #11
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3705 20141127-1) | |||
11-28-2014, 09:07 AM
Post: #12
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3705 20141127-1)
(11-28-2014 04:16 AM)Bit Wrote:(11-27-2014 10:42 PM)Marcus von Cube Wrote: That's why I stick with Yargarto 4.6.0 for my builds.That's exactly what I'm using now. It works well with Wine on Linux. Do you have a windows/wine exe file for the emulator that matches the latest 3705 release? It wasn't included in the zip file. |
|||
11-29-2014, 04:46 AM
Post: #13
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3705 20141127-1)
(11-28-2014 09:07 AM)BarryMead Wrote: Do you have a windows/wine exe file for the emulator that matches the latest 3705 release?I managed to create a Windows build environment in a virtual machine and compiled 34S and 31S binaries. You'll find them in the first post, just copy the .exe files into the install directories of the official emulators. Marcus, is there a document somewhere explaining the dependencies and procedures for the Windows build? I installed VS 2010 Express but that by itself didn't seem to do the trick, the build scripts tried to use utilities like 'svnversion' and 'touch' that aren't available on Windows by default. |
|||
11-29-2014, 05:16 AM
Post: #14
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3705 20141127-1) | |||
11-29-2014, 03:12 PM
Post: #15
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3705 20141127-1)
(11-29-2014 04:46 AM)Bit Wrote: Marcus, is there a document somewhere explaining the dependencies and procedures for the Windows build? I installed VS 2010 Express but that by itself didn't seem to do the trick, the build scripts tried to use utilities like 'svnversion' and 'touch' that aren't available on Windows by default. You'll need an SVN command line client in your path, something like MinGW to have a Unix like environment, and, last but not least, Perl. The whole process is convoluted at best. I've inherited part of it when I joined the project but I must admit that I've added a good deal to the mess such as the requirement for svnversion. Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basic-compare.html |
|||
01-03-2015, 02:30 AM
Post: #16
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3719 20150102-1)
I've updated the builds to the latest version and they include all the new features that have been developed recently. The 7-Zip (in Zip) file contains the full collection of flash images as well as two Windows binaries for testing.
Quite a few settings have been changed now. I selected what seemed to me like the most practical options but if someone strongly believes some other combination would be really useful, I'm happy to discuss it. Enjoy, and please report any issues found. |
|||
01-22-2015, 07:39 PM
(This post was last modified: 01-22-2015 07:44 PM by BarryMead.)
Post: #17
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3738 20150121-1)
Bit:
When I download/unzip/un7zip the file Bits_WP_3xS_builds_r3738_20150121-1.zip and flash my calculator the "VERS" function shows version 3739, but when I copy the wp34sgui_Bit.exe file from the Win32GUI subdirectory into the wp34s-3738/trunk/windows/bin/ directory, and run the emulator exe from there, the emulator shows a version number of "0" Zero. Is there any reason for this discrepancy? Thanks for the patches and contributions, I really like the improvements. |
|||
01-23-2015, 02:01 AM
Post: #18
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3738 20150121-1)
(01-22-2015 07:39 PM)BarryMead Wrote: Bit: The reason for the zero is very unexciting: I was playing with the create_revision.c file and forgot to revert the changes for the Windows build. Fortunately it's a purely cosmetic issue. I'll fix it the next time I update the binaries. Thank you for the feedback! |
|||
01-25-2015, 10:38 PM
Post: #19
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3743 20150125-1)
I've updated the builds and added a new feature: Quick access to bitwise operations.
|
|||
01-31-2015, 02:56 PM
Post: #20
|
|||
|
|||
RE: Bit's WP 34S and 31S patches and custom binaries (version: r3745 20150131-1)
I've updated the builds and added some new features to make angular conversions easier, made rectangular/polar conversions save the Y register, and VERS now indicates that it's a modified build.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)