{"id":1486,"date":"2024-11-29T20:44:05","date_gmt":"2024-11-29T20:44:05","guid":{"rendered":"https:\/\/pdp2011.sytse.net\/wordpress\/?p=1486"},"modified":"2025-02-27T13:04:16","modified_gmt":"2025-02-27T13:04:16","slug":"another-rl-bug-fixed","status":"publish","type":"post","link":"https:\/\/pdp2011.sytse.net\/wordpress\/another-rl-bug-fixed\/","title":{"rendered":"Another RL bug fixed"},"content":{"rendered":"\n<p>It isn&#8217;t long ago that Robert Keck reported that he&#8217;d found the issue in the RL11 core that stopped RT-11 from booting, and now there&#8217;s another fix to report on.<\/p>\n\n\n\n<p>This one was found from the new MINC images that were added to Bitsavers in October &#8211; more on that later; this bit of the story is just how a freshly installed RL02 image would work fine on simh but not on PDP2011. <\/p>\n\n\n\n<p>After some serious debugging, I could narrow the issue down to that there was a mismatch in the cylinder that the software thought the drive should be on, and the value that the logic maintains &#8211; in the real hardware, that would be the position of the heads in the drive.<\/p>\n\n\n\n<p>First I thought that the cause might be an over- or underflow of the drive position; the old logic would just wrap around if you&#8217;d tell it to seek down from cylinder 0, and simh had some statements to stop that. But while a fix to that effect did change the behaviour somewhat, it didn&#8217;t completely fix the problem.<\/p>\n\n\n\n<p>A bit later I noticed that the software issued a reset instruction just prior to the problem occurring. That pointed me to the logic that clears the registers in the RL11 controller &#8211; and yes, that also included the internal representation of the head position in the drives. So I took that out, and surprise &#8211; everything just worked.<\/p>\n\n\n\n<p>The actual fix that the MINC software needed turned out to be just the &#8216;reset without clearing head and cylinder&#8217;; the &#8216;over- and under&#8217; fix wasn&#8217;t needed. But I left it in for good measure.<\/p>\n\n\n\n<p>As before, for now I&#8217;ll just add the updated source for the RL11 here; a new full release with lots of new stuff should be coming up some time this season. But not just yet, there&#8217;s too many things to finish.<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-c6538082-0f21-41fa-aab7-ebacd95d3bc9\" href=\"https:\/\/pdp2011.sytse.net\/wordpress\/wp-content\/uploads\/2024\/11\/rl11.zip\">rl11.zip<\/a><a href=\"https:\/\/pdp2011.sytse.net\/wordpress\/wp-content\/uploads\/2024\/11\/rl11.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-c6538082-0f21-41fa-aab7-ebacd95d3bc9\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>It isn&#8217;t long ago that Robert Keck reported that he&#8217;d found the issue in the RL11 core that stopped RT-11 from booting, and now there&#8217;s another fix to report on. This one was found from the new MINC images that were added to Bitsavers in October &#8211; more on that later; this bit of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-1486","post","type-post","status-publish","format-standard","hentry","category-pdp11","category-update","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/posts\/1486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/comments?post=1486"}],"version-history":[{"count":1,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/posts\/1486\/revisions"}],"predecessor-version":[{"id":1488,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/posts\/1486\/revisions\/1488"}],"wp:attachment":[{"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/media?parent=1486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/categories?post=1486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/tags?post=1486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}