From bf8209249372afa7d0a5d84295a9027c8cf84ddb Mon Sep 17 00:00:00 2001 From: Bob Supnik Date: Fri, 9 Mar 2018 14:03:13 -0800 Subject: [PATCH] GRI, PDP11, PDP8, VAX: Misc formatting and typo cleanups --- GRI/gri_cpu.c | 3 ++- PDP11/pdp11_tu.c | 2 +- PDP8/pdp8_dt.c | 4 ++-- PDP8/pdp8_ttx.c | 2 +- VAX/vax_cis.c | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/GRI/gri_cpu.c b/GRI/gri_cpu.c index 65cbb45c..64f69739 100644 --- a/GRI/gri_cpu.c +++ b/GRI/gri_cpu.c @@ -518,7 +518,8 @@ while (reason == 0) { /* loop until halted */ MA = IDX_ADD (MA); /* index? */ if (op & TRP_DEF) { /* defer? */ t = (M[MA] + 1) & DMASK; /* autoinc */ - if (MEM_ADDR_OK (MA)) M[MA] = t; + if (MEM_ADDR_OK (MA)) + M[MA] = t; MA = IDX_ADD (t); /* index? */ } TRP = SC; /* save SC */ diff --git a/PDP11/pdp11_tu.c b/PDP11/pdp11_tu.c index 2e12aa37..58b924ad 100644 --- a/PDP11/pdp11_tu.c +++ b/PDP11/pdp11_tu.c @@ -863,7 +863,7 @@ switch (st) { if (qdt) { /* data transfer? */ tu_set_er (ER_FCE); /* set FCE */ mba_set_exc (tu_dib.ba); /* set exception*/ - } + } break; case MTSE_IOERR: /* IO error */ diff --git a/PDP8/pdp8_dt.c b/PDP8/pdp8_dt.c index b5a33eea..d40d4d46 100644 --- a/PDP8/pdp8_dt.c +++ b/PDP8/pdp8_dt.c @@ -813,7 +813,7 @@ switch (fnc) { /* at speed, check fnc * if (MEM_ADDR_OK (ma)) /* mem addr legal? */ M[ma] = dat; if (M[DT_WC] == 0) /* wc ovf? */ - dt_substate = DTO_WCO; + dt_substate = DTO_WCO; /* fall through */ case DTO_WCO: /* wc ovf, not sob */ if (wrd != (dir? 0: DTU_BSIZE (uptr) - 1)) /* not last? */ sim_activate (uptr, DT_WSIZE * dt_ltime); @@ -863,7 +863,7 @@ switch (fnc) { /* at speed, check fnc * dt_substate = 0; /* fall through */ case 0: /* normal write */ M[DT_WC] = (M[DT_WC] + 1) & 07777; /* incr WC, CA */ - M[DT_CA] = (M[DT_CA] + 1) & 07777; + M[DT_CA] = (M[DT_CA] + 1) & 07777; /* fall through */ case DTO_WCO: /* wc ovflo */ ma = DTB_GETMEX (dtsb) | M[DT_CA]; /* get mem addr */ ba = (blk * DTU_BSIZE (uptr)) + wrd; /* buffer ptr */ diff --git a/PDP8/pdp8_ttx.c b/PDP8/pdp8_ttx.c index a202d7ae..63cf5541 100644 --- a/PDP8/pdp8_ttx.c +++ b/PDP8/pdp8_ttx.c @@ -49,7 +49,7 @@ This module implements 1-16 individual serial interfaces similar in function to the console. These interfaces are mapped to Telnet based connections as - though they were the four lines of a terminal multiplexor. The connection + though they were the 16 lines of a terminal multiplexor. The connection polling mechanism is superimposed onto the keyboard of the first interface. The done and enable flags are maintained locally, and only a master interrupt diff --git a/VAX/vax_cis.c b/VAX/vax_cis.c index 0d9aed16..044d7a65 100644 --- a/VAX/vax_cis.c +++ b/VAX/vax_cis.c @@ -26,7 +26,7 @@ On a full VAX, this module simulates the VAX commercial instruction set (CIS). On a subset VAX, this module implements the emulated instruction fault. - 30-May-16 RMS Fixed WorldLshift FOR REAL + 30-May-16 RMS Fixed WordLshift FOR REAL 16-Oct-08 RMS Fixed bug in ASHP left overflow calc (Word/NibbleLshift) Fixed bug in DIVx (LntDstr calculation) 28-May-08 RMS Inlined physical memory routines