Commit graph

1737 commits

Author SHA1 Message Date
Mark Pizzolato
879e2b9554 PDP11, PDP10, VAX, AltairZ80: enhanced the macro which aborts on an unexpected status from an expression with side effects to also write a message to sim_log or sim_deb if they happen to be open. 2014-03-02 14:50:43 +01:00
Mark Pizzolato
9320c56f3f PDP11, PDP10, AltairZ80: Fixed cases where assert() macro is called with an expression which has side effects and therefore wouldn't get executed if compiled with NDEBUG defined. 2014-03-02 14:50:43 +01:00
Mark Pizzolato
dbe8533352 PDP10, PDP11: Fix compiler indicated invalid check. Fixed #118 2014-03-02 14:50:42 +01:00
Mark Pizzolato
6b1dd7065f PDP11, PDP10, VAX, AltairZ80: enhanced the macro which aborts on an unexpected status from an expression with side effects to also write a message to sim_log or sim_deb if they happen to be open. 2014-03-01 17:56:12 -08:00
Mark Pizzolato
a15858315a PDP11, PDP10, AltairZ80: Fixed cases where assert() macro is called with an expression which has side effects and therefore wouldn't get executed if compiled with NDEBUG defined. 2014-03-01 17:15:10 -08:00
Jordi Guillaumes i Pons
f046887e0c PDP11,VAX: Minor change in pdp11_cr.c 2014-03-01 01:20:09 +01:00
Jordi Guillaumes i Pons
8c9a76bf5a PDP11,VAX: Fixed data overrun due to lost interrupts whith idle enabled; fixed garbage got after EOF due to unnecesary interrupt. 2014-02-28 18:58:20 +01:00
Mark Pizzolato
5217c6148b PDP10, PDP11: Fix compiler indicated invalid check. Fixed #118 2014-02-27 13:57:12 -08:00
Jordi Guillaumes i Pons
9f0261be11 PDP10: Fixed TOD drift due to truncation to milliseconds. 2014-02-25 10:47:32 +01:00
Mark Pizzolato
d0d3742504 SWTP6800: Added build support for internally contained swtbug.bin as a built-in ROM image 2014-02-24 18:13:12 -08:00
Mark Pizzolato
d81825cdba ETHER: Updated documentation for building with network support on Mac OS/X. Fix #112 2014-02-24 08:51:47 -08:00
Mark Pizzolato
44f66e90eb MUX: Added delay after closing a socket created to validate a port specification. Suggested by Mark Emmer
The network stack on Windows XP needs an opportunity to cleanup after closing a listening socket which was created but not used,
2014-02-23 08:54:00 -08: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
dcbb89499e PDP11,VAX: Fix bug which scheduled the wrong unit when more than one VH device is configured, Fix #113 2014-02-14 11:21:42 -08:00
Mark Pizzolato
5d82b9a960 ETHER: Fix support on OSX so that builds will succeed when building network capable simulators and libpcap development components are not available but TUN/TAP components are available. 2014-02-14 06:43:40 -08:00
Mark Pizzolato
55822918a5 ETHER: Fix support on OSX so that builds will succeed when building network capable simulators and libpcap development components are not available. 2014-02-13 16:03:38 -08:00
Mark Pizzolato
d50d9529a8 PDP10: Change display of CPU memory size to be in KW (1024) instead of (1000) 2014-02-13 08:22:49 -08:00
Mark Pizzolato
2b512818e9 VS-BUILD: fix warning messages produced when converting VS2008 projects to VS2010 or VS2012 2014-02-13 05:21:12 -08:00
Mark Pizzolato
59d0602b0d PDP8: Add device buffer flush capability and keep track of data written state in the device buffer. Fixes #87
Finishing the last DECtape device which was missed when this functionality was added to pdp11_dt, pdp18b_dt and pdp8_dt
in commits: 2934112a70 and c9e8121c16

