summaryrefslogtreecommitdiff
path: root/tools/scramble.c
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2009-05-25 21:10:45 +0000
committerMark Arigo <markarigo@gmail.com>2009-05-25 21:10:45 +0000
commit758bb3bc628705ff8e5c677b3b2d87720c726c13 (patch)
treed78cbf984e4bc613b0b76fcf4a5f090ab1d774b8 /tools/scramble.c
parentd2ea7db6f55cbb121870ecd41d4d80581354b799 (diff)
downloadrockbox-758bb3bc628705ff8e5c677b3b2d87720c726c13.tar.gz
rockbox-758bb3bc628705ff8e5c677b3b2d87720c726c13.zip
3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/scramble.c')
-rw-r--r--tools/scramble.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index 0efb8e2631..a11a5d5263 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -122,7 +122,8 @@ void usage(void)
122 "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" 122 "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n"
123 "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n" 123 "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n"
124 "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); 124 "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n");
125 printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze)\n"); 125 printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze,\n"
126 "\t y820, y920, y925)\n");
126 printf("\nNo option results in Archos standard player/recorder format.\n"); 127 printf("\nNo option results in Archos standard player/recorder format.\n");
127 128
128 exit(1); 129 exit(1);
@@ -297,6 +298,12 @@ int main (int argc, char** argv)
297 modelnum = 44; 298 modelnum = 44;
298 else if (!strcmp(&argv[1][5], "x747")) 299 else if (!strcmp(&argv[1][5], "x747"))
299 modelnum = 45; 300 modelnum = 45;
301 else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */
302 modelnum = 57;
303 else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */
304 modelnum = 58;
305 else if (!strcmp(&argv[1][5], "y925")) /* Samsung YH-925 */
306 modelnum = 59;
300 else { 307 else {
301 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 308 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
302 return 2; 309 return 2;