Yet another Decoder for PX41CX & DM41X dump file
|
11-20-2024, 07:20 AM
(This post was last modified: 11-22-2024 01:07 PM by krischik.)
Post: #1
|
|||
|
|||
Yet another Decoder for PX41CX & DM41X dump file
Hello,
I wrote myself another Decoder for PX41CX & DM41X dump files. It's still in early stages and doesn't yet have the functionality of the alternatives below. I still decided to make a public release to get some feedback: * Homepage * Download Do read the installation pages before downloading. Especially for Linux „Compile from source“ is the suggested method of installation. But I have prepared compile instructions for all operating system. The code is written in Ada which ich fairly easy to read. If you have and question you can ask here or on SourceForge. The open is open for contributors. The Code uses „Design by Contract“ methodology and has 162 unit tests for extra confidence in any change you make. Alternatives which are more mature and offer more functionality: * PX-41CX interface ( needs Excel) * DM41 programming tool (online only) * HP41UC User-Code Utility for HP-41 Calculator Regards Martin https://uiq3.sf.net/rpn-45/ Developer RPN-45, FX-602P Simulator, FX-603P Simulator HP16C, HP35s, HP-Prime, FX-602P, FX-603P, PC-1403 |
|||
11-22-2024, 01:04 PM
Post: #2
|
|||
|
|||
Release 1.6.1
Hello,
I just published the first update:
See sample outputs below: Martin Code:
Code:
https://uiq3.sf.net/rpn-45/ Developer RPN-45, FX-602P Simulator, FX-603P Simulator HP16C, HP35s, HP-Prime, FX-602P, FX-603P, PC-1403 |
|||
11-24-2024, 08:12 PM
Post: #3
|
|||
|
|||
RE: Yet another Decoder for PX41CX & DM41X dump file
I don't need it yet, but just wanted to give you thumbs up for writing something in Ada!
I know that's your area, and to me it's great that you're combining Ada with HP calculators It ain't OVER 'till it's 2 PICK |
|||
11-25-2024, 09:48 AM
(This post was last modified: 11-25-2024 10:38 AM by krischik.)
Post: #4
|
|||
|
|||
Version 1.6.2
Hello,
I have another update. Cleaned up the output and added key assignments to the data decoded. With the decoder is on par with the alternatives. Martin Code:
https://uiq3.sf.net/rpn-45/ Developer RPN-45, FX-602P Simulator, FX-603P Simulator HP16C, HP35s, HP-Prime, FX-602P, FX-603P, PC-1403 |
|||
11-25-2024, 10:37 AM
Post: #5
|
|||
|
|||
RE: Yet another Decoder for PX41CX & DM41X dump file
(11-24-2024 08:12 PM)HP67 Wrote: I don't need it yet, but just wanted to give you thumbs up for writing something in Ada! Programming in Ada is a real joy and with Ada 2022 it got even better. The new Design by Contract features are amazing. Martin. https://uiq3.sf.net/rpn-45/ Developer RPN-45, FX-602P Simulator, FX-603P Simulator HP16C, HP35s, HP-Prime, FX-602P, FX-603P, PC-1403 |
|||
11-25-2024, 12:43 PM
Post: #6
|
|||
|
|||
RE: Yet another Decoder for PX41CX & DM41X dump file
@Martin - You mentioned in the thread that there are some (several?) errors in the SwissMicros conversion tool, possibly inherited from hp41uc, but regardless of where the errors came from I'd like to get them corrected.
Can you please describe (or send me) a list of all the known errors and I'll work with David to have them corrected in the near future once current projects are completed? This applies to anyone else that may be aware of bugs in the tool, AFAICR, these have not been reported in the past, but it's possible I've missed such reports (or even forgotten - it happens). Thanks! --Bob Prosperi |
|||
11-25-2024, 05:13 PM
Post: #7
|
|||
|
|||
RE: Yet another Decoder for PX41CX & DM41X dump file
(11-25-2024 12:43 PM)rprosperi Wrote: Can you please describe (or send me) a list of all the known errors and I'll work with David to have them corrected in the near future once current projects are completed? There is one problem with assigned keys. The line with the ENTER key is no Key "45" or "-45". You can try this test program: Code: DM41 The correct result should be: Code: ; ALPHA = "␀␀␀ " Martin https://uiq3.sf.net/rpn-45/ Developer RPN-45, FX-602P Simulator, FX-603P Simulator HP16C, HP35s, HP-Prime, FX-602P, FX-603P, PC-1403 |
|||
11-26-2024, 01:32 AM
Post: #8
|
|||
|
|||
RE: Yet another Decoder for PX41CX & DM41X dump file
I downloaded the binary file hp41cx_tools-main for Mac.
The first issue I had is that the program is not signed by apple. Running: xattr -rd com.apple.quarantine hp41cx_tools-main fixed the problem. Next issue I had is when I tried to decode a PX41CX dump. Running: ./hp41cx_tools-main -d -v NQUEENS.txt out.txt Gave me a bunch of errors: Code: $ ./hp41cx_tools-main -d -v NQUEENS.txt out.txt This is the NQUEENS.txt: Code:
I'm obviously doing someone wrong¿? |
|||
11-26-2024, 06:43 AM
Post: #9
|
|||
|
|||
RE: Yet another Decoder for PX41CX & DM41X dump file
(11-26-2024 01:32 AM)agarza Wrote: I'm obviously doing someone wrong¿? Yes, you are not using the newest version ?. There was a bug with double spaces which is now fixed. Your file has been added to my test suite (share/hp41cx_tools and test/share/hp41cx_tools_test)
What hasn't been fixed is the release version outputting trace data on the console. The development and validation versions don't do that. Martin https://uiq3.sf.net/rpn-45/ Developer RPN-45, FX-602P Simulator, FX-603P Simulator HP16C, HP35s, HP-Prime, FX-602P, FX-603P, PC-1403 |
|||
11-26-2024, 02:50 PM
Post: #10
|
|||
|
|||
RE: Yet another Decoder for PX41CX & DM41X dump file
(11-26-2024 06:43 AM)krischik Wrote:(11-26-2024 01:32 AM)agarza Wrote: I'm obviously doing someone wrong¿? Version 1.6.2 works on my Mac! Suggestions:
|
|||
11-26-2024, 03:30 PM
Post: #11
|
|||
|
|||
RE: Yet another Decoder for PX41CX & DM41X dump file
Hello,
Thanks for the suggestions but not all base functionality has been added. ALARM are still missing. (11-26-2024 02:50 PM)agarza Wrote: [*]Add a separator (e.g., a space) between multi-byte commands for improved readability. There are only a few places where I can do that without breaking compatibility. Also there are key assignments and XROM commands to be considered. You can't have both without it becoming ugly. (11-26-2024 02:50 PM)agarza Wrote: [*]Allow output to stdout using - (without requiring /dev/stdout). I was thinking about that was well. But then it should be both in and out so the executable can be used in/as a pipe. (11-26-2024 02:50 PM)agarza Wrote: [*]Allow output to stdout using - [*]Include an option to hide the byte commands (similar to the DM41 programming tool). Once main functionality is added there will be a few switches. An optional pure Latin-1 output without Unicode characters is also on the list. I want to make the default is the most human readable and then options for special uses. Martin. https://uiq3.sf.net/rpn-45/ Developer RPN-45, FX-602P Simulator, FX-603P Simulator HP16C, HP35s, HP-Prime, FX-602P, FX-603P, PC-1403 |
|||
12-12-2024, 12:33 PM
Post: #12
|
|||
|
|||
Version 1.6.3
Hello,
I have released the new Version 1.6.3. which now decoded the alarm time as well. The output has also been cleaned up an now looks like this: Code:
Quotes are the configuration parameter. You can choose between ⊤, ', " and `. More options follow later. Martin https://uiq3.sf.net/rpn-45/ Developer RPN-45, FX-602P Simulator, FX-603P Simulator HP16C, HP35s, HP-Prime, FX-602P, FX-603P, PC-1403 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)