home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / library / slowdown / cdtrap.doc < prev    next >
Text File  |  1987-09-21  |  1KB  |  45 lines

  1. CDTRAP.COM -- Carrier Loss Trap for PClones  18 Sep 87
  2.  
  3.     Tom Jennings
  4.     Fido Software
  5.     164 Shipley
  6.     San Francisco CA 94107
  7.  
  8. CDTRAP is a program used to monitor the modem whileì
  9. "outside" the Fido system, and reboot the system if carrierì
  10. is lost.
  11.  
  12. The assumption here is that you are using Fido's O)utside orì
  13. E)xitDOS command for sysop-only access to DOS commands.ì
  14. Without CDTRAP or a similar program, if you wereì
  15. disconnected for some reason, your computer would ì
  16. mindlessly wait for the next command, but since Fido is noì
  17. longer in control it would sit there until you manuallyì
  18. rebooted the machine.
  19.  
  20. (Previous Fido versions would give the NEXT PERSON WHOì
  21. CALLED IN access to your DOS.)
  22.  
  23. CDTRAP is easy to use: in your batch file (see sampleì
  24. "RUNFIDO.BAT" on Fido Software's BBS) you install CDTRAPì
  25. before you run COMMAND.COM; before you exit to Fido, you un¡
  26. install CDTRAP.
  27.  
  28.  
  29.     CDTRAP            ;installs it
  30.  
  31.     CDTRAP R        ;removes it
  32.  
  33. When CDTRAP is run, it first checks to see if was installedì
  34. previously; if so, it turns that previous copy "ON" or "OFF"ì
  35. as indicated. Only if there is no CDTRAP resident does itì
  36. install itself in memory.
  37.  
  38. CDTRAP as supplied inserts itself into the PClones timerì
  39. tick, and monitors the modem status port of COM1 every tick,ì
  40. or 55mS. If carrier is lost it causes the system to reboot.
  41.  
  42. To use CDTRAP with COM2, or a non-PClone machine, you willì
  43. need to edit and reassemble the program.
  44.  
  45.