From c02584440bef747f0bf5668778533dbf0b2ab75b Mon Sep 17 00:00:00 2001 From: Bob Supnik Date: Sun, 19 Feb 2017 21:39:02 -0800 Subject: [PATCH] PDP8: Change RESET CPU to clear L'AC As discussed in #400 and described in the maintenance manuals and/or schematics for all five PDP-8 models (8, 8/S, 8/I, 8/E, 8/A). --- PDP8/pdp8_cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PDP8/pdp8_cpu.c b/PDP8/pdp8_cpu.c index 3597cc49..743fd51a 100644 --- a/PDP8/pdp8_cpu.c +++ b/PDP8/pdp8_cpu.c @@ -25,6 +25,7 @@ cpu central processor + 13-Feb-17 RMS RESET clear L'AC, per schematics 28-Jan-17 RMS Renamed switch register variable to SR, per request 18-Sep-16 RMS Added alternate dispatch table for non-contiguous devices 17-Sep-13 RMS Fixed boot in wrong field problem (Dave Gesswein) @@ -1372,6 +1373,7 @@ return reason; t_stat cpu_reset (DEVICE *dptr) { +saved_LAC = 0; int_req = (int_req & ~INT_ION) | INT_NO_CIF_PENDING; saved_DF = IB = saved_PC & 070000; UF = UB = gtf = emode = 0;