davy7125 / polyphone

A soundfont editor for quickly designing musical instruments.
https://www.polyphone.io
GNU General Public License v3.0
360 stars 49 forks source link

sfArk v1 conversion not bytewise identical on hppa (HP PA-RISC) #125

Open mirabilos opened 4 years ago

mirabilos commented 4 years ago

From https://github.com/davy7125/polyphone/pull/98#issuecomment-685897200

--- test_v1_powerpc.hd
+++ test_v1_hppa.hd
@@ -319221,8 +319221,8 @@
 004def40  00 00 00 00 00 00 00 00  00 00 00 00 4c 49 53 54  |............LIST|
 004def50  00 00 08 b6 70 64 74 61  70 68 64 72 00 00 00 4c  |....pdtaphdr...L|
 004def60  4d 4d 20 4a 5a 2e 46 4e  47 52 20 41 00 00 00 00  |MM JZ.FNGR A....|
-004def70  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
-004def80  00 00 00 00 00 00 45 4f  50 00 00 00 00 00 00 00  |......EOP.......|
+004def70  00 00 00 00 00 00 00 00  00 00 00 00 00 bd 00 00  |................|
+004def80  00 bd 00 00 00 bd 45 4f  50 00 00 00 00 00 00 00  |......EOP.......|
 004def90  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 02  |................|
 004defa0  00 00 00 00 00 00 00 00  00 00 00 00 70 62 61 67  |............pbag|
 004defb0  00 00 00 0c 00 00 00 00  00 00 00 00 00 02 00 00  |................|

That is, on hppa, the word at 0x004DEF7C is 0x00BD0000 instead of 0x00000000, same for the word at 0x004DEF80, and the word at 0x004DEF84 is 0x00BD454F instead of 0x0000454F. That is, these three words are OR’d with 0x00BD0000.

This just might be uninitialised memory or something.