1
0
mirror of https://github.com/open-simh/simh.git synced 2026-03-12 21:44:14 +00:00

932 Commits

Author SHA1 Message Date
Timothe Litt
6076a48f25 PDP-10 RP redux
The KS front end microcode actually reads the wrong alternate HOM block.
Teach the bootstrap to try the wrong one (in case someone counts on
this), but also the correct block.

Implement boot -A to emulate an autoboot - the boot that happens on
power-on or when the boot switch is pressed.  No questions, just boots.
2013-06-18 21:14:32 -04:00
Timothe Litt
c7c5bdead0 PDP-10 RP attach/detach/boot issues
The pdp10_rp emulator had several problems:

1) disks are not recognized properly when they come on-line.  Same issue
as tapes, but not the same code paths.

2) The bootstrap code did not wait for disks to become ready.

3) The bootstrap code did not take the RH CSR address from the front end
(device).  Hence, would not boot if the device address was changed.

4) The bootstrap looked for the second HOM block at block 10 of the
disk.  Unfortunately, it read block 8.  10 is decimal; you need all 10
(decimal) fingers.

Fixes:
1) Implement spin-up delay.  A device that is attached/re-attached comes
on-line a second later.  Replace tests for 'attached' with tests for
up-to-speed.

2) Wait for the drive to become ready after issuing a controller clear.
When it's ready, write the attention summary register to prevent the
un-tended on-line interrupt for looking like an error.

3) Read the RHBASE from main memory instead of storing it there.  Teach
the bootstrap command to put it in memory from the dib, as it did with
the unit.

4) Read the correct block.

FILSER now gets on-line and off-line interrupts.
2013-06-18 16:27:41 -04:00
Mark Pizzolato
97eb58cfc4 Added a device flag which can be used to avoid auto detach at device attach time. 2013-06-17 21:17:49 -07:00
Timothe Litt
e13b1fed55 Merge branch 'master' of https://github.com/tlhackque/simh 2013-06-17 18:43:28 -04:00
Timothe Litt
d92fd22d7f RH11/TM0x issues: attach/detach
Tape on-line interrupts weren't happening when a tape was attached or
replace on the TH11/TM0x emulation.

The OS never saw a MOL transition in the case of replacement, where the
detach is implicit.

This patch defers reporting MOL for 100 msec; faster than a human can
change tapes, but long enough for an OS to see the 1->0->1 transition of
MOL.

Further, checks for UNIT_ATT should be for MOL.

This makes GALAXY automatic tape recognition work.
2013-06-17 18:11:05 -04:00
Mark Pizzolato
50ec127bb7 Merge remote-tracking branch 'github.com/simh/simh/master' 2013-06-17 12:24:35 -07:00
Mark Pizzolato
b2f4590bfd Update README 2013-06-17 12:22:29 -07:00
Timothe Litt
9752a71943 Access violation if invalid command entered to remote console 2013-06-17 15:11:24 -04:00
Timothe Litt
b8408c6641 ignore emacs scratch and backup 2013-06-17 11:55:24 -04:00
Mark Pizzolato
62229801f6 Cleanup of Visual Studio VAX project to properly convert to newer Visual Studio versions. 2013-06-15 21:59:09 -07:00
Mark Pizzolato
5fba42a08f Renamed Visual Studio Projects VAX610, VAX620 and VAX630 to be consistent with the target names produced by those project builds.
This allows the projects to be migrated into Visual Studio 2010 and Visual Studio 2012 and produce consistent behavior.
2013-06-14 16:20:30 -07:00
Mark Pizzolato
80790908e6 Added "HELP SET dev" and "HELP SHOW dev" as eqivalent to "HELP dev SET" and "HELP dev SHOW" respectively. 2013-06-14 15:00:46 -07:00
Mark Pizzolato
65de3d0aed Add descriptions to the QVSS register declarations 2013-06-14 07:25:18 -07:00
Mark Pizzolato
31b63f03c5 Fixed the Visual Studio build of simulators which statically link against libSDL. 2013-06-14 05:55:03 -07:00
Mark Pizzolato
524460eaf6 Cleanup Visual Studio Build issues 2013-06-13 08:14:57 -07:00
Mark Pizzolato
a7a8f3d905 Added reporting of the QVSS window focus release key when Video Windows is created 2013-06-13 07:00:32 -07:00
Mark Pizzolato
baba5f8c08 Fixed reporting of libSDL availability in simulatoes which will never need it. 2013-06-13 06:36:48 -07:00
Mark Pizzolato
b5e3d6b280 Added logic to suggest libSDL might help with simulators what can use it when it isn't available. 2013-06-12 19:20:55 -07:00
Mark Pizzolato
0109d04ae4 Fix incorrect definition descriptions in comments 2013-06-12 17:11:03 -07:00
Mark Pizzolato
b3a9a0d79c Add sim_video and VAX QVSS (VCB01) Monochrome Video Board from Matt Burke 2013-06-12 17:10:23 -07:00
Mark Pizzolato
feeea1e9d2 Remove unused definitions 2013-06-12 16:01:44 -07:00
Mark Pizzolato
43e5647e96 Fix short block writes on RK06/RK07 devices to write zero filled buffer data. (Oleg Safiullin) 2013-06-10 05:09:45 -07:00
Mark Pizzolato
2656ae5a56 Made a pretty print pass across the code to standardize braces indentation to normal simh conventions 2013-06-08 08:20:09 -07:00
Mark Pizzolato
266447ae63 Added logic to detect DCD/DSR transitions and a placeholder where this detail should be reported to the OS. 2013-06-08 07:54:51 -07:00
Mark Pizzolato
eb921d2ea4 Fix bug in PDP11 SET CPU <model> which inadvertently disabled some devices improperly. - Bob Supnik 2013-06-07 18:20:59 -07:00
Mark Pizzolato
a145d5362b CAPS11 now runs on SimH. The key bug was in the reset routine. Change by Bob Supnik.
Thanks to Ian Hammond, Lou Ernst, Malcolm Macloud, and Jack Rubin,

