FreeCalypso > hg > freecalypso-tools
comparison loadtools/bpdispatch.c @ 86:684eddecbc62
fc-buzplay play command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 27 Oct 2016 06:51:42 +0000 |
parents | c5766d12360d |
children | 0af2529d9376 |
comparison
equal
deleted
inserted
replaced
85:c5766d12360d | 86:684eddecbc62 |
---|---|
8 #include <strings.h> | 8 #include <strings.h> |
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 | 10 |
11 extern int cmd_baud(); | 11 extern int cmd_baud(); |
12 extern int cmd_exit(); | 12 extern int cmd_exit(); |
13 extern int cmd_play(); | |
13 extern int loadtool_cmd_passthru(); | 14 extern int loadtool_cmd_passthru(); |
14 | 15 |
15 static struct cmdtab { | 16 static struct cmdtab { |
16 char *cmd; | 17 char *cmd; |
17 int minargs; | 18 int minargs; |
21 {"abbr", 2, 2, loadtool_cmd_passthru}, | 22 {"abbr", 2, 2, loadtool_cmd_passthru}, |
22 {"abbw", 3, 3, loadtool_cmd_passthru}, | 23 {"abbw", 3, 3, loadtool_cmd_passthru}, |
23 {"baud", 0, 1, cmd_baud}, | 24 {"baud", 0, 1, cmd_baud}, |
24 {"buzlev", 0, 1, loadtool_cmd_passthru}, | 25 {"buzlev", 0, 1, loadtool_cmd_passthru}, |
25 {"exit", 0, 1, cmd_exit}, | 26 {"exit", 0, 1, cmd_exit}, |
27 {"play", 1, 1, cmd_play}, | |
26 {"quit", 0, 1, cmd_exit}, | 28 {"quit", 0, 1, cmd_exit}, |
27 {"r8", 1, 1, loadtool_cmd_passthru}, | 29 {"r8", 1, 1, loadtool_cmd_passthru}, |
28 {"r16", 1, 1, loadtool_cmd_passthru}, | 30 {"r16", 1, 1, loadtool_cmd_passthru}, |
29 {"r32", 1, 1, loadtool_cmd_passthru}, | 31 {"r32", 1, 1, loadtool_cmd_passthru}, |
30 {"w8", 2, 2, loadtool_cmd_passthru}, | 32 {"w8", 2, 2, loadtool_cmd_passthru}, |