Josh Dersch
398c54ee3f
Fixed Unit and Controller ID fields (word order was scrambled) and removed hacked-in constant values for same.
...
Made RCT table size dynamic based on the drive type.
The above allow RSTS/E to boot! Huzzah!
2019-05-17 00:47:11 +02:00
Josh Dersch
464049f0b6
Changed reset behavior; now done asynchronously. (Was taking too long, especially during resets due to IP regsister read).
...
RSX-11M now boots and runs.
2019-05-11 02:10:12 +02:00
Josh Dersch
22be88832c
Tweaks to MSCP initialization, some cleanup.
2019-05-09 02:00:05 +02:00
Josh Dersch
c6958e1660
Implemented the last few unimplemented MSCP commands; as yet untested with real PDP-11/VAX code (have yet to find a case that uses them.)
...
General code cleanup/refactoring. Added header comments.
Added "use image size" parameter for MSCP disks -- block count derived from image file size rather than DEC drive geometry; allows for arbitrarily large disks (up to 2TB, theoretically.)
2019-05-08 05:34:40 +02:00
Josh Dersch
a00f0592dc
Added small workaround for (possible) bug in VMS secondary bootstrap; improved reset behavior.
...
4.3bsd still panics during uda bringup.
2019-05-07 19:03:49 +02:00
Josh Dersch
3204e65499
Fixed UDA reset behavior, a few things were not getting re-initialized. Adjusted timings. 2.11bsd boots/runs without
...
apparent issues on 11/84. Tested RT-11 on 11/84 and 11/05, mini-unix on 11/05.
2019-05-07 03:20:58 +02:00
Josh Dersch
be3b6d57ed
Implemented AVAILABLE, ERASE, DETERMINE ACCESS PATHS commands. Tweaks to interrupt queueing (request_INTR now blocks until
...
the interrupt actually gets signaled on the unibus). OpenVMS 7.3 now boots on the VAX.
2019-05-06 19:28:20 +02:00
Josh Dersch
8eff2a4e10
Rewrote lower-level DMA and IRQ handling: DMA and IRQ requests are now queued and will run to completion on their own
...
without help from the device code (just call request_DMA and when it returns the DMA transfer is complete.) Fixed
request_DMA to chunk DMA transfers larger than 1024 bytes to avoid overrunning the mailbox's shared memory. Fixed
concurrency issues with DMA requests -- a race condition could cause DMA request data to get clobbered.
RT-11 now boots, MSCP behavior is now very reliable.
2019-05-04 03:30:26 +02:00
Josh Dersch
e0aabf2197
Changes to MSCP implementation with tweaks to PRU1 code to allow operation on 11/84 under 2.11BSD.
...
2.11BSD boots and works well enough to recompile itself.
2019-04-24 20:29:33 +02:00
Josh Dersch
2189e264c3
Initial stab at MSCP implementation. Strives to be MSCP compliant but is not an emulation
...
of the UDA50 controller.
Currently works acceptably with RT-11, does not currently boot. Many holes in implementation.
2019-04-16 02:30:40 +02:00