1
0
mirror of https://github.com/open-simh/simh.git synced 2026-02-27 09:19:51 +00:00

GRI, PDP11, PDP8, VAX: Misc formatting and typo cleanups

This commit is contained in:
Bob Supnik
2018-03-09 14:03:13 -08:00
committed by Mark Pizzolato
parent 0df520de7f
commit bf82092493
5 changed files with 7 additions and 6 deletions

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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

View File

@@ -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