FreeCalypso > hg > freecalypso-tools
comparison loadtools/bpdispatch.c @ 895:850b4f066d75
fc-buzplay: unified play command
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 03 Apr 2022 08:30:35 +0000 |
parents | 7ade15d4e0cb |
children |
comparison
equal
deleted
inserted
replaced
894:7ade15d4e0cb | 895:850b4f066d75 |
---|---|
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 cmd_play_bu(); | 14 extern int cmd_play_bu(); |
14 extern int cmd_play_pwt(); | 15 extern int cmd_play_pwt(); |
15 extern int loadtool_cmd_passthru(); | 16 extern int loadtool_cmd_passthru(); |
16 | 17 |
17 static struct cmdtab { | 18 static struct cmdtab { |
23 {"abbr", 2, 2, loadtool_cmd_passthru}, | 24 {"abbr", 2, 2, loadtool_cmd_passthru}, |
24 {"abbw", 3, 3, loadtool_cmd_passthru}, | 25 {"abbw", 3, 3, loadtool_cmd_passthru}, |
25 {"baud", 0, 1, cmd_baud}, | 26 {"baud", 0, 1, cmd_baud}, |
26 {"buzlev", 0, 1, loadtool_cmd_passthru}, | 27 {"buzlev", 0, 1, loadtool_cmd_passthru}, |
27 {"exit", 0, 1, cmd_exit}, | 28 {"exit", 0, 1, cmd_exit}, |
28 {"play", 1, 1, cmd_play_bu}, | 29 {"play", 1, 2, cmd_play}, |
29 {"play-bu", 1, 1, cmd_play_bu}, | 30 {"play-bu", 1, 1, cmd_play_bu}, |
30 {"play-pwt", 1, 2, cmd_play_pwt}, | 31 {"play-pwt", 1, 2, cmd_play_pwt}, |
31 {"playt", 1, 2, cmd_play_pwt}, | 32 {"playt", 1, 2, cmd_play_pwt}, |
32 {"pwt", 1, 1, loadtool_cmd_passthru}, | 33 {"pwt", 1, 1, loadtool_cmd_passthru}, |
33 {"quit", 0, 1, cmd_exit}, | 34 {"quit", 0, 1, cmd_exit}, |