FreeCalypso > hg > freecalypso-tools
annotate target-utils/buzplayer/cmdtab.c @ 523:9a478d33b3ca
fc-loadtool: added Samsung K5L33xx_A flash support for GTM900
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 09 Jun 2019 21:51:27 +0000 |
parents | 44a1de4264d8 |
children | 03457a66d860 |
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(); |
499
44a1de4264d8
target-utils: added support for secret register page 2 of Iota ABB
Mychaela Falconia <falcon@freecalypso.org>
parents:
81
diff
changeset
|
18 extern void abb_unlock_page2(); |
76
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
80
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
20 extern void melody_init(); |
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
21 extern void melody_entry(); |
81
8a200d65c6a0
buzplayer: play implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
80
diff
changeset
|
22 extern void melody_play(); |
80
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
23 |
76
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 const struct cmdtab cmdtab[] = { |
80
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
25 {"E", melody_entry}, |
eb5960dc258c
buzplayer: melody entry implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
26 {"I", melody_init}, |
81
8a200d65c6a0
buzplayer: play implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
80
diff
changeset
|
27 {"P", melody_play}, |
76
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 {"abbinit", abb_init}, |
499
44a1de4264d8
target-utils: added support for secret register page 2 of Iota ABB
Mychaela Falconia <falcon@freecalypso.org>
parents:
81
diff
changeset
|
29 {"abbpage2", abb_unlock_page2}, |
76
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 {"abbr", cmd_abbr}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 {"abbw", cmd_abbw}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 {"baud", cmd_baud_switch}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 {"buz", cmd_buz}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 {"buzlev", cmd_buzlev}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 {"jump", cmd_jump}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 {"poweroff", abb_power_off}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 {"r8", cmd_r8}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 {"r16", cmd_r16}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 {"r32", cmd_r32}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 {"w8", cmd_w8}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 {"w16", cmd_w16}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 {"w32", cmd_w32}, |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 {0, 0} |
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 }; |