HP Forums
HP 15c CE : decoding / encoding Voyagersave files - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: HP 15c CE : decoding / encoding Voyagersave files (/thread-22289.html)

Pages: 1 2


HP 15c CE : decoding / encoding Voyagersave files - Bikeman - 09-06-2024 12:28 PM

Now that Voyagersave works with the HP 15c CE..is there a little piece of software that can turn the dump files into human readable code, and vice versa?
Thx in advance


RE: HP 15c CE : decoding / encoding Voyagersave files - AnnoyedOne - 09-07-2024 02:23 PM

(09-06-2024 12:28 PM)Bikeman Wrote:  ...is there a little piece of software that can turn the dump files into human readable code, and vice versa?

Not to my knowledge. SwissMicos has an webpage to decode/encode dumps from their DM15L. An offline program for the HP-15C CE is my wish.

https://technical.swissmicros.com/decoders/nut/

A1


RE: HP 15c CE : decoding / encoding Voyagersave files - Bikeman - 09-07-2024 03:25 PM

(09-07-2024 02:23 PM)AnnoyedOne Wrote:  
(09-06-2024 12:28 PM)Bikeman Wrote:  ...is there a little piece of software that can turn the dump files into human readable code, and vice versa?

Not to my knowledge. SwissMicos has an webpage to decode/encode dumps from their DM15L. An offline program for the HP-15C CE is my wish.

https://technical.swissmicros.com/decoders/nut/

A1

Interesting. I looked around for code that translates from the raw dump file to meaningful Mnemonics and found this file :

https://github.com/brouhaha/voyager-lcd/blob/main/src/hp15c_user_code.cpp

which seems to have the correct mapping. So it should not be too complicated to write such a tool after re-engineering the correct offsets etc.

HB


RE: HP 15c CE : decoding / encoding Voyagersave files - Divasson - 09-07-2024 08:45 PM

There is a description of the file content here:

https://www.thecalculatorstore.com/c/hp15c/backing-up-and-restoring-the-hp15c-user-memory

And there is at least a project of a program to read and write HP15c CE memory files. I am testing a beta build of it!


RE: HP 15c CE : decoding / encoding Voyagersave files - Bikeman - 09-07-2024 09:44 PM

(09-07-2024 08:45 PM)Divasson Wrote:  There is a description of the file content here:

https://www.thecalculatorstore.com/c/hp15c/backing-up-and-restoring-the-hp15c-user-memory

And there is at least a project of a program to read and write HP15c CE memory files. I am testing a beta build of it!

Nice! Thanks for the info, that means that I don't have to write such a thing myself :-) and can just wait for good things to happen. That said, if more beta testers are needed, I'd be more than happy to help.

Cheers
HB


RE: HP 15c CE : decoding / encoding Voyagersave files - AnnoyedOne - 09-08-2024 02:23 PM

(09-07-2024 08:45 PM)Divasson Wrote:  There is a description of the file content here:

I'd seen that before but forgot where I saw it or who posted it.

FYI my original 2012 HP "Virtual Calculators" (HP-15C & HP-12C) stored memory in files 2040 bytes in size and not 2048. That is 255x8 and not 256x8. So 8 bytes are not used for whatever reason. However the VoyagerSave ones are 2048 bytes.

(09-07-2024 08:45 PM)Divasson Wrote:  And there is at least a project of a program to read and write HP15c CE memory files.

That's great news. I look forward to trying it.

Websites are great when the internet is accessible. Which it always is. Except when it isn't Smile

A1

PS: I should note that the HP HP-12C Platinum virtual calculator appears to use the Sunplus SoC emulator under the hood. It saves a 18KB binary file containing who-knows-what. From what I've read the Generalplus and Sunplus SoC's are pretty much the same. Both use a masked-ROM for (fixed) firmware and have no means to read/write RAM.


RE: HP 15c CE : decoding / encoding Voyagersave files - jpride@1956 - 10-10-2024 03:18 AM

There is a compiler /decompiler undergoing testing. It will compile a program in .txt format, into a HP15C CE memory file that can be used with voyagersave.exe, and it can decompile a dump from the hp15 CE.

Check this page: https://clones.phweb.me/index.php?langue=EN and download the HP15C interface.


RE: HP 15c CE : decoding / encoding Voyagersave files - AnnoyedOne - 10-10-2024 12:57 PM

(10-10-2024 03:18 AM)jpride@1956 Wrote:  ...it can decompile a dump from the hp15 CE.

It works from my limited testing.

A1


RE: HP 15c CE : decoding / encoding Voyagersave files - Idnarn - 10-11-2024 03:37 PM

Would someone write a CLI program that'll compile on Linux and do what VoyagerSave does without having to use Windows? (i.e., the dump/load over USB)


RE: HP 15c CE : decoding / encoding Voyagersave files - Pierre - 10-11-2024 10:07 PM

(10-10-2024 03:18 AM)jpride@1956 Wrote:  ...it can decompile a dump from the hp15 CE.
(10-10-2024 12:57 PM)AnnoyedOne Wrote:  It works from my limited testing.

Now my program works fine for the HP-15C Collector's Edition !

[Image: 15interf_EN.jpg]

Files from the VoyagerSave program can be decoded in my interface and the source programs can be encoded to be loaded into the calculator via VoyagerSave.

Download on clones.phweb.me

So you can exchange your programs between DM15L and HP-15C CE and emulators and also print your programs to keep them in paper form.


RE: HP 15c CE : decoding / encoding Voyagersave files - Johnh - 10-12-2024 04:49 AM

Thankyou @pierre , this is in every way excellent and adds enormously to the capability of our HP's !

Ive been trying the HP15C-CE features,