Cleaned up the pdp11, pdp18b and other pdp8 implementations to make backporting cleaner.
Made sure that buffer flushing happens correctly when simulation returns to the sim> prompt.
2014-02-12 21:08:18 -08:00
Mark Pizzolato
f1a10a7ff9 PDP11,VAX: Cleanup declared but undefined local routine. 2014-02-12 17:18:44 -08:00
Mark Pizzolato
e75e52d9a2 PDP10: Fixed display of Unibus and Vector for RY device. 2014-02-12 17:17:46 -08:00
Mark Pizzolato
22bce48689 PDP10: Change incorrect interrupt bits defined for DMC/DMR device which conflicted with KMC/KDP device. Fixes issue #107
Also removed unreferenced defines for shared Unibus devices which get address and vectors through autoconfiguration.
2014-02-12 13:47:01 -08:00
Mark Pizzolato
c8991a4084 SOCK: avoid calling strcpy with overlapping arguments when converting IPv4-mapped address strings. Fixes issue #111 2014-02-12 03:40:10 -08:00
Mark Pizzolato
519f7f2c03 PDP8: Revised fix for Binary loader can't read multiple section tapes (#74) to make reading all sections optional based on the -A switch (from Dave Gesswein) 2014-02-11 18:58:19 -08:00
Mark Pizzolato
9068ea0e8e SCP: Fleshing out more of the hierarchical help content. 2014-02-11 14:24:45 -08:00
Mark Pizzolato
3f9a125727 MAKEFILE: Added support to detect libSDL on host platforms which use /usr/pkg for OS supplied package installation location. Fix #110 2014-02-11 14:11:07 -08:00
Mark Pizzolato
07b64e3f72 Compiler suggested cleanups. 2014-02-11 13:33:48 -08:00
Mark Pizzolato
d7c63d61f2 PDP10,PDP11,VAX: Fix for DMC/DMR error which lost track of pending transmit buffers when timeouts happened during DDCMP protocol startup. Fixes #109 2014-02-11 13:32:37 -08:00
Mark Pizzolato
897491deea PDP10: Correct time interpolation when reading the timebase and the interval calculation when setting the clock tick interval. Fixes issue #108 (from Jordi Guillaumes) 2014-02-11 07:17:42 -08:00
Mark Pizzolato
545aa85677 SCP: Cleaned up the hierarchical help APIs to follow the same indentation style used in the rest of scp.c. Fixed the help prompt to avoid adding an extra level to the prompt when the current level has no children. 2014-02-10 17:25:07 -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
d7690ce060 PDP8: Binary loader can now read multiple section tapes. Fix from Dave Gesswein to issue #74. 2014-02-08 05:39:03 -08:00
Mark Pizzolato
2934112a70 PDP11,PDP18B: Add device buffer flush capability and keep track of data written state in the device buffer. These are cousin bugs described in issue #87 2014-02-08 05:29:46 -08:00
Mark Pizzolato
b2133aede8 Compiler indicated cleanups 2014-02-07 14:49:55 -08:00
Mark Pizzolato
7ce7317f7c PDP8: Add new breakpoint command based on instruction value (Opcode) (from Dave Gesswein) as discussed in issue #75 2014-02-07 11:43:52 -08:00
Mark Pizzolato
1a7f8d4df0 VAX,PDP11,PDP10: Added explicit support to enable (or disable) DMR Micro Diagnostics which corresponds to the SW10 hardware switch.
Also, always process initialization commands without regard to whether the DMC/DMR line is attached and return diag error status if the line isn't attached.
2014-02-07 09:01:22 -08:00
Mark Pizzolato
afcbea251d SCP: Add SHOW -C BREAK to display the currently defined breakpoints as commands which can be used to redefine them later.
Note: This excludes the possibility of there being a -C breakpoint type.  Since there are potentially 26 different breakpoint types, this exclusion is not likely to have a significant impact.
2014-02-07 06:32:21 -08:00
Mark Pizzolato
cde0be5573 TMXR: Added support to reasonably set modem bits when a line has dedicated listen port defined or uses datagram transport. 2014-02-06 17:08:38 -08:00
Mark Pizzolato
ccabc026d5 PDP10: Added display support of PC value in debug messages. 2014-02-05 15:25:09 -08:00
Mark Pizzolato
8d09ebec8b Compiler indicated cleanups to Fix #105 2014-02-05 13:44:36 -08:00
Mark Pizzolato
c9e8121c16 PDP8: Add device buffer flush capability and keep track of data written state in the device buffer. Fixes #87 2014-02-05 10:30:22 -08:00
Mark Pizzolato
ffda4c1c41 VAX,PDP11: Fix behavior of simulator when multiple DMC devices are in use concurrently. Fix for issue #51.
The interrupt acknowledgment logic for the transmit interrupt inadvertently cleared the device interrupt pending flag even when other devices potentially had pending interrupts.

Added line specific indications in the debug output for packet trace debugging.
2014-02-05 08:20:43 -08:00
Mark Pizzolato
da134ebb2a SCP: Added detailed help (including switches) for SET DEBUG command and an auto flush of the debug output when instruction execution stops. 2014-02-04 15:45:26 -08:00
Mark Pizzolato
8cc3791e2a PDP11/VAX: Improved debug information to identify the distinct DMC line when multiple lines are in use and added detailed debug output for DDCMP state machine changes. 2014-02-04 14:45:05 -08:00
Mark Pizzolato
0e11dfea98 PDP11/VAX: Fix VH device to properly be displayed when the number of lines changes and to avoid problems in debug mode. 2014-02-04 11:29:25 -08:00
Mark Pizzolato
d0cee0f6b6 SWTP: Fixes to segfault issue described in #103 (from Gene Irwin)
The simulated memory address block from 0x8000 thru 0x8FFF is defined to have address 0x8000 - 0x801F mapped to I/O ports and 0x8020 - 0x8FFF as NO RAM ALLOWED.  Code has been added to behave reasonably when references are made to 0x8020 - 0x8FFF.
2014-02-01 08:12:19 -08:00
Mark Pizzolato
eaae19463c SCP: Initial merge of old style single line help with hierarchical help 2014-02-01 07:04:44 -08:00
Mark Pizzolato
235ffdb6f0 PDP10: Change default bus address and vector for DMR device to be what the TOPS-10 expects (address 764000 and vector 610) 2014-01-30 16:29:40 -08:00
Mark Pizzolato
8c2de7c5a9 SWTP: Added missing SWTP documentation files 2014-01-28 15:21:25 -08:00
Mark Pizzolato
4ec1f7ed2b PDP11: Fix to allow allow Q18 devices to be enabled on Qbus systems with memory <= 256KB. Reported by Christian Gauger-Cosgrove.
The devices which are affected by this are: RK, HK, RM and VT.
2014-01-26 18:09:06 -08:00