FreeCalypso > hg > freecalypso-tools
annotate target-utils/buzplayer/cmdtab.c @ 303:7de38a7e1fa5
c1xx-calextr: Rx calchan conversion implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 20 Nov 2017 06:10:54 +0000 |
parents | 8a200d65c6a0 |
children | 44a1de4264d8 |
rev | line source |
---|---|
76
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 #include "cmdtab.h" |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 extern void cmd_abbr(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 extern void cmd_abbw(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 extern void cmd_baud_switch(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 extern void cmd_buz(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 extern void cmd_buzlev(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 extern void cmd_jump(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 extern void cmd_r8(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 extern void cmd_r16(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 extern void cmd_r32(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 extern void cmd_w8(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 extern void cmd_w16(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 extern void cmd_w32(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 extern void abb_init(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 extern void abb_power_off(); |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
80
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
19 extern void melody_init(); |
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
20 extern void melody_entry(); |
81
8a200d65c6a0
buzplayer: play implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
80
diff
changeset
|
21 extern void melody_play(); |
80
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
22 |
76
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 const struct cmdtab cmdtab[] = { |
80
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
24 {"E", melody_entry}, |
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
25 {"I", melody_init}, |
81
8a200d65c6a0
buzplayer: play implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
80
diff
changeset
|
26 {"P", melody_play}, |
76
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 {"abbinit", abb_init}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 {"abbr", cmd_abbr}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 {"abbw", cmd_abbw}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 {"baud", cmd_baud_switch}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 {"buz", cmd_buz}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 {"buzlev", cmd_buzlev}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 {"jump", cmd_jump}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 {"poweroff", abb_power_off}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 {"r8", cmd_r8}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 {"r16", cmd_r16}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 {"r32", cmd_r32}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 {"w8", cmd_w8}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 {"w16", cmd_w16}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 {"w32", cmd_w32}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 {0, 0} |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 }; |