<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="NL" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Thanks for responses, I learned a few things!</p>
<p class="MsoNormal">(I can only respond when I am at home, sorry for the delay)</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The first (big) eye opener for me was that RK11 registers in SIMH are</p>
<p class="MsoNormal">of course *not* the same as the RK05, duh!  Good to know for future</p>
<p class="MsoNormal">projects!</p>
<p class="MsoNormal">I knew about the error conditions on the RK05 drive that turn on</p>
<p class="MsoNormal">the FAULT indicator, but in SIMH_PiDP-11/70_simulated-RK05 it is</p>
<p class="MsoNormal">difficult to break the positioner glass or have a burned-out lamp
<span style="font-family:"Segoe UI Emoji",sans-serif">😊</span></p>
<p class="MsoNormal">So maybe the FAULT indicator lights up for a few reason that could be</p>
<p class="MsoNormal">plausible, but are in fact not correct as they are RK11 errors and not</p>
<p class="MsoNormal">RK05 drive errors!  Maybe I can get away with saying that the simulated</p>
<p class="MsoNormal">"RK05 drive" is a drive plus controller …</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What I also learned is that (at least in SIMH) you do not need to</p>
<p class="MsoNormal">FORMAT a new RK05 disk (container file)!  Just an .INIT RK0: will do!</p>
<p class="MsoNormal">However, initially I could not get the RK05 simulation working, so</p>
<p class="MsoNormal">I got stuck on FORMAT (the reason was a stupid mistake on my side).</p>
<p class="MsoNormal">When I enter the .FORMAT RK0:  command, I see the ONCYL, RD and WT</p>
<p class="MsoNormal">LEDs flash and flicker for quite some time. When I enter .INIT RK0:</p>
<p class="MsoNormal">ONCYL flashes once, and RD and WT flash briefly.</p>
<p class="MsoNormal">I tried in a "virgin" SIMH environment and Bob is (of course) correct.</p>
<p class="MsoNormal">You do not need to FORMAT an RK05 in SIMH!  But it does actually format.</p>
<p class="MsoNormal">However, it does so until it goes outside the range of valid cylinders.</p>
<p class="MsoNormal">I guess that can be fixed, but as Bob says: don't do that <span style="font-family:"Segoe UI Emoji",sans-serif">
😊</span></p>
<p class="MsoNormal">On my (long) "to do" list: "why format tries to write cylinder 203"?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I understand that the behavior of the lamps on my "simulated RK05"</p>
<p class="MsoNormal">completely depends on how I added code for that in pdp11_rk.c.  But it</p>
<p class="MsoNormal">seems OK to me, because when I boot RT-11 from that simulated RK05 drive</p>
<p class="MsoNormal">ONCYL and RD flash most of the time, but WT also flashes a few times.</p>
<p class="MsoNormal">Long ago I booted a (real) 11/34 using Don North's tu58em with diagnostic</p>
<p class="MsoNormal">printout and (to my surprise) during the boot a few writes occurred.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">At the moment I cannot verify with a real RK05, because the temperature</p>
<p class="MsoNormal">in my "museum" is a bit low to run a real RK05 (just 10 degrees Celcius).</p>
<p class="MsoNormal">My current implementation turns on the FAULT lamp for several reasons.</p>
<p class="MsoNormal">- for the RK11 errors (so I need to check and somewhat improve that),</p>
<p class="MsoNormal">  although the errors are not likely to occur in SIMH, unless you are</p>
<p class="MsoNormal">  programming access to the registers directly and make a mistake ...</p>
<p class="MsoNormal">- if the drive (or software!) sets the drive to "read-only" (thus the</p>
<p class="MsoNormal">  WT-PROT lamp goes on), and you do some write action, for example, try</p>
<p class="MsoNormal">  to delete a file, the FAULT lamp goes on.</p>
<p class="MsoNormal">  Toggling the WT-PROT switch or (RT11 command) .SET RK0 LOCKED will</p>
<p class="MsoNormal">  turn on the WT-PROT lamp. Toggling again or .SET RK0 WRITEENABLE will</p>
<p class="MsoNormal">  turn off the WT-PROT lamp.</p>
<p class="MsoNormal">- according to RK11/RK05 documentation, toggling the WT-PROT or the</p>
<p class="MsoNormal">  LOAD/RUN switch (to RUN) will turn off the FAULT lamp.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am having fun with this project and learn a lot as I go.</p>
<p class="MsoNormal">Also, thanks to you guys!</p>
<p class="MsoNormal">Henk</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">PS. Printing a 3D scaled RK05 cartridge is in progress. When that is done<br>
I will try to make my first YouTube video …</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>