From bed7c70d2ed84e9ea606d05f668b6ec1abdf1d64 Mon Sep 17 00:00:00 2001 From: rekado Date: Wed, 14 Aug 2013 23:36:48 +0800 Subject: wavedrum: even more about loop headers --- posts/2013-08-11-hacking-the-wavedrum.markdown | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/posts/2013-08-11-hacking-the-wavedrum.markdown b/posts/2013-08-11-hacking-the-wavedrum.markdown index 4b53d77..6fdb0da 100644 --- a/posts/2013-08-11-hacking-the-wavedrum.markdown +++ b/posts/2013-08-11-hacking-the-wavedrum.markdown @@ -241,9 +241,19 @@ through the Wavedrum. All loops start with this 44 byte long header: - 04 dc 10 d3 __ __ __ 95 01 d4 00 d0 30 f8 22 b5 + 04 dc 10 d3 UU VV WW 95 01 d4 00 d0 30 f8 22 b5 46 95 56 95 57 95 57 95 d6 2e 56 95 56 e2 57 95 - 54 95 46 95 32 f4 22 f4 __ __ __ 95 + 54 95 46 95 32 f4 22 f4 XX YY ZZ 95 + +With a few exceptions (namely 0009, 0025, 0027, 0030, 0033, 0036, +0049, 0054, 0064, 0082, 0091, 0103, 0104, 0107, 0108, 0127, 0128, +0129, 0130, 0131, 0132, 0135), VV equals YY and WW equals ZZ in most +loops. Where there is a difference between the pairs VVYY and WWZZ +the difference is only in VV/YY. It seems that loops with the same +number of bytes have the exact same numbers for UU, VV, WW, XX, YY and +ZZ. This is especially apparent in the loops 0127 to 0132 +(inclusive), which are all 192,010 bytes long and all have the values +54:7b:54 for UU:VV:WW and 88:78:54 for XX:YY:ZZ. Clearly, more work is required to figure out the complete format of these loop files. Once this is understood we could use custom loops -- cgit v1.2.3