home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / IMP / IMP244.PAT < prev    next >
Internet Message Format  |  2000-06-30  |  4KB

  1. From : Irv Hoff
  2. Date : 01 Oct 85
  3. Topic : IMP244 and DTR
  4.  
  5.      Nearly all modems permit using an external DTR voltage on their
  6. RS-232 pin 20.  This is the method by which the operator can
  7. intentionally disconnect the modem when finished.  By either shutting
  8. off that DTR voltage (or momentarily dropping it), the modem
  9. disconnects.
  10.  
  11.      Some computers (such as the Osborne OS-1) do not have this external
  12. voltage without making an internal change to the wiring.  A few modems
  13. (notably the Anchor Mark XII) do not permit using this external voltage.
  14. They do, however, use a software feature that can disconnect the modem:
  15.  
  16.      (1 second pause) +++ (1 second pause)
  17.  
  18.      IMP244 now has an option not previously offered.  I used one of the
  19. spare bytes (address 011E, named SPARE2 on each overlay) to control this
  20. option.  If left 00, IMP drops DTR and expects you to have pin 20 of the
  21. computer hooked to pin 20 of the modem.  This disconnects the modem
  22. almost immediately.
  23.  
  24.      If you have a modem that does not support pin 20 DTR (or for some
  25. reason you have not - or prefer not to hook up this wire) you can put FF
  26. (anything other than 00) at byte 011E.  You can put this byte in the
  27. overlay itself at the label called SPARE2.  I suggest you then make that
  28. read NODTR rather than SPARE2.  You can also make the change to IMP244
  29. with DDT, then save 72 pages.
  30.  
  31.      Changing this byte 011E to FF (or anything other than 00) then
  32. substitutes the "pause +++ pause" for the DTR routine.  It disconnects
  33. the modem from the phone line as does dropping DTR - just takes somewhat
  34. longer is all.  (This only works for modems that use the Hayes "AT"
  35. protocol.)
  36.  
  37.                                         - Irv Hoff
  38.                                         Los Altos Hills, CA 94022
  39.                                         (415) 948-2166
  40.  
  41. ====================================================================
  42.  
  43. Subject : IMP244 bell suppression
  44. Date : 08 Nov 85
  45. From : Irv Hoff
  46.  
  47.      Some people don't want to hear the bell ring on incoming text copy
  48. when using a modem program.  (Some systems do seem to ring the bell a
  49. lot, especially when receiving the end of a line, etc. in edit mode.)
  50.  
  51.      If you do not want the bell to work on incoming copy in terminal
  52. mode make this change with DDT, then save 72 pages:
  53.  
  54. (ORIGINAL) 1FBC CA 3D 14
  55.  
  56. (NO BELL) 1FBC C3 00 0B
  57.      0B00 CA 3D 14 FE 07 CA 3D 14 C3 BF 1F
  58.  
  59.      You might want to call this by a different name, while you try out
  60. the results, etc.
  61.  
  62.                                         - Irv Hoff
  63.                                         Los Altos Hills, CA 94022
  64.                                         (415) 948-2166
  65.  
  66. ====================================================================
  67.  
  68. IMPDSC.FIX
  69.  
  70.      A Fix for the Disconnect Routine in IMP 2.44.
  71.  
  72.      Larry Davis of Glendale LITTERA seems to have found a solution to
  73. what he rightly calls an "irritating quirk" of IMP - a reluctance to
  74. disconnect when the remote is sending data, or worse, after the remote
  75. disconnects and IMP starts reading line noise as transmitted data.  IMP
  76. users have had to get used to switching their modems off to disconnect.
  77.  
  78.      Here is Larry's proposed fix: in the IMP overlay three are four
  79. instructions in the GOODBYE routine that delay the disconnect routine.
  80.  
  81.      mvi   b,'S'-40h  ; send a ^S to stop the remote
  82.      call  j$sndchr   ; this is where Larry thinks it hangs
  83.      mvi   b,1
  84.      call  j$timer
  85.  
  86.      He believes that deleting or commenting out these instructions will
  87. permit instant disconnect, no matter what the modem is "receiving".  For
  88. those who would rather do a quick patch than a reassembly, here's how I
  89. did it.  The code breaks down to
  90.  
  91.      06,13,CD,nn,nn,06,01,CD,nn,nn
  92.  
  93.      A search for 06,13,CD finds this pattern twice, once for a
  94. disconnect by ^N, and again for DSC.  I found the first instance
  95. starting at the last byte in sector 2 (for me, anyway, 01FFh) and the
  96. second time in sector 89 - I found it at 2D52.  Zeroing out the ten
  97. bytes in both instances allows you to test Larry's theory with a minimum
  98. of hassle.  Make note of the actual bytes shown here as nn in case you
  99. run into trouble and want to restore the byte strings.  (In my version
  100. of IMP the bytes were 8C,01 and 92,01, or addresses 018Ch for J$SNDCHR
  101. and 0192h for J$TIMER.
  102.  
  103. Fred Haines
  104.  
  105. Glendale LITTERA
  106. 818-956-6164
  107. Abel Iwaz, sysop
  108.