So, it downloads as an excel .xls file . To get past some security issues that I had and open it on the latest Excel 365, I found it best to resave as an .xlsm.

I noted that it looks for memory save files with a .MEM suffix, so I renamed my VoyagerSave file that I made a couple of weeks ago accordingly.

Then I loaded it up my MEM file and there it was!, neatly presented with line numbers, key codes and key names for the program that I had written. And its excel, so easy to cut, paste, annotate etc

A brilliant piece of useful work! Smile


RE: HP 15c CE : decoding / encoding Voyagersave files - Pierre - 10-12-2024 07:57 AM

(10-12-2024 04:49 AM)Johnh Wrote:  Then I loaded it up my MEM file and there it was!, neatly presented with line numbers, key codes and key names for the program that I had written. And its excel, so easy to cut, paste, annotate etc

Thank you for your message.

Choosing Excel allows compatibility with different OS (Windows and Mac) and different versions of Office.
For the "VoyagerSave" file extensions I opted for .MEM or .RAM (your choice)

... and, last but not least, you can now also print your programs !


RE: HP 15c CE : decoding / encoding Voyagersave files - AnnoyedOne - 10-12-2024 09:45 AM

FYI for those using the PC 2012 HP-15C emulator it saves memory in the 'HP15CState.bin" file in the users profile folder. It is 2040 bytes vs the VoyagerSave 2048 byte ones but Pierre's Excel spreadsheet will open it anyway (change the extension from .bin to .mem). So add another emulator to Pierre's graphic.

A1


RE: HP 15c CE : decoding / encoding Voyagersave files - rprosperi - 10-12-2024 12:09 PM

(10-12-2024 09:45 AM)AnnoyedOne Wrote:  FYI for those using the PC 2012 HP-15C emulator it saves memory in the 'HP15CState.bin" file in the users profile folder. It is 2040 bytes vs the VoyagerSave 2048 byte ones but Pierre's Excel spreadsheet will open it anyway (change the extension from .bin to .mem). So add another emulator to Pierre's graphic.

A1

Good news, thanks for sharing this tip!

I agree with all the comments above, Pierre's utility looks excellent and I hope to install it and check it out in the near future. Using Excel as the tool's engine is both clever and sophisticated, who expected a spreadsheet to be the hub of a calculator communication tool??


RE: HP 15c CE : decoding / encoding Voyagersave files - Pierre - 10-12-2024 12:36 PM

(10-12-2024 12:09 PM)rprosperi Wrote:  Using Excel as the tool's engine is both clever and sophisticated, who expected a spreadsheet to be the hub of a calculator communication tool??

Thanks but actually the idea of ​​using Excel is not mine at the beginning.
It is from Dan McDonald who made an interface to generate HP41 barcodes in 2000 under Excel.
(http://www.flaxcottage.com/Calculators/hp41csoftware.asp)

Work resumed in 2014 by Pierre Hardy still under Excel.
(http://id-phy.orgfree.com/HP41/HP41_ProgEnv.html)

Let's give Caesar what belongs to Caesar!


RE: HP 15c CE : decoding / encoding Voyagersave files - AnnoyedOne - 10-12-2024 12:52 PM

(10-12-2024 12:09 PM)rprosperi Wrote:  Using Excel as the tool's engine is both clever and sophisticated...

I think there's version of Excel for Mac's too (?). Linux users have one too I think (Open Office?). So it's not just for PC users.

https://www.microsoft.com/en-us/microsoft-365/mac/microsoft-365-for-mac

https://www.openoffice.org/product/linux.html

A1


RE: HP 15c CE : decoding / encoding Voyagersave files - Pierre - 10-12-2024 01:16 PM

(10-12-2024 12:52 PM)AnnoyedOne Wrote:  I think there's version of Excel for Mac's too (?). Linux users have one too I think (Open Office?). So it's not just for PC users.

The PH15C interface has been tested on Mac, by other users, with bug reports (which seem to have been correctly resolved)
(This is also the case for the 41C interface tested by several users on different versions of Mac)

I don't have a Mac... so it's the users who helped me find the right solutions.

For Linux... no feedback...


RE: HP 15c CE : decoding / encoding Voyagersave files - AnnoyedOne - 10-12-2024 01:17 PM

(10-12-2024 01:16 PM)Pierre Wrote:  For Linux... no feedback...

Coming in 3,2,1... Smile

A1


RE: HP 15c CE : decoding / encoding Voyagersave files - Idnarn - 10-15-2024 11:43 AM

(10-11-2024 03:37 PM)Idnarn Wrote:  Would someone write a CLI program that'll compile on Linux and do what VoyagerSave does without having to use Windows? (i.e., the dump/load over USB)

Anyone willing to take a shot may find this useful: https://slomkowski.eu/tutorials/eavesdropping-usb-and-writing-driver-in-python/

I would do this myself, except I don't have Windows and VoyagerSave refuses to run under Wine; it appears Wine's HID handling is flaky.


RE: HP 15c CE : decoding / encoding Voyagersave files - Divasson - 10-15-2024 12:44 PM

(10-12-2024 12:52 PM)AnnoyedOne Wrote:  
(10-12-2024 12:09 PM)rprosperi Wrote:  Using Excel as the tool's engine is both clever and sophisticated...

I think there's version of Excel for Mac's too (?). Linux users have one too I think (Open Office?). So it's not just for PC users.

https://www.microsoft.com/en-us/microsoft-365/mac/microsoft-365-for-mac

https://www.openoffice.org/product/linux.html

A1

As an old Mac user, I took offence with the "I think there is a version of Excel for Mac (?). :-) Excel was initially developed for Mac (1985), and it took close to two years to come to the then primitive versions of Windows (November 1987)!