diff simtool/dispatch.c @ 100:fa7005185b84

fc-simtool: restore-file command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 25 Jan 2021 01:23:54 +0000
parents 2e35070d289f
children 454ff8bd0b83
line wrap: on
line diff
--- a/simtool/dispatch.c	Mon Jan 25 00:14:19 2021 +0000
+++ b/simtool/dispatch.c	Mon Jan 25 01:23:54 2021 +0000
@@ -17,6 +17,7 @@
 extern int cmd_readbin();
 extern int cmd_readef();
 extern int cmd_readrec();
+extern int cmd_restore_file();
 extern int cmd_savebin();
 extern int cmd_select();
 extern int cmd_telecom_sum();
@@ -43,6 +44,7 @@
 	{"readbin", 2, 2, cmd_readbin},
 	{"readef", 1, 1, cmd_readef},
 	{"readrec", 1, 2, cmd_readrec},
+	{"restore-file", 2, 2, cmd_restore_file},
 	{"savebin", 2, 2, cmd_savebin},
 	{"select", 1, 1, cmd_select},
 	{"sim-resp", 0, 0, display_sim_resp_in_hex},