Commit graph

2930 commits

Author SHA1 Message Date
Mark Pizzolato
da227959de SCP: Fix HELP SET <device> to properly output to sim_log when logging. Reported in issue #71 2013-09-06 10:02:02 -07:00
Mark Pizzolato
b1fc298ff3 PDP11/VAX: Add register descriptions and bitfields to register declarations 2013-09-06 09:38:12 -07:00
Mark Pizzolato
d61409889b PDP11: Added formatted register display for HK and RK devices 2013-09-06 08:31:33 -07:00
Mark Pizzolato
db91afbaaf VAX: Compiler warning cleanup 2013-09-05 23:30:22 -07:00
Mark Pizzolato
ddc9398f90 PDP11: fix RK device unit detection when some units are disabled. 2013-09-05 19:03:06 -07:00
Mark Pizzolato
59232fed53 PDP11: fixed auto configure for RL and HK devices 2013-09-05 18:56:08 -07:00
Mark Pizzolato
c0bf9073d9 SCP: Added help display for units which can be enabled and disabled 2013-09-05 12:10:59 -07:00
Mark Pizzolato
b1b9aa3510 PDP11: Added help to RK device 2013-09-05 12:10:09 -07:00
Mark Pizzolato
1141339e5b PDP11: Addition of the RS03/RS04 disk devices from Bob Supnik
Note that this is not the fully general Massbus implementation people were dreaming of. MB#1 is for RP/RM, MB#2 is for TU, and MB#3 is for RS.
I know that there were requests for four Massbus channels and multiple RP/RP subcontrollers, but if people want more disks, they can use the RQ.
2013-09-05 07:59:11 -07:00
Mark Pizzolato
68fbca919c I1401: Read TMK does not write GM+WM to memory from Bob Supnik 2013-09-04 19:56:18 -07:00
Mark Pizzolato
4e5f910fed Compiler nits for void * assignments from Bob Supnik 2013-09-04 19:50:47 -07:00
Mark Pizzolato
4cc4d12e19 Updated PDP11 and VAX780 documentation. 2013-09-03 10:03:21 -07:00
Mark Pizzolato
89024724d4 PDP11/VAX: pdp11_hk Fix by Bob Supnik for issue #47
Revised error handling to command-response model
Revised interrupt logic to follow the hardware
2013-09-03 05:15:23 -07:00
Mark Pizzolato
2722bc4864 README: Update to correct URL for windows binaries. #70 2013-09-02 06:45:23 -07:00
Mark Pizzolato
c22063c431 sim_sock.c allow validation address to match various forms of literal localhost addresses. 2013-08-27 10:41:49 -07:00
Mark Pizzolato
8555bbb323 SCP: Fix Set Command dispatching and HELP dev SET output
- Fixed set MTAB dispatching to not dispatch to unit specific routines when only a device is specified in the command
 - Fixed HELP dev SET output to avoid displaying SET commands which aren't valid for SHOW only cases
2013-08-23 17:29:32 -07:00
Mark Pizzolato
6cc9d569bf Merge Fixes from Bob Supnik's updates 2013-08-22 16:46:57 -07:00
Mark Pizzolato
938b75fc44 Clear storage and branch preserves B register (Van Snyder) 2013-08-22 15:50:08 -07:00
Mark Pizzolato
18461f510b sim_debug: Fixed to produce output when the format string is a bare newline character.
Fixed bitfield output to properly present the prefix when appropriate.

This closes issue #62
2013-08-21 15:00:01 -07:00
Mark Pizzolato
1a48d85d73 VAX630: Fix watch chip behavior the first time a file is attached to the NVR device. 2013-08-21 14:31:31 -07:00
Mark Pizzolato
d3135b777d VAX630: NVR corrected to be 64 bytes instead of 128. Added NVR read/write debug tracing.
- Fixed broken NVR Examine/Deposit
   - Added SHOW CPU LEDS
