home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / apple2 / 23848 < prev    next >
Encoding:
Internet Message Format  |  1992-11-14  |  7.3 KB

  1. Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!cs.utexas.edu!gateway
  2. From: Brendan_Hoar@notes.pw.com
  3. Newsgroups: comp.sys.apple2
  4. Subject: CTS Stuff...
  5. Date: 13 Nov 1992 09:48:01 -0600
  6. Organization: UTexas Mail-to-News Gateway
  7. Lines: 162
  8. Sender: daemon@cs.utexas.edu
  9. Message-ID: <9211131547.AA14279@pwtc.tc.pw.com>
  10. NNTP-Posting-Host: cs.utexas.edu
  11.  
  12.  
  13. ARGH!
  14.  
  15. From: t_captain@bluemoon.rn.com (Tc Wilson):
  16. >Date: Thu, 12 Nov 92 08:00:59 EST
  17. >
  18. >irsman@iastate.edu (That Ian Guy) writes:
  19. >
  20. >> Brendan, in further testing, has ascertained that TI buffer chips are also
  21. >> defective for CTS tracking.  Thus, if your chips are TI you may wish to 
  22. follo
  23. >> the procedure outlined in the previous posting.  The good news is, that
  24. >> Greg Scheafer has written new drivers for PT3 which eliminate the problem 
  25. eve
  26. >> on systems with bad chips.  Watch this space for more details.
  27. >>
  28. >
  29. >
  30. >Right, and where do you think he got the idea from?
  31.  
  32. Not from you.
  33.  
  34. Anyway, I didn't get the idea - Greg did.  There were various ideas to be 
  35. tested:
  36.  
  37. -rw-brd 0000 bin     20992 Sep 20 17:47 1992 pt3.code0rlse 
  38. The latest released version.  Has the CTS problem on some GSs.
  39.  
  40. -rw-brd 0000 bin     20992 Sep 20 17:47 1992 pt3.code0txt 
  41. With a byte zapped patch to display the status of CTS in the status bar.  
  42. This  is a kludge, & also ignore the date on the file.  This helped us track 
  43. down what was going on.
  44.  
  45. -rw-brd 0000 bin     20992 Sep 20 17:47 1992 PT3.CODE0 
  46. The version I'm using now on both my GSs.  Same as the first one.
  47.  
  48. -rw-brd 0000 bin     20992 Oct 28 18:56 1992 pt3.code0delay 
  49. This didn't fix the problem.  The delay was high enough that the modem's 
  50. buffer never overflowed when CTS went low under normal circumstances but the 
  51. GS was still sending a large number of characters to the modem when CTS went 
  52. low.  If a retrain ocurred or CTS went down for a long time for other 
  53. reasons, my guess is that this one would fail.
  54.  
  55. -rw-brd 0000 bin     21248 Oct 28 21:32 1992 pt3.code0samp
  56. This had a result similar to the last one.  CTS was sampled a number of times 
  57. (3?) and then if any of the reads were low, it was sampled again.  This was 
  58. doomed to fail.  Again, it WORKED (no chars were lost), but it let through 
  59. even more characters than the previous driver.  A retrain,etc would kill it.
  60.  
  61. -rw-brd 0000 bin     20992 Nov  5 18:31 1992 PT3.CODE0delsam
  62. This contains the second version of the 'delay & sample' driver.  The first 
  63. one had a logic bug ('Infinite CTS response' - CTS goes down, and the GS 
  64. needs  to be rebooted to continue transferring data...), but Greg didn't know 
  65. about it for about 4 days since:
  66. a) He doesn't have an answering machine - only a fax - and I don't have any GS
  67. fax software (I do have the fax modem, so I'm in the market for the 
  68. software...).
  69. b) He's been in 'programming mode' on ProTerm for the Mac and hasn't been
  70. logging into the InSync BBS regularly (but when he does, he responds to all 
  71. the
  72. posts).
  73. Anyway, this last driver works.  Unfortunately, another bug appeared and this 
  74. one
  75. may leave the PRINTER port in an unknown state.  Not good.  He's got that 
  76. fixed and will put up another driver soon for beta testing (he may have 
  77. already - I didn't check last night).
  78.  
  79. >
  80. >Hint: I've had this problem solved software wise sunce late spring.
  81.  
  82. You mentioned on IRC (this was after I'd been testing Greg's delay driver and 
  83. Greg's sample driver, & possibly after the second delay&sample driver - I 
  84. don't recall) that you had to program 'an idiot timing loop' (or something 
  85. like that).  Thats all you told me.  I've never seen your software before.  
  86. You may have fixed the problem first.  I'll accept that.  Whatever.  Greg 
  87. came up with his solution independantly of yours.  Just to keep the record 
  88. straight.
  89.  
  90. >
  91. >
  92. >Tc Wilson/The Captain           "Programming is an art form
  93. >t.captain@bluemoon.rn.com        that fights back."
  94. >.... or try: TCQ, The Captain's Quarters (614) 488-8401, 300-38400 hst
  95.  
  96. Also on a similar subject...
  97.  
  98. >Subject: Re: ATTENTION high-speed modem users!
  99. >From: mdavis@crash.cts.com (Morgan Davis)
  100. >Date: 13 Nov 92 06:44:13 GMT
  101. >
  102. >In <1992Nov12.022902.16202@netcom.com> tbc@netcom.com (Mike Garvey) writes:
  103. >
  104. >>Paul "The Oggman" Parkhurst says that the cable he mentioned in his "HST
  105. >>Speed" articles (described below) neatly sidesteps this problem with the
  106. >>CTS signal and the HSKi line; this cable basically uses the GPi line to
  107. >>support the CTS signal. Is it possible that more software (PT3, METAL,
  108. >>ProLine/ModemWorks, GNO's drivers) be modified to work with this cable?
  109. >
  110. >Its doubtful that ModemWorks (which ProLine uses) would be able to work
  111. >with this configuration because ModemWorks uses the Extended Firmware
  112. >routines in the Apple IIGS's serial interface.  You'd basically have to
  113. >rewrite the ROMs to do this.  On the other hand, I've not heard of any
  114. >ModemWorks-based systems having any trouble with hardware flow control.
  115.  
  116. Interesting.  How often is hardware flow control exercised with MW3.0?  To 
  117. cause it to occur would require a situation like this.  Pro-line's port rate 
  118. at a higher rate  than the caller has his/her port rate set to or higher than 
  119. the modem can move the data, & a Zmodem download to a system that can't 
  120. handle the speed.  Oh wait - does ModemWork's Zmodem stream (keep sending 
  121. until naks appear - regardless of lack of acks) or does it have a relatively 
  122. small window size?  If the latter, then flow control might almost never be 
  123. exercised...
  124.  
  125. >
  126. >This may be because the IIGS firmware uses the CTS transition interrupt
  127. >rather than polling the CTS signal as do many programs that go right
  128. >to the metal in dealing with the 8530 directly.
  129.  
  130. PT3 has two GS modem port drivers.
  131.  
  132. Apple IIGS Modem Port:
  133. Greg calls this driver 'blood thirsty'.  Its the 'fastest', but on a Zipped 
  134. system at least, I can't tell the difference.  It uses the SCC's CTS 
  135. transition interrupt rather than polling the CTS signal just as Morgan says 
  136. the Firmware does.  It fails on a number of GS's we have here, and works on 
  137. others.  Depends on the 26LS32 installed in the machine.
  138.  
  139. Apple IIGS Modem Port (GS/OS):
  140. This driver uses polling of the CTS signal.  This also fails on a number of 
  141. GS's we have here.  However, by adding the delay&sample to this driver, it 
  142. now works.  It would be impossible to make the other driver do that since 
  143. there is no way to change the SCC's internal logic.
  144.  
  145. Of course, both of the above drivers work on GSs that have had the pull up 
  146. resistor installed on the 26LS32.
  147.  
  148. I have a hunch that the firmware would fail CTS flow control on those GSs we 
  149. have had problem with.
  150.  
  151. Anyway, there's an easy way to test if your GS has the CTS problem that 
  152. requires.
  153.  
  154. PT3
  155. a GS with the correct cable on the modem port
  156. a small wire
  157. the appropriate macro (Which is at HOME - I'll attempt to post it tonight).
  158.  
  159. Basically there is a macro that calls a PT3 macro command to get data from 
  160. the SCC.  It reports either "CTS is high" or "CTS is low" and scrolls thru 
  161. them on the screen, maybe 10 times a second.
  162.  
  163. If you attach a wire between pins 2 and 5 on the end of the GS cable (the 
  164. RS232 end), you will force the TXD output (Which will the negative - since no 
  165. chars are being sent) into the the CTS input.
  166.  
  167. If the macro prints 'CTS is Low' over and over again, your GS probably does 
  168. not have the problem.
  169.  
  170. If the macro prints 'CTS is Low' and 'CTS is High' alternately, the you 
  171. probably have the problem.
  172.  
  173. Anyway I'll post the macro from AO tonight.
  174.