1
0
mirror of https://github.com/prirun/p50em.git synced 2026-05-03 23:08:50 +00:00

Trial command line option to suppress updating PRIMOS' DATNOW variable.

This commit is contained in:
Dennis Boone
2025-09-29 20:35:23 -04:00
parent 81fc652d5e
commit a5f30d1c98
2 changed files with 28 additions and 21 deletions

5
em.c
View File

@@ -659,6 +659,7 @@ static unsigned short *physmem = NULL; /* system's physical memory */
#define LASTFAULT 077
//static ea_t tnoua_ea=0, tnou_ea=0, tsrc_ea=0;
static int noclock; /* -noclock arg */
static int domemdump; /* -memdump arg */
static int dolinecleararg; /* -dolineclear arg */
@@ -4456,6 +4457,7 @@ int main (int argc, char **argv) {
#include "dispatch.h"
noclock = 0;
domemdump = 0;
dolinecleararg = 0;
bootarg = NULL;
@@ -4474,6 +4476,9 @@ int main (int argc, char **argv) {
while (i+1 < argc && argv[i+1][0] != '-')
readloadmap(argv[++i], 1);
} else if (strcmp(argv[i],"-noclock") == 0) {
noclock = 1;
} else if (strcmp(argv[i],"-memdump") == 0) {
domemdump = 1;