From af35f746af56b8251ee5cb2ae6b848e1ac5278d3 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Sun, 13 Sep 2020 12:11:56 -0400 Subject: [PATCH] I7000: Declare sim_stop_messages as an array SCPE_BASE long --- I7000/i7010_sys.c | 2 +- I7000/i701_sys.c | 2 +- I7000/i7070_sys.c | 2 +- I7000/i7080_sys.c | 2 +- I7000/i7090_sys.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/I7000/i7010_sys.c b/I7000/i7010_sys.c index f899558..e91f8df 100644 --- a/I7000/i7010_sys.c +++ b/I7000/i7010_sys.c @@ -115,7 +115,7 @@ DIB com_dib = { CH_TYP_79XX|CH_TYP_UREC, 0, 04200, 07700, &com_cmd, NULL }; /* Simulator stop codes */ -const char *sim_stop_messages[] = { +const char *sim_stop_messages[SCPE_BASE] = { "Unknown error", "IO device not ready", "HALT instruction", diff --git a/I7000/i701_sys.c b/I7000/i701_sys.c index acdfe48..0b3eb24 100644 --- a/I7000/i701_sys.c +++ b/I7000/i701_sys.c @@ -82,7 +82,7 @@ DIB mt_dib = { CH_TYP_PIO, NUM_UNITS_MT, 0400, 07770, &mt_cmd, &mt_ini }; /* Simulator stop codes */ -const char *sim_stop_messages[] = { +const char *sim_stop_messages[SCPE_BASE] = { "Unknown error", "IO device not ready", "HALT instruction", diff --git a/I7000/i7070_sys.c b/I7000/i7070_sys.c index d485af3..a9bc622 100644 --- a/I7000/i7070_sys.c +++ b/I7000/i7070_sys.c @@ -116,7 +116,7 @@ DIB com_dib = { CH_TYP_79XX, 0, 0, 0, &com_cmd, NULL }; #endif /* Simulator stop codes */ -const char *sim_stop_messages[] = { +const char *sim_stop_messages[SCPE_BASE] = { "Unknown error", "IO device not ready", "HALT instruction", diff --git a/I7000/i7080_sys.c b/I7000/i7080_sys.c index c27d998..4e0c8ce 100644 --- a/I7000/i7080_sys.c +++ b/I7000/i7080_sys.c @@ -130,7 +130,7 @@ DIB com_dib = { CH_TYP_79XX, 0, 0, 0, &com_cmd, NULL }; #endif /* Simulator stop codes */ -const char *sim_stop_messages[] = { +const char *sim_stop_messages[SCPE_BASE] = { "Unknown error", "IO device not ready", "HALT instruction", diff --git a/I7000/i7090_sys.c b/I7000/i7090_sys.c index 76b8207..87fa283 100644 --- a/I7000/i7090_sys.c +++ b/I7000/i7090_sys.c @@ -143,7 +143,7 @@ DIB hsdrm_dib = { CH_TYP_SPEC, 1, 0330, 0777, &hsdrm_cmd, &hsdrm_ini }; /* Simulator stop codes */ -const char *sim_stop_messages[] = { +const char *sim_stop_messages[SCPE_BASE] = { "Unknown error", "IO device not ready", "HALT instruction",