Mark Pizzolato
5531ccb175
ALL: Massive 'const' cleanup
...
These changes facilitate more robust parameter type checking and helps
to identify unexpected coding errors.
Most simulators can now also be compiled with a C++ compiler without
warnings.
Additionally, these changes have also been configured to facilitate easier
backporting of simulator and device simulation modules to run under the
simh v3.9+ SCP framework.
2016-05-15 15:25:33 -07:00
Mark Pizzolato
73d7aee71f
SCP: Add printf style format argument validation for all functions which take printf arguments.
...
These include: sim_printf(), sim_messagef(), Fprint() and sim_debug().
Fix current use of these functions which had invalid arguments.
2015-10-09 04:12:25 -07:00
Mark Pizzolato
ef9d1adce1
PDP10, PDP11, VAX: const cleanup
2015-02-13 06:18:24 -08:00
Mark Pizzolato
549779fb10
PDP10, PDP11, VAX: Adjusted KDP, DUP and DMR/DMC devices to be better behaved when the simulated system is idling.
...
This may not completely fix the problem identified in issue #99 , but it should help
2014-12-19 08:41:10 -08:00
Mark Pizzolato
74482ce448
PDP10, PDP11, VAX: Make sure that the DMC and DUP devices produce the right messages when an attach is attempted to an already attached line
2014-04-06 16:42:10 -07:00
Mark Pizzolato
b5d5ef7b56
PDP10, PDP11: Fix DUP device to properly activate polling on simulator startup (after reset) if any DUP devices are attached.
2014-04-02 13:08:48 -07:00
Mark Pizzolato
edb475fcc1
PDP10, PDP11, VAX: Fix DMC & DUP unit attach strings for multi-line device configurations.
2014-04-02 08:47:35 -07:00
Mark Pizzolato
6ce8d99cd8
SCP: Added generic output routine sim_printf to output to stdout and sim_log (and sim_deb when enabled)
...
The goals here being to simplify calling code while getting consistent output delivered everywhere it may be useful.
Modified most places which explicitly used sim_log or merely called printf to now avoid doing that and merely call sim_printf().
2014-03-28 08:20:05 -07:00
Mark Pizzolato
e81de979f6
PDP11, PDP10, VAX: Start device connection polling on device reset when any units are attached
2014-03-27 05:12:44 -07:00
Mark Pizzolato
fe005f7d36
PDP10, PDP11, VAX: Fix DUP and DMC devices which couldn't be disabled after having been enabled.
2014-03-19 02:06:10 -07:00
Mark Pizzolato
02cb5c2d88
Compiler suggested cleanups.
...
Mostly silencing noise warnings, but bugs were found in sim_console.c and pdp11_dmc.c
2014-02-14 17:07:45 -08:00
Mark Pizzolato
b1fb809210
PDP10, PDP11, VAX: Added the DDCMP corruption troll to the DDCMP layer and removed it from the KDP device.
...
Now all DDCMP capable devices KDP, DUP and DMC/DMR have access to packet corruption generation to simulate real world imperfect data lines for protocol testing.
2014-02-10 17:22:19 -08:00
Mark Pizzolato
9ab6c4d1c1
SOCKET: Extended TMXR packet capabilities to disable the Nagle algorithm when TCP packets transports are used.
2014-01-23 09:31:05 -08:00
Mark Pizzolato
55c5d20517
PDP10,PDP11,VAX: Addition of inter operable DUP11, DMC11 and KDP11 devices
...
This is the results of external KDP development activities. The KDP side done by Timothe Litt and DMC and DUP by Mark Pizzolato
Additionally, other PDP10 updates from Timothe Litt
2013-11-25 07:00:17 -08:00
Mark Pizzolato
780adc3ca9
Added missing STRSYN from DDCMP dup setup
2013-06-02 16:08:06 -07:00
Mark Pizzolato
596cb3f580
Added needed DUP interfaces to allow use by KMC11/KDP.
2013-06-02 13:19:23 -07:00
Mark Pizzolato
486ef58595
Compiler warning cleanup
2013-06-01 23:04:45 -07:00
Mark Pizzolato
4d34547b05
Cleanup DUP11 implementation and refactor for shared use by another device (KMC11).
2013-05-31 11:58:09 -07:00
Mark Pizzolato
a61dec6544
Add initial sharable DDCMP support
2013-05-29 12:37:51 -07:00
Mark Pizzolato
27dac1ade2
Added rate limit support (SET DUPn SPEED=bps).
2013-05-29 05:33:51 -07:00
Mark Pizzolato
4ba152db79
Fix packet transmit overrun behaviors which caused DECnet circuit failures.
2013-05-28 17:35:49 -07:00
Mark Pizzolato
4019e670e0
Fixed CRC implementation, CRC state bit presentation and added register declarations
2013-05-28 12:18:32 -07:00
Mark Pizzolato
c3750e6444
Added logic to act on the state and transitions of the RCVEN bit of the receiver CSR.
2013-05-28 01:03:58 -07:00
Mark Pizzolato
89bd58a6fa
Addition of DUP11 simulation to all Unibus simulators (PDP11, PDP10, and all Unibus VAXen)
2013-05-27 16:24:18 -07:00