comparison loadtools/ltdispatch.c @ 852:8a89a42baa70

fc-loadtool tfc139-audio-dump hack implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Oct 2021 21:24:51 +0000
parents 0d199c6a6ea4
children
comparison
equal deleted inserted replaced
851:526a8cfbbfd8 852:8a89a42baa70
15 extern int cmd_dump2srec(); 15 extern int cmd_dump2srec();
16 extern int cmd_exec(); 16 extern int cmd_exec();
17 extern int cmd_exit(); 17 extern int cmd_exit();
18 extern int cmd_flash(); 18 extern int cmd_flash();
19 extern int cmd_help(); 19 extern int cmd_help();
20 extern int cmd_tfc139_audio_dump();
20 extern int cmd_timeout_cal(); 21 extern int cmd_timeout_cal();
21 extern int loadtool_cmd_passthru(); 22 extern int loadtool_cmd_passthru();
22 23
23 static struct cmdtab { 24 static struct cmdtab {
24 char *cmd; 25 char *cmd;
41 {"help", 0, 2, cmd_help}, 42 {"help", 0, 2, cmd_help},
42 {"quit", 0, 1, cmd_exit}, 43 {"quit", 0, 1, cmd_exit},
43 {"r8", 1, 1, loadtool_cmd_passthru}, 44 {"r8", 1, 1, loadtool_cmd_passthru},
44 {"r16", 1, 1, loadtool_cmd_passthru}, 45 {"r16", 1, 1, loadtool_cmd_passthru},
45 {"r32", 1, 1, loadtool_cmd_passthru}, 46 {"r32", 1, 1, loadtool_cmd_passthru},
47 {"tfc139-audio-dump", 0, 1, cmd_tfc139_audio_dump},
46 {"timeout-cal", 1, 1, cmd_timeout_cal}, 48 {"timeout-cal", 1, 1, cmd_timeout_cal},
47 {"w8", 2, 2, loadtool_cmd_passthru}, 49 {"w8", 2, 2, loadtool_cmd_passthru},
48 {"w16", 2, 2, loadtool_cmd_passthru}, 50 {"w16", 2, 2, loadtool_cmd_passthru},
49 {"w32", 2, 2, loadtool_cmd_passthru}, 51 {"w32", 2, 2, loadtool_cmd_passthru},
50 {0, 0, 0, 0} 52 {0, 0, 0, 0}