I ordered an MCP27013 IC and when it arrives I will connect it to the PiDP-11/70.
The two switches, 8 lamps and solenoid are connected to the MCP27013.
All that remains to be done is hacking modifying the SIMH software.
I will try to do this in a as-little-as-possible intrusive way to SIMH.
Fun "project" if only conceptual for now. How about adding a small speaker to simulate the sounds an RK05 makes - the spin up noises, the squeaking of the positioner, even a head crash (just kidding). It could be connected to the Pi's audio out jack and wav files played during different RK05 activities.Whit
Hi Johnny,
that is a good idea, but DIP switches for "daily use" ... they were not designed for that. However, as you say, the RK05 also comes with a rotary BCD switch on
the front panel, left of the WT PROT and LOAD/RUN switch. The RK05 I have seen with that BCD switch was "ugly", because the BCD thumb switch color was beige! But that is a matter of taste :) I will search for a small (scaled :) ) black BCD switch to add to the panel. Then the BCD switch represents the drive number, and the big number at the right side can be removed. Still, kind of a pity, because that "looks" so nice (IMHO).
Having more "drives" will be a bit more work in SIMH, but can be done. However, with one front panel, only ONE RK05 drive (physically simulated) can be present. All other RK05 attached drives will be simulation only. Basically, the file name specified on the ATTACH command must be correct (full path to USB stick, not just a file name).
I wonder whether it is needed to be able to specify which RK05 drive in the SIMH configuration has a "physical simulated" front panel. We'll see when I get working on the SIMH "hook-ups".
Making the spin up/down delay configurable (down to 0) was my intention :)
Indeed, for example toggling LOAD/RUN at a bad moment in time will cause issues ... but do you remember if it was possible on a real RK05 to toggle RUN to LOAD while a WT or RD cycle was in progress? I mean, if the operator, by accident, toggled to LOAD while there is disk access activity, was the drive logic clever enough to block the LOAD action until the access was completed? I never tried that on my real RK05 drives.
Agreed that the RK05 is a small drive for an 11/70, but (IMHO) the RK05 is one of the most appealing disk drive to look at. But RP drives (with glass top "door") are also great to watch, because you can *see* the spinning disk. I have three RP03 drives (glass top door), but it will be a long time before they will spin up the first time here with a pack loaded ...
The RL01/02 drives have 2 or 4 times the capacity of the RK05, but they miss the "sexy looks" of the RK05. Although RP or RM disk drives could be done, they will take up more space on your desk. The idea of the RK05 is that you can build a "mini rack" on your desk :) A "mini line" would also look cool!
Although I guess you would run RSX or RSTS on the 11/70, you can also run RT11 on it. Don't know whether DIGITAL mentioned that as an OS option for the 11/70, but you can (I did it).
Hi Paul,
a rotary encoder will probably need some processing, and a small display to show what the drive number is. Both (rotary knob and display) are *NOT* features of a "real RK05" (as you know)! However, the BCD thumbwheel switch that Johnny mentions *IS* a real RK05 feature, I have seen it in real life :)
To be correct, the thumbwheel switch should have numbers 0 thru 7. The RK11 controller could at max select 8 drives (numbered 0 to 7). I know that BCD thumbwheel switches exist with 0-7, but I am not sure I can find one (that will also fit in the panel in proportions and does not cost a small fortune). So, it will probably be a thumbwheel switch 0-9. Not sure how SIMH can cope with 8 and 9 ... maybe the thumbwheel switch has configurable stops.
Greetz,
Henk
Hi Peter,
the RFID option would be possible, but "back then" it was up to the operator to *read* the label on the disk pack and mount the correct pack in the drive.
So, I will simulate that (easier :) ).
Big tape robots use a similar approach. They have a camera to read the bar code on the tape cartridge to check that the correct tape cartridge is grabbed.
Greetz,
Henk
Hi Whit, Jerry,
yeah, adding sounds would be nice. For starters the fans of the 11/70 ... 5 fans on the top side of the BA11-F box and 4 fans at the bottom side of the card cage. Then one or two big fans in the top of the cabinet ... I guess the need for a "silence option" quickly will be asked for :)
But adding "RK05 sounds" is possible, why not? Perhaps something for later!
And as Johnny says, the "clunk" of the RK05 door (un)locking cannot be overheard!
Greetz,
Henk
Go old-school and use a DE9 for all signals :->.
From: pid...@googlegroups.com [mailto:pid...@googlegroups.com] On Behalf Of Henk Gooijen
Sent: Wednesday, July 18, 2018 5:12 AM
To: [PiDP-11]
Subject: [PiDP-11] Re: Physical simulation of the RK05 disk drive
Ahhh ... now I see the light (I hope), but also problems!
The DIP switch or whatever mechanism to signal which file to use of the many files on the USB stick must be somehow connected from the removable cartridge to the drive construction (as is for the USB connection) ... mechanically challenging and it must be a 100% reliable connection.
-----
Go old-school and use a DE9 for all signals between the “cartridge” (male) and the “drive” (female). Think of it as engaging the head-load mechanism :->.
-----
And for verisimilitude (aka “more fun”) you could label the “drive” as an RK05F (“fixed”) and screw the DE9 in permanently while disabling any possibility of opening the door to remove the cartridge :->. Double the disk space!
From: pid...@googlegroups.com [mailto:pid...@googlegroups.com] On Behalf Of Henk Gooijen
Sent: Wednesday, July 18, 2018 5:51 AM
To: [PiDP-11]
Subject: [PiDP-11] Re: Physical simulation of the RK05 disk drive
A DE9 connector certainly makes sense, for several reasons!
--
You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/df4a149c-d7c4-4424-ad10-59432cd43754%40googlegroups.com.
RK05s were “the bees knees” for PDP-11s at the dawn of my memory. They looked sexy too. RL01s and RL02s came later.
Correct, the available storage space doubles if the drive is an RK05f.
But the fun is less, because the door is gone (it is a fixed mounted black metal plate).
On 2018-08-01 12:53, Henk Gooijen wrote:
> Based on memories, I have drawn a state transition diagram (well, sort
> of). Some details are not in it, but it shows the behavior. In plan to
> write the software based on this STD. If changes are needed, I will
> first update the STD, and then the C code ...
I sortof gave up after a while to try and figure out all different
undefined or funny states you might get into with this diagram. Sorry.
Anyway, I assumed you wanted some feedback, since you posted it. If not,
then sorry for this whole mail, and I'll be quiet.
Johnny
--
I'll add a additional question -
Do you intend to simulate disk rotational latency and head motion?
And do you care if the diagnostics pass?
Obvious a USB device has zero rotational latency and no head motion delays.
I've implemented an RP06 disk simulator in an FPGA. Some of the KS10
diagnostics require a semi-accurate disk timing simulation to succeed.
The KS10 FPGA has two modes: "fast but sloppy" which has no delays, and
"slow but accurate" which is required to pass the diagnostic tests.
SIMH already fails many of the diagnostics and maybe you don't care.
Rob.
Very exciting progress Henk...
It has been quiet on this topic, but that does not mean that nothing was done in the meantime ...
Since yesterday, I have on my desk a metal RK05 front panel with same dimensions as the PiDP-11/70.
Last week I received a package from Reichelt with the electronic parts to interface the switches and LEDs of the front panel to the Raspberry Pi using the I2C connection.
And today the small PCB arrived that I designed. Ohh, and 2 weeks ago, the ordered L-shape aluminum profiles and aluminum plates were delivered to build the box. Forgot a few pieces, but not critical.
Sounds like almost done? Well ..., no!
I have to drill mounting holes in the L-shape aluminum profiles and plates. Using M3 screws these profiles are mounted on the rear side of the front panel, and the plates are attached to these profiles.
Further, I still have to work on the front door. I have ideas, but at this moment I am still searching for a method to bend the "smoke glass" plexiglas in sort of a flat "S" shape, just like the real RK05 drive door has. Through this "glass" you can see the loaded cartridge, and that is what I want too!
The front door locking mechanism (using a solenoid) is also a small challenge, because there is not much space. But I am confident this will also be solved.
I also still have to do some thinking about the guidance and support for the disk cartridge. The cartridge will have a USB stick inside and 3 jumpers to select which of the 7 disk containers is the one that will be loaded (attached to SimH). The connection from the cartridge to the "solid world" (the disk drive) uses two magnetically held USB connectors.
I will be writing a manual as I make progress and post pictures.
glad to hear you're making excellent progress! ANy kind of photo / descriptive log (nothing fancy) would be great. I would love to mimic your steps and catch up with you :-)cheersAndy
Henk - I know I am going to regret asking this... <sigh... another project> but if I wanted to get this panel rendered in 2mm aluminium any tips you can share?
I think that a panel thickness of 2 mm is too thin. Remember, there are screws mounted on the rear side of the front panel, and you do not want to see them at the front.I chose 3 mm thickness so that the M3 screws can be mounted (threaded) 2.25 mm into the panel. Originally I wanted 4 mm thickness, but that would have increased the cost considerably, because *every* cut hole gets more expensive as more material has to be cut. So I kept the thickness at 3 mm, but from Front Panel Express you can get your front panels up to 10 mm thick ...
And here are a few pictures. Taken his evening, so lighting is not perfect.
--
You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/20f2fe3d-accc-4c57-b378-4c3c88b0bb1f%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
I am working on a "physical simulation" of the RK05 disk drive.
Solution #1.
If you mount a physical disk drive behind the front door, you can simulate the physical disk cartridge completely. A 3.5" floppy drive does not contain the capacity of the RK05 disk (~2.5 MB).