FreeCalypso > hg > freecalypso-hwlab
comparison simtool/dispatch.c @ 103:90eff13a72fd
fc-simtool: implemented alpha field decoding and spn command
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 25 Jan 2021 04:54:47 +0000 |
parents | 29cc5612797a |
children | a60645b75a57 |
comparison
equal
deleted
inserted
replaced
102:29cc5612797a | 103:90eff13a72fd |
---|---|
18 extern int cmd_readef(); | 18 extern int cmd_readef(); |
19 extern int cmd_readrec(); | 19 extern int cmd_readrec(); |
20 extern int cmd_restore_file(); | 20 extern int cmd_restore_file(); |
21 extern int cmd_savebin(); | 21 extern int cmd_savebin(); |
22 extern int cmd_select(); | 22 extern int cmd_select(); |
23 extern int cmd_spn(); | |
23 extern int cmd_telecom_sum(); | 24 extern int cmd_telecom_sum(); |
24 extern int cmd_update_bin(); | 25 extern int cmd_update_bin(); |
25 extern int cmd_update_rec(); | 26 extern int cmd_update_rec(); |
26 | 27 |
27 extern int display_sim_resp_in_hex(); | 28 extern int display_sim_resp_in_hex(); |
48 {"readrec", 1, 2, cmd_readrec}, | 49 {"readrec", 1, 2, cmd_readrec}, |
49 {"restore-file", 2, 2, cmd_restore_file}, | 50 {"restore-file", 2, 2, cmd_restore_file}, |
50 {"savebin", 2, 2, cmd_savebin}, | 51 {"savebin", 2, 2, cmd_savebin}, |
51 {"select", 1, 1, cmd_select}, | 52 {"select", 1, 1, cmd_select}, |
52 {"sim-resp", 0, 0, display_sim_resp_in_hex}, | 53 {"sim-resp", 0, 0, display_sim_resp_in_hex}, |
54 {"spn", 0, 0, cmd_spn}, | |
53 {"telecom-sum", 0, 0, cmd_telecom_sum}, | 55 {"telecom-sum", 0, 0, cmd_telecom_sum}, |
54 {"update-bin", 2, 2, cmd_update_bin}, | 56 {"update-bin", 2, 2, cmd_update_bin}, |
55 {"update-rec", 2, 2, cmd_update_rec}, | 57 {"update-rec", 2, 2, cmd_update_rec}, |
56 {0, 0, 0, 0} | 58 {0, 0, 0, 0} |
57 }; | 59 }; |