From 4388350678736e28cab79f1de977949b2913d081 Mon Sep 17 00:00:00 2001 From: Jim Date: Wed, 3 Aug 2011 17:31:09 -0400 Subject: [PATCH] Allow continue after HLT for -boot filename for V-mode T&Ms --- em.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/em.c b/em.c index 78d1275..8f53204 100755 --- a/em.c +++ b/em.c @@ -6212,7 +6212,7 @@ d_hlt: /* 000000 */ TRACE(T_FLOW, " HLT\n"); RESTRICT(); memdump(0,0xFFFF); - if (((crs[KEYS] & 016000) >> 10) <= 3) { + if (bootarg) { printf("\nCPU halt, instruction #%lu at %o/%o %s: %o %o\nA='%o/%d B='%o/%d L='%o/%d X=%o/%d", gvp->instcount, RPH, RPL, searchloadmap(gvp->prevpc,' '), get16t(gvp->prevpc), get16t(gvp->prevpc+1), crs[A], *(short *)(crs+A), crs[B], *(short *)(crs+B), *(unsigned int *)(crs+A), *(int *)(crs+A), crs[X], *(short *)(crs+X)); printf("\nPress Enter to continue... "); getchar();