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 / IMPDSC.FIX < prev    next >
Text File  |  2000-06-30  |  2KB  |  52 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. ==========
  8. IMPDSC.FIX
  9. ==========
  10.  
  11.  
  12. A Fix for the Disconnect Routine in IMP 2.44
  13.  
  14.  
  15.  
  16. Larry Davis of Glendale LITTERA seems to have found a solution to what he 
  17. rightly calls an "irritating quirk" of IMP - a reluctance to disconnect when 
  18. the remote is sending data, or worse, after the remote disconnects and IMP 
  19. starts reading line noise as transmitted data.  IMP users have had to get used 
  20. to switching their modems off to disconnect.
  21.  
  22. Here is Larry's proposed fix: in the IMP overlay three are four instructions 
  23. in the GOODBYE routine that delay the disconnect routine.  
  24.  
  25.         mvi     b,'S'-40h       ; send a ^S to stop the remote
  26.         call    j$sndchr        ; this is where Larry thinks it hangs
  27.         mvi     b,1
  28.         call    j$timer
  29.  
  30. He believes that deleting or commenting out these instructions will permit 
  31. instant disconnect, no matter what the modem is "receiving."  For those who 
  32. would rather do a quick patch than a reassembly, here's how I did it.  The 
  33. code breaks down to
  34.  
  35.      06,13,CD,nn,nn,06,01,CD,nn,nn
  36.  
  37. A search for 06,13,CD finds this pattern twice, once for a disconnect by ^N, 
  38. and again for DSC.  I found the first instance starting at the last byte in 
  39. sector 2 (for me, anyway, 01FFh) and the second time in sector 89 - I found it 
  40. at 2D52.  Zeroing out the ten bytes in both instances allows you to test 
  41. Larry's theory with a minimum of hassle.  Make note of the actual bytes shown 
  42. here as nn in case you run into trouble and want to restore the byte strings.  
  43. (In my version of IMP the bytes were 8C,01 and 92,01, or addresses 018Ch for 
  44. J$SNDCHR and 0192h for J$TIMER.
  45.  
  46.  
  47. Fred Haines
  48.  
  49. Glendale LITTERA
  50. 818-956-6164
  51. Abel Iwaz, sysop
  52.