home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / sys / pdp8 / 91 < prev    next >
Encoding:
Text File  |  1992-11-18  |  6.4 KB  |  119 lines

  1. Newsgroups: alt.sys.pdp8
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!news.columbia.edu!watsun.cc.columbia.edu!lasner
  3. From: lasner@watsun.cc.columbia.edu (Charles Lasner)
  4. Subject: Re: What I've got and what I'd like to have
  5. Message-ID: <1992Nov19.065128.20297@news.columbia.edu>
  6. Sender: usenet@news.columbia.edu (The Network News)
  7. Nntp-Posting-Host: watsun.cc.columbia.edu
  8. Reply-To: lasner@watsun.cc.columbia.edu (Charles Lasner)
  9. Organization: Columbia University
  10. References: <1992Nov18.041602.20897@vpnet.chi.il.us> <1992Nov18.165758.6984@mr.med.ge.com> <1992Nov18.194720.14719@i88.isc.com>
  11. Date: Thu, 19 Nov 1992 06:51:28 GMT
  12. Lines: 105
  13.  
  14. In article <1992Nov18.194720.14719@i88.isc.com> jeq@i88.isc.com (Jonathan E. Quist) writes:
  15. >In article <1992Nov18.165758.6984@mr.med.ge.com> scafati@incoming.med.ge.com (
  16. >
  17. >My nomination for PDP-8.godhood:  Mr. Rich Karhuse.  Formerly head of
  18. >the Northwestern CS Research Lab; last I heard, working for Bell Labs.
  19. >I heard stories from several reliable sources that, upon discovering
  20. >a bug in the network central systems, he would halt the machines from
  21. >the front panel, toggle in the changes in memory and AC/L, then continue.
  22. >(And then, of course, document the fix... :')  From talking with him
  23. >on numerous occaisions, I have no reason to doubt the stories.
  24. >Rich, if you're out there, many thanks.  The environment you provided
  25. >was one of the single greatest influences on my professional skills.
  26. >
  27. >These kids today just don't know what they're missing.
  28.  
  29. Richard Karhuse was well known years ago to the PDP-8 world.  In all fairness,
  30. I don't think he would put himself in the category you do, but was well known
  31. for some really good stuff on the -8 and related peripherals.  Rich took a
  32. bunch of us for a "tour" during one of the Chicago DECUS Symposiums around 1980
  33. so I know all about that configuration.  It's partially based on stuff done
  34. by others (me too), the largest being done in Atlanta by the people responsible
  35. for documenting the early changes to Focal, 1969 emanating from Georgia Tech.
  36. DEC actually published some of their stuff, although nothing about the
  37. Local Area Networks of the day.  (Let's just say that at least 4 or 5 of us
  38. simultaneously reinvented this wheel :-).  Some of us even had enough access
  39. to carry it out in various institutions.)
  40.  
  41. Rich is best known in the "greater" -8 world for two related items:
  42.  
  43. A viable RX01 system and non-system handler that uses a kludge so that a
  44. system can be built using the standard RX01 bootstrap in spite of the
  45. fact that the handler format (8-bit) is incompatible with the proscribed
  46. boot, which eventually was put into hardware.  There were other 8-bit
  47. handlers, some produced merely to be compatible with other systems (WPS,
  48. COS, etc.), but only Rich's was bootable.  (Part of this problem is caused
  49. by limitations in the OS/8 system build process; in P?S/8 I had to invent
  50. a special-purpose routine concept for initializing a system at system
  51. generation time to overcome a parallel situation in P?S/8.)
  52.  
  53. The other thing has to do with the crux of a problem with virtually all
  54. RX01/02 code:
  55.  
  56. Rich forced DEC to document the existence of the write-protect hardware of
  57. the RX01, and made DEC write up the instructions to implement it in the
  58. drive.  The RX01/RX02 pocket Reference Card page two now clearly shows
  59. that bit[8] of the Error and Status Register means Write-Protect Error.
  60. On drives Rich modified, etc., if you place a diskette in with the notch
  61. area uncovered (this is backwards to newer floppies, but the identical
  62. concept), the disk can't be written on.  These modified DEC drives do
  63. implement this form of protection; reading the status register on the RX01
  64. confirms the diskette is protected.
  65.  
  66. The problem is that before Rich's efforts to get the bit documented occurred,
  67. DEC published a work of misinformation: the RX02 programmer's manual.  This
  68. defective book claims that bit[8] of the register means "drive is RX02 type"
  69. and is a 1 on all RX02, as if this was supposed to mean something useful.
  70.  
  71. The problem is that when you program an RX01 in 8-bit mode, you don't do
  72. anything "special" to deal with it, yet if you want to read/write the 
  73. same single-density diskette on an RX02, you are obliged to slightly change
  74. the interface protocol.  Instead of just sending the command with the 8-bit
  75. mode bit set, you are obliged to wait for the transfer flag to raise, then
  76. to send an additional byte via the XDR instruction (0000 value, but it must
  77. be sent, and on the RX01 it must be *not* sent).  Note that in 12-bit mode,
  78. none of this applies, so generally it only comes up in special handlers,
  79. conversion programs such as RTFLOP and WPFLOP, etc., while most standard
  80. DEC handlers are devoid of esoteric error handling, thus have no concern
  81. over these matters; their code runs equally (poorly) on RX01 or RX02.
  82.  
  83. So, guided by the misinformation in the manual, virtually all programmers
  84. who wanted to support the RX02 inserted a test for RX02, consisting of
  85. checking for this bit[8] being a one.  But this is *not* useful information
  86. because:
  87.  
  88. 1)    An RX02 operating as an RX02 is not the only case where this bit
  89. sets.  An RX02 emulating an RX01 still sets this bit!
  90.  
  91. 2)    An RX01 with the write-protect feature implemented shows this bit
  92. if either the drive is not ready and has no diskette mounted, or has a
  93. ready diskette with the notch hold uncovered, and thus protected from
  94. writing.
  95.  
  96. 3)    The DSD-210 RX01 superset supports all of the above, and also has
  97. individual drive write-protect switches that supersede the write protects
  98. of the media on a temporary basis.
  99.  
  100. So, software intending to "trust" this bit, generally fails to function 
  101. when the hardware turns out to be other than an RX02 in native mode.
  102.  
  103. There has been tremendous resistance to these simple facts over the years, 
  104. because people keep pointing to the info in the RX02 reference manaul as
  105. "sacred" rather than a naive mistake.  Rich Karhuse helped to dispell this
  106. set of mistakes, and thus allowed fixes to take place in other software.
  107.  
  108. The current P?S/8 system and non-system handlers partially consist of code
  109. defensive to this issue.  IF a drive is suspected of being a write-protect
  110. problem, the handler tests if the drive is actually an RX02, rather than a
  111. lessor model where the RX01-type code is possibly usual, albeit in a more
  112. inefficient manner.
  113.  
  114. Rich's work in getting to the truth of the situation has contributed to
  115. the overall "quality" of the RX line, including RX50's on DECmates, etc.
  116.  
  117. cjl
  118.  
  119.