FreeCalypso > hg > freecalypso-sw
comparison rvinterf/etm/usercmd.c @ 192:707aa640b2dc
fc-tmsh: w8/w16/w32 implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 25 Nov 2013 05:37:46 +0000 |
parents | a95d253ef952 |
children | c9ea2f7441a5 |
comparison
equal
deleted
inserted
replaced
191:cf8583923dc4 | 192:707aa640b2dc |
---|---|
17 extern void cmd_r8(); | 17 extern void cmd_r8(); |
18 extern void cmd_r16(); | 18 extern void cmd_r16(); |
19 extern void cmd_r32(); | 19 extern void cmd_r32(); |
20 extern void cmd_tgtreset(); | 20 extern void cmd_tgtreset(); |
21 extern void cmd_version(); | 21 extern void cmd_version(); |
22 extern void cmd_w8(); | |
23 extern void cmd_w16(); | |
24 extern void cmd_w32(); | |
22 | 25 |
23 void | 26 void |
24 cmd_exit() | 27 cmd_exit() |
25 { | 28 { |
26 tty_cleanup(); | 29 tty_cleanup(); |
41 {"r8", 1, 2, cmd_r8}, | 44 {"r8", 1, 2, cmd_r8}, |
42 {"r16", 1, 2, cmd_r16}, | 45 {"r16", 1, 2, cmd_r16}, |
43 {"r32", 1, 2, cmd_r32}, | 46 {"r32", 1, 2, cmd_r32}, |
44 {"tgtreset", 0, 0, cmd_tgtreset}, | 47 {"tgtreset", 0, 0, cmd_tgtreset}, |
45 {"version", 1, 1, cmd_version}, | 48 {"version", 1, 1, cmd_version}, |
49 {"w8", 2, 246, cmd_w8}, | |
50 {"w16", 2, 123, cmd_w16}, | |
51 {"w32", 2, 62, cmd_w32}, | |
46 {0, 0, 0, 0} | 52 {0, 0, 0, 0} |
47 }; | 53 }; |
48 | 54 |
49 void | 55 void |
50 dispatch_user_cmd() | 56 dispatch_user_cmd() |