Ver Fonte

BitWiggler related stuff and more discoveries

LH há 3 anos atrás
pai
commit
da1ca542c9

+ 17 - 0
QuickStuff/src/main/java/QuickVerifyCrap/Xorsum.java

@@ -0,0 +1,17 @@
+package QuickVerifyCrap;
+
+import java.io.RandomAccessFile;
+
+public class Xorsum {
+    public static void main(String[] args) throws Exception
+    {
+        RandomAccessFile f = new RandomAccessFile(args[0],"r");
+        long lengthInWords = f.length()/2;
+        short xorsum = 0;
+        for(long i=0;i<lengthInWords;i++)
+        {
+            xorsum ^= f.readShort();
+        }
+        System.out.println(xorsum);
+    }
+}

+ 16 - 0
SenaBitWiggler/BigVMAppFormat.txt

@@ -0,0 +1,16 @@
+0x00 = BIGvmApp
+0x08 = const UNKNOWN uint16 as 0x0018
+0x0a = sZCodeInWords uint32
+0x0e = szConstantsInWords uint16
+0x10 = unknown uint16  globals size?
+0x12 = szStack uint16 //(only lower byte used)
+0x14 = addrMain uint16 ?
+0x16 = flgUnknown uint16 (lower byte only, got to trace it back)
+0x18 = const SyscallCompatId uint16 as 3209? first 2 bytes of the assembler output
+0x1A = trapset_bits uint64
+0x22 = szFileInWords uint32
+0x26 = CHKSUM uint16 //Xorsum over all bytes. Chksumbyte zero while checksum is twiddled in
+0x28 = unknown UINT16 Linker-parameter -b 
+0x2a = e_t_c.e_t_c address uint32 // maybe segment e_t_c.e_t_c address? only seen zero size of that segment so far...
+0x2e = unknown uint16; twiddled out of something...
+

+ 4 - 4
SenaBitWiggler/prompts.txt

@@ -5,9 +5,9 @@ Prompt Description                         |SRL2    |
 2=> disabled                               | pcm    |
 3=> Enabled                                | pcm    |
 4=> Factory Reset                          | pcm    |
-5=> Goodbye //shutdown                     | pcm    |
+5=> Goodbye //shutdown                     | pcm    |R2D2 sad
 6=> Headset Reset                          | pcm    |
-7=> Hello //boot done                      | pcm    |
+7=> Hello //boot done                      | pcm    |R2D2
 8=> Intercom failed                        | pcm    |
 9=> Intercom requested                     | pcm    |
 10=>Intercom Pairing                       | pcm    |
@@ -16,7 +16,7 @@ Prompt Description                         |SRL2    |
 13=> Media Connected                       | pcm    |
 14=> Media device pairing                  | pcm    |
 15=> Second Mobile Phone Pairing           | pcm    |
-16=> Phone connected // msg after reconnect| pcm    |
+16=> Phone connected // msg after reconnect| pcm    |RogerRoger
 17=> Phone Pairing                         | pcm    |
 18=> Phone device Pairing                  | pcm    |
 19=> Vox Intercom                          | pcm    |
@@ -111,7 +111,7 @@ Prompt Description                         |SRL2    |
 105=> Remtoe Control Disconnected          | pcm    |
 106=> Smart Volume COntrol                 | pcm    |
 107=> FM Station GUide                     | pcm    |
-108=> Preparing Headset // Boot Sound      | pcm    |
+108=> Preparing Headset // Boot Sound      | pcm    |R2D2
 -------------------------------------------+--------+
 Prompt Description                         |SRL2    |