comparison rvinterf/tmsh/usercmd.c @ 32:ea061975c883

fc-tmsh: implemented sending of ETM audio load and save commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Oct 2016 21:52:29 +0000
parents e7502631a0f9
children ee89ff178ba5
comparison
equal deleted inserted replaced
31:5b4e345095c4 32:ea061975c883
11 11
12 extern char usercmd[]; 12 extern char usercmd[];
13 13
14 extern void cmd_abbr(); 14 extern void cmd_abbr();
15 extern void cmd_abbw(); 15 extern void cmd_abbw();
16 extern void cmd_audio();
16 extern void cmd_check_ffs1(); 17 extern void cmd_check_ffs1();
17 extern void cmd_dieid(); 18 extern void cmd_dieid();
18 extern void cmd_etmpkt(); 19 extern void cmd_etmpkt();
19 extern void cmd_ffs2(); 20 extern void cmd_ffs2();
20 extern void cmd_omr(); 21 extern void cmd_omr();
44 int maxargs; 45 int maxargs;
45 void (*func)(); 46 void (*func)();
46 } cmdtab[] = { 47 } cmdtab[] = {
47 {"abbr", 2, 2, cmd_abbr}, 48 {"abbr", 2, 2, cmd_abbr},
48 {"abbw", 3, 3, cmd_abbw}, 49 {"abbw", 3, 3, cmd_abbw},
50 {"audio", 2, 2, cmd_audio},
49 {"check-ffs1", 0, 0, cmd_check_ffs1}, 51 {"check-ffs1", 0, 0, cmd_check_ffs1},
50 {"dieid", 0, 0, cmd_dieid}, 52 {"dieid", 0, 0, cmd_dieid},
51 {"etmpkt", 1, 253, cmd_etmpkt}, 53 {"etmpkt", 1, 253, cmd_etmpkt},
52 {"exit", 0, 0, cmd_exit}, 54 {"exit", 0, 0, cmd_exit},
53 {"ffs2", 1, 3, cmd_ffs2}, 55 {"ffs2", 1, 3, cmd_ffs2},