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:
5
em.c
5
em.c
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user