comparison simtool/dispatch.c @ 100:a75c0aafb367

plmnsel-erase command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 17 Feb 2021 22:54:35 +0000
parents d2e800abd257
children 63c76f9d678a
comparison
equal deleted inserted replaced
99:d2e800abd257 100:a75c0aafb367
38 extern int cmd_pb_restore(); 38 extern int cmd_pb_restore();
39 extern int cmd_pb_update(); 39 extern int cmd_pb_update();
40 extern int cmd_pb_update_imm(); 40 extern int cmd_pb_update_imm();
41 extern int cmd_pb_update_imm_hex(); 41 extern int cmd_pb_update_imm_hex();
42 extern int cmd_plmnsel_dump(); 42 extern int cmd_plmnsel_dump();
43 extern int cmd_plmnsel_erase();
43 extern int cmd_plmnsel_write(); 44 extern int cmd_plmnsel_write();
44 extern int cmd_pnn_dump(); 45 extern int cmd_pnn_dump();
45 extern int cmd_readbin(); 46 extern int cmd_readbin();
46 extern int cmd_readef(); 47 extern int cmd_readef();
47 extern int cmd_readrec(); 48 extern int cmd_readrec();
130 {"pb-restore", 2, 2, cmd_pb_restore}, 131 {"pb-restore", 2, 2, cmd_pb_restore},
131 {"pb-update", 2, 2, cmd_pb_update}, 132 {"pb-update", 2, 2, cmd_pb_update},
132 {"pb-update-imm", 3, 4, cmd_pb_update_imm}, 133 {"pb-update-imm", 3, 4, cmd_pb_update_imm},
133 {"pb-update-imm-hex", 4, 4, cmd_pb_update_imm_hex}, 134 {"pb-update-imm-hex", 4, 4, cmd_pb_update_imm_hex},
134 {"plmnsel-dump", 0, 0, cmd_plmnsel_dump}, 135 {"plmnsel-dump", 0, 0, cmd_plmnsel_dump},
136 {"plmnsel-erase", 1, 2, cmd_plmnsel_erase},
135 {"plmnsel-write", 2, 2, cmd_plmnsel_write}, 137 {"plmnsel-write", 2, 2, cmd_plmnsel_write},
136 {"pnn-dump", 0, 0, cmd_pnn_dump}, 138 {"pnn-dump", 0, 0, cmd_pnn_dump},
137 {"quit", 0, 0, good_exit}, 139 {"quit", 0, 0, good_exit},
138 {"readbin", 2, 2, cmd_readbin}, 140 {"readbin", 2, 2, cmd_readbin},
139 {"readef", 1, 1, cmd_readef}, 141 {"readef", 1, 1, cmd_readef},