In addition, I've added the CAPS11 bootstrap into the emulator module, so no more toggle-in required.

Lou Ernst reported that RT11 V5 does not work with the TA11, even on real hardware. The simulated TA11 does work under RT11 V4; it's included in the stock FB monitor.

One anomaly with RT11 V4 - after writing files to CT0: and then doing a DIRECTORY, all the files lengths are 0. The files are there. I can type them and DIFF them against their source.
2013-06-07 16:02:17 -07:00
Mark Pizzolato
c06c47e2e0 Fix to properly insert CRC16's in transmitted DDCMP packets and remove the CRC16's from received DDCMP packets. 2013-06-05 00:50:52 -07:00
Mark Pizzolato
d502af4468 Let the OS turn DTR on and off by properly interpreting the bits provided in the Control In command 2013-06-03 16:07:21 -07:00
Mark Pizzolato
f386776a96 Compiler warning fixes from Brian Knittel 2013-06-03 11:54:49 -07:00
Mark Pizzolato
531cdd42f7 Refactored (and renamed) pdp11_kdp to leverage the pdp11_dup dup implementation. 2013-06-03 10:03:46 -07:00
Mark Pizzolato
651780c481 Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -07:00
Mark Pizzolato
02fcc2ced6 Merge remote-tracking branch 'github-simh/master' into KDP 2013-06-02 17:34:30 -07:00
Mark Pizzolato
f7330bc09d remote compiler warning 2013-06-02 17:07:21 -07:00
Mark Pizzolato
9df6c651cc Merge remote-tracking branch 'github-simh/master' into KDP 2013-06-02 16:50:03 -07:00
Mark Pizzolato
780adc3ca9 Added missing STRSYN from DDCMP dup setup 2013-06-02 16:08:06 -07:00
Rob Jarratt
afc156ee90 Merge branch 'KDP' of https://github.com/simh/simh into KDP 2013-06-02 23:36:16 +01:00
Mark Pizzolato
596cb3f580 Added needed DUP interfaces to allow use by KMC11/KDP. 2013-06-02 13:19:23 -07:00
Rob Jarratt
c242f50732 Revert to Visual Studio 2008 solution file 2013-06-02 21:15:03 +01:00
Rob Jarratt
240d3ad1a7 Fixed problem where transmit buffers are never sent if the first attempt to send them happens when there is no connection to the peer. 2013-06-02 20:58:35 +01:00
Mark Pizzolato
4064cc079a This fixes the problem that MMR1 is recording changes to R7 (PC), which it should not. (issue #44)
It does not fix the problem that MMR1 is not used for floating point instructions.

I don't know if I will fix the FP MMR1 problem. It does not seem to impact running software. It is consistent with the architecture spec - just not with the actual J11 implementation. The J11 microcode has a variety of exception exits for FP conditions, and I have to trace which ones invoke fix-up, and which do not.
2013-06-02 06:52:32 -07:00
Mark Pizzolato
486ef58595 Compiler warning cleanup 2013-06-01 23:04:45 -07:00
Mark Pizzolato
e8da772de6 Added KDP to PDP11 simulator 2013-06-01 06:37:05 -07:00
rjarratt
edf6ad7d69 Solution file upgrade to 2012 2013-06-01 11:37:31 +01:00
Mark Pizzolato
e5ee32d411 Fix network build on OSX when libvdeplug is available. 2013-05-31 17:18:46 -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
e2b796273a Merge branch 'master' of github.com:simh/simh 2013-05-31 09:41:36 -07:00
Mark Pizzolato
881f53e457 Added support to the Remote Console facility to close a remote console session on EOF 2013-05-31 09:33:05 -07:00
Mark Pizzolato
bc49f6b78a Fix for Unibus word DMA from Rob Jarratt 2013-05-31 04:16:42 -07:00
Mark Pizzolato
9149b813f0 Merge remote-tracking branch 'github/master' 2013-05-29 12:52:06 -07:00
Mark Pizzolato
39c794292d Changed some spaces and indentations 2013-05-29 12:48:19 -07:00