home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / library / slowdown / cdtrap.do2 < prev    next >
Text File  |  1989-08-06  |  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.