diff options
Diffstat (limited to 'www/tools.t')
-rw-r--r-- | www/tools.t | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/www/tools.t b/www/tools.t new file mode 100644 index 0000000000..f37f2b2cb3 --- /dev/null +++ b/www/tools.t | |||
@@ -0,0 +1,43 @@ | |||
1 | #define _PAGE_ Tools | ||
2 | #include "head.t" | ||
3 | |||
4 | <h2>Descrambler / Scrambler</h2> | ||
5 | |||
6 | <p>I've written a small utility to descramble the firmware files: | ||
7 | <ul> | ||
8 | <li><a href="descramble.c">descramble.c</a> - 1835 bytes - The source code (pure ANSI C, should work everywhere). GPL licensed. | ||
9 | <li><a href="descramble">descramble</a> - 4280 bytes - Dynamically linked i386 linux executable | ||
10 | <li><a href="descramble.static.bz2">descramble.static.bz2</a> - 176015 bytes - bzip2 compressed statically linked i386 linux executable | ||
11 | <li><a href="descramble.exe">descramble.exe</a> - 45056 bytes - win32 executable | ||
12 | </ul> | ||
13 | |||
14 | <p>...and one to scramble files: | ||
15 | <ul> | ||
16 | <li><a href="scramble.c">scramble.c</a> - 2242 bytes - The source code (pure ANSI C, should work everywhere). GPL licensed. | ||
17 | <li><a href="scramble">scramble</a> - 4376 bytes - Dynamically linked i386 linux executable | ||
18 | <li><a href="scramble.static.bz2">scramble.static.bz2</a> - 176117 bytes - bzip2 compressed statically linked i386 linux executable | ||
19 | <li><a href="scramble.exe">scramble.exe</a> - 93385 bytes - win32 executable | ||
20 | </ul> | ||
21 | |||
22 | <h2>Disassembler</h2> | ||
23 | |||
24 | <p>I found a nice public domain SH-1/SH-2 disassembler written by Bart Trzynadlowski, called <a href="http://saturndev.emuvibes.com/Files/sh2d020.zip">sh2d</a>: | ||
25 | <p><b>Update:</b> I've added address lookup and register name translation to the disassembler (2001-12-09) | ||
26 | <ul> | ||
27 | <li><a href="sh2d.c">sh2d.c</a> - 28 kB - Source code | ||
28 | <li><a href="sh2d">sh2d</a> - 15 kB - Dynamically linked i386 linux executable | ||
29 | <li><a href="sh2d.static.bz2">sh2d.static.bz2</a> - 170 kB - bzip2 compressed statically linked i386 linux executable | ||
30 | <li><a href="sh2d.exe">sh2d.exe</a> - 40 kB - win32 executable (original version; no lookup) | ||
31 | </ul> | ||
32 | |||
33 | <h2>Compiler</h2> | ||
34 | |||
35 | <p>GCC supports the SH processor. Just | ||
36 | <a href="cross-gcc.html">cook yourself a cross-compiler</a> | ||
37 | (sh-elf-gcc) and voila, instant SH-1 code. | ||
38 | |||
39 | <p>There are also | ||
40 | <a href="http://www.sh-linux.org/rpm/RPMS/i386/RedHat7.1/"> | ||
41 | pre-cooked RH7.1 RPMs</a> available from sh-linux.org | ||
42 | |||
43 | #include "foot.t" | ||