2013-08-21 13:59:22 -07:00
Mark Pizzolato
4e53c5f928 VAX630: Added register bitfields for the IPC (Doorbell) register and read/write tracing. 2013-08-21 13:55:35 -07:00
Mark Pizzolato
19d30d93ce VAX630: Added register bit fields for the watch device and read/write tracing for watch register activity. 2013-08-21 13:54:00 -07:00
Mark Pizzolato
da8dd3c7e6 VAX: Added Register Bit Field definitions for the PSL register 2013-08-21 13:51:25 -07:00
Mark Pizzolato
c8f775a91e QVSS: Fix to handle when cursor is near the right edge of the screen and only partially visible.
Prior fix for cursor tracking allowed this to now be observed.

The description of the prior change should have been:

The status bits need to be set in the upper byte of the DUART receiver buffer. This is not mentioned in the DEC manual but I found a Phillips datasheet for the 2681 chip, which has a small footnote about it.
2013-08-19 06:48:24 -07:00
Mark Pizzolato
47a6bdf952 Revised QVSS mouse support from Matt Burke to address #60
This is definately much better, but I observed some strange behaviors in my initial testing when the mouse reached the window edge.
2013-08-17 10:11:47 -07:00
Mark Pizzolato
60fbaab9ce Fix time_t complaint when struct timespec doesn't have a time_t seconds value 2013-07-15 05:08:44 -10:00
Mark Pizzolato
0bc76f59b9 Merge remote-tracking branch 'github-simh/master' 2013-07-15 04:44:04 -10:00
Mark Pizzolato
572ed3437a Optionally Enriched the info displayed at the beginning of debug message lines as discussed in Issue #66
sim> set debug -r -a -t -p somefile

    -a   produces seconds.msec time format
    -t    produces hh:mm:ss.msec time format
    -r    causes time values displayed to be relative to the wall clock time when the 'set debug' command was issued
    -r   by itself will cause default of -t

    -a and -t can both be specified if desired

    -p   adds display of current PC value to the debug timestamp output

sim> show debug
2013-07-15 04:38:54 -10:00
Timothe Litt
91c7d26095 SHOW IOSPACE, again
Show IOSPACE doesn't always get the number of devices right due to device creativity.

o The distinction between UNIT and DEVICE has blurred
o MUX devices merge several physical devices into one device/unit
o Dynamic device sizing has made things more volatile.

This edit solves the problem for SHOW IOSPACE by adding an (optional) word to the DIBs.
The word contains the amount of IO space consumed by each instance of the physical device that's being emulated.
E.G., if it's a DZ11, the device is the DZ11 module, or 8 lines, even though the MUX device may support 32.

This enables SHOW IOSPACE to determine the number of physical devices being emulated, which is what folks need when configuring software.  The word may have other uses - in a generic dynamic device sizing routine - which is why the amount of IOSPACE per device was chosen rather than the 'number of physical devices.'

The edit should not make any existing device regress.  If the new word (ulnt) is zero (not initialized), SHOW IOSPACE will default to the number of units in the device, or if there's no device (CPUs), 1 as before.  If it is present, the number of devices is the calculated as total allocation/allocation-per-device.

The edit updates all the devices that seem to require this treatment, and all the processors that define the UNIBUS/QBUS DIBs.
2013-07-11 15:39:15 -04:00
Mark Pizzolato
95e54dc60e Merge remote-tracking branch 'origin/master' 2013-07-10 12:04:23 -10:00
Timothe Litt
5ab2d189ab PDP10 update
EA calc of interrupt instructions is an extension by SimH, and performed incorrectly.  Indirect references are resolved in current context, not exec mode.

Since the Console Execute emulation takes advantage of this extension, correct it to calculate the EA in EXEC mode.
2013-07-10 06:20:01 -04:00
Mark Pizzolato
071b8e5cd0 Fix attach help for pdp11_dl (reported by Reindert Voorhorst) 2013-07-08 06:17:08 -10:00
Timothe Litt
6a9c60c7e7 Fix CR builds
On platforms where the translation code default is dynamic, the default table pointer can't be const.

