From 758bb3bc628705ff8e5c677b3b2d87720c726c13 Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Mon, 25 May 2009 21:10:45 +0000 Subject: 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 --- tools/scramble.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tools/scramble.c') 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) "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n" "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); - printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze)\n"); + printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze,\n" + "\t y820, y920, y925)\n"); printf("\nNo option results in Archos standard player/recorder format.\n"); exit(1); @@ -297,6 +298,12 @@ int main (int argc, char** argv) modelnum = 44; else if (!strcmp(&argv[1][5], "x747")) modelnum = 45; + else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */ + modelnum = 57; + else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */ + modelnum = 58; + else if (!strcmp(&argv[1][5], "y925")) /* Samsung YH-925 */ + modelnum = 59; else { fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); return 2; -- cgit v1.2.3