HP Forums
Binary content of Prime's backups - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Binary content of Prime's backups (/thread-14413.html)



Binary content of Prime's backups - rombva - 01-25-2020 12:20 PM

I made several Prime's backups without any actions between their creation. Why does Connectivity Kit make binary not identical backups? I check its issue with Total commander's option "Compare by content...". Are Your backups binary identical?


RE: Binary content of Prime's backups - cyrille de brébisson - 01-27-2020 06:27 AM

Hello,

I do not know for the CAS settings, but for the rest of the home settings, I do have an answer...
When the backup are made, copies of objects in RAM are created and saved to file before being compressed...
However, object are always 4 byte alligned, BUT objects do NOT always have a size which is a multiple of 4 bytes, thus when the copy is made to save the objects to file, only the usefull bytes are copied, at some "random" memory location, leaving "random" bytes to be saved in the spaces between objects...
Once that passes through compression, you can get some very different binary zip files because of that.

Cyrille


RE: Binary content of Prime's backups - rombva - 01-27-2020 02:11 PM

If a backup contains my programms then "Compare by content..." shows differences in the cas_settings and in some programs.

If a backup is made after formatting memory then "Compare by content..." shows differences only in the cas_settings, other files are identical.