diff simtool/dispatch.c @ 90:53e2c00566af

fc-simtool: readbin command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Jan 2021 18:18:04 +0000
parents 91486a77643e
children 226b231d00f3
line wrap: on
line diff
--- a/simtool/dispatch.c	Sun Jan 24 18:03:55 2021 +0000
+++ b/simtool/dispatch.c	Sun Jan 24 18:18:04 2021 +0000
@@ -12,6 +12,7 @@
 #include <winscard.h>
 #include "globals.h"
 
+extern int cmd_readbin();
 extern int cmd_select();
 
 extern int display_sim_resp_in_hex();
@@ -31,6 +32,7 @@
 } cmdtab[] = {
 	{"exit", 0, 0, cmd_exit},
 	{"quit", 0, 0, cmd_exit},
+	{"readbin", 2, 2, cmd_readbin},
 	{"select", 1, 1, cmd_select},
 	{"sim-resp", 0, 0, display_sim_resp_in_hex},
 	{0, 0, 0, 0}