home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 147.img / PCB142D3.TD0 / WATCHDOG.DOC < prev   
Text File  |  1989-12-11  |  2KB  |  68 lines

  1. WATCHDOG.COM and WATCHDG1.COM
  2.  
  3. Written by James R. Reinders, minor modifications by Jim Kovalsky.  Contact either through The Sailboard, Highland, MI  (313) 887-7429
  4.  
  5. Purpose:
  6. --------
  7.  
  8. To monitor the carrier status on the desginated serial port, and re-boot the machine if carrier is dropped.  This reset WILL include the power-on self-test.
  9.  
  10. Designed specifically for use with Bulletin Board systems allowing remote users to exit to DOS, but not capable of monitoring the carrier.
  11.  
  12. Prevents the unwanted situation of a caller dropping to DOS and accidentally (or not!) disconnecting, leaving the system 'hung' until a manual re-boot can be executed.
  13.  
  14. Implementation:
  15. ---------------
  16.  
  17. Use WATCHDOG.COM to protect COM2: and WATCHDG1.COM to protect COM1: (The original version was for COM2!)
  18.  
  19. For correct usage, the following must be true:
  20.  
  21. 1)  Your AUTOEXEC.BAT file must be set to start your Bulletin Board
  22. 2)  WATCHDOG MUST be activated and deactivated as instructed below
  23.  
  24.  
  25. Installation:
  26. -------------
  27.  
  28. If your batch file to change the serial port into the console is RCTTY.BAT, and it returns control to RBBS.BAT when it has finished, it MUST be set as follows:
  29.  
  30.  
  31.  
  32. WATCHDOG ON
  33.  .
  34.  .
  35.  . Whatever commands you have
  36.  .
  37.  .
  38. WATCHDOG OFF
  39. RBBS
  40.  
  41.  
  42.  
  43.  
  44. The first line installs and activates watchdog, and the second-from-bottom line deactivates watchdog.  WATCHDOG MUST BE TURNED OFF OR IT WILL RESET THE SYSTEM WHEN THE CALLER HANGS UP, EVEN IF HE HAS RETURNED TO THE BULLETIN BOARD!
  45.  
  46.  
  47. Command Line Options:
  48. ---------------------
  49.  
  50. WATCHDOG ON
  51.    .......... Activates, will also install if not already resident
  52.  
  53. WATCHDOG OFF 
  54.    .......... Deactivates and remains resident if previously installed, installs and leaves inactive if not already loaded.
  55.  
  56.  
  57. Notes:
  58. ------
  59.  
  60. Any utility that uses the clock interrupt will cause Watchdog to malfunction.  Watchdog checks the carrier status with each cycle of the clock, (18.2 times per second) and if any other clock interrupts are executed AFTER installing Watchdog, it can no longer make IT'S interrupt!
  61.  
  62.  
  63. Distribution:
  64. -------------
  65.  
  66. This program is in the Public Domain, feel free to copy and distribute it.  Please DO NOT distribute any modified versions or alter any credits.  Any suggestions or improvements should be addressed/uploaded to James Reinders on The Sailboard, Highland, Mi  (313) 887-7429 [300/1200, 24 hours]
  67.  
  68.