comparison target-utils/lunadrv/cmdtab.c @ 700:db9a8e88e63f

target-utils lunadrv program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 May 2020 02:19:51 +0000
parents
children 36e6a1ff9608
comparison
equal deleted inserted replaced
699:c354c261f635 700:db9a8e88e63f
1 #include "cmdtab.h"
2
3 extern void cmd_abbr();
4 extern void cmd_abbw();
5 extern void cmd_baud_switch();
6 extern void cmd_dbl();
7 extern void cmd_fill();
8 extern void cmd_jump();
9 extern void cmd_mem2lcd();
10 extern void cmd_r8();
11 extern void cmd_r16();
12 extern void cmd_r32();
13 extern void cmd_rect();
14 extern void cmd_w8();
15 extern void cmd_w16();
16 extern void cmd_w32();
17
18 extern void abb_init();
19 extern void abb_power_off();
20 extern void abb_unlock_page2();
21 extern void cmd_memdump_human();
22
23 extern void init_haoran();
24
25 const struct cmdtab cmdtab[] = {
26 {"abbinit", abb_init},
27 {"abbpage2", abb_unlock_page2},
28 {"abbr", cmd_abbr},
29 {"abbw", cmd_abbw},
30 {"baud", cmd_baud_switch},
31 {"dbl", cmd_dbl},
32 {"dump", cmd_memdump_human},
33 {"fill", cmd_fill},
34 {"init-ht", init_haoran},
35 {"jump", cmd_jump},
36 {"mem2lcd", cmd_mem2lcd},
37 {"poweroff", abb_power_off},
38 {"r8", cmd_r8},
39 {"r16", cmd_r16},
40 {"r32", cmd_r32},
41 {"rect", cmd_rect},
42 {"w8", cmd_w8},
43 {"w16", cmd_w16},
44 {"w32", cmd_w32},
45 {0, 0}
46 };