Remove const from the table pointer.
2013-07-08 07:22:29 -04:00
Mark Pizzolato
1b6fc77421 Fixed multiplexer attach bug introduced when the DEV_DONTAUTO flag was added 2013-07-07 13:49:31 -10:00
Timothe Litt
0cc3783711 PDP-11/VAX Update: NPR to/from IO Space
Matches PDP-10 change.  Necessary for KDP, harmless otherwise.
2013-07-05 00:48:10 -04:00
Timothe Litt
3acbd0e2ca SCP: Prevent use of uninitialized pointer. 2013-07-05 00:24:21 -04:00
Timothe Litt
4497bba48f PDP-11/VAX update: SHOW IOSPACE
Teach SHOW IOSPACE to output vector and BR addresses as well as CSR addresses.
2013-07-05 00:23:33 -04:00
Timothe Litt
1bfc2bc57e PDP-10 update: CD20
Make the card reader work on TOPS-10 and TOPS-20.
Augmented Image ECO was not implemented.
Simplify UI by defining commands for the various options/models emulated based on the simulator being built.
Document, and make the help conditional on model where that reduces clutter.
Deal with <CR><LF> reading ASCII files (file is opened 'rb' in scp's attach ; it shouldn't be.
Add translation support for DEC 026/029 full 7-bit ASCII, an ANSI standard & used by TOPS-10/20.
Deliver EOF at the correct time(s).
Preliminary support for update to card image spec being negotiated with the author.
2013-07-05 00:16:11 -04:00
Timothe Litt
9c7f4237d3 PDP-10 update
Halt code for Console FE errors
2013-07-05 00:07:01 -04:00
Timothe Litt
6e78905ecc PDP-10 Update: TIM
Fix subtle errors in timer/timebase implementation.
Document mechanisms.
Reduce magic constants by using what the OS sets via wrint.
2013-07-05 00:03:39 -04:00
Timothe Litt
6243f9314f PDP-10 update: LP20
Add Optical VFU support
Correct some inconsistencies with the hardware.
Add documentation and help.
Flush output file after 10 seconds of idleness to allow external watchers/processors to access entire job without forcing a simulator halt or detach/attach.
Make CR return to column 0, not column 1.
Make DAVFU contents accessible via SHOW.
Initialize RAM structures on power-up reset, but not reboot.
2013-07-05 00:01:24 -04:00
Timothe Litt
0e939d29e8 PDP-10 update
Implement keep-alive and os-requested reload functions of FE.
Preserve HW config flags during (re-) boot.
Allow IPL30 device to interrupt.
Add 18-bit DMA functions.
Implement DMA to/from I/O space.
Optimize DMA memory mapping - once per page, not once per byte.
Teach SHOW IO to report vectors and BR levels as well as CSR addresses.
Add DUP and KDP to Autoconfigure table.
2013-07-04 23:56:24 -04:00
Timothe Litt
8df4e2a3fd Update pdp-10 documentation 2013-07-04 23:40:43 -04:00
Mark Pizzolato
64ed03d10a Revert clearing of sim_interval on sig-int to properly manage the passage of time. 2013-07-01 09:49:47 -10:00
Mark Pizzolato
fa0086ab74 change QVSS device to autoconfigure its vector so other autoconfigured devices get correct vector assignments when the QVSS device is enabled 2013-07-01 09:47:54 -10:00
Mark Pizzolato
5de0c8db9c Instrumented the qvss activities for better debug support 2013-06-30 08:37:29 -10:00
Mark Pizzolato
1f8b3be4c0 Cleanup remote console single command mode. 2013-06-25 04:58:34 -10:00
Mark Pizzolato
5a21db5df6 Fix TMXR line transmit buffer allocation to always be allocated if a listening socket is open 2013-06-24 10:58:28 -07:00
Mark Pizzolato
9f430923c4 Merge remote-tracking branch 'origin/master' 2013-06-20 09:15:53 -07:00