Update version to identify Open SIMH builds

This is to prevent confusion when questions come in.

Plus, a little advertising never hurts.

The version output will now include "Open SIMH", and the version
number will be '4.1.*' rather than '4.0.*'.
This commit is contained in:
Timothe Litt 2023-02-02 15:34:02 -05:00
parent 4562408a5f
commit 949359fd42
No known key found for this signature in database
GPG key ID: 0D3691891E17A124
2 changed files with 2 additions and 2 deletions

2
scp.c
View file

@ -6623,7 +6623,7 @@ sprintf (vmin_s, "%d", vmin);
setenv ("SIM_MINOR", vmin_s, 1); setenv ("SIM_MINOR", vmin_s, 1);
sprintf (vpat_s, "%d", vpat); sprintf (vpat_s, "%d", vpat);
setenv ("SIM_PATCH", vpat_s, 1); setenv ("SIM_PATCH", vpat_s, 1);
fprintf (st, "%s simulator V%d.%d-%d", sim_name, vmaj, vmin, vpat); fprintf (st, "%s simulator Open SIMH V%d.%d-%d", sim_name, vmaj, vmin, vpat);
if (sim_vm_release != NULL) { /* if a release string is defined */ if (sim_vm_release != NULL) { /* if a release string is defined */
setenv ("SIM_VM_RELEASE", sim_vm_release, 1); setenv ("SIM_VM_RELEASE", sim_vm_release, 1);
fprintf (st, " Release %s", sim_vm_release); /* then display it */ fprintf (st, " Release %s", sim_vm_release); /* then display it */

View file

@ -31,7 +31,7 @@
#define SIM_MAJOR 4 #define SIM_MAJOR 4
#endif #endif
#ifndef SIM_MINOR #ifndef SIM_MINOR
#define SIM_MINOR 0 #define SIM_MINOR 1
#endif #endif
#ifndef SIM_PATCH #ifndef SIM_PATCH
#define SIM_PATCH 0 #define SIM_PATCH 0