Programs contained in this LZH file; LASTBOOT.PRG, LASTBOOT.TXT & MEDREZ.PRG 09/11/93 GEnie Address: K.MEIERE1 LASTBOOT.PRG v1.0 is an AUTO folder program which records system information about the last five times your computer was turned on or reset. This program is useful because it; * Time & date stamps when your system was turned on, rebooted, crashed, etc. * Effectively records electrical power failures with 24 hour use (i.e. BBS) * Calculates the total amount of computer 'up-time' * Displays unauthorized system usage of other users TO SETUP THE PROGRAM -------------------- 1) Place LASTBOOT.PRG in the AUTO folder on the C:\ drive. The AUTO folder order should not cause any problems as long as LASTBOOT is not towards the very end of the order. (Use some type of a rearranging program to change the program order if booting problems occur. Placing LASTBOOT.PRG towards the beginning of the AUTO folder is usually best. (FONTGDOS v2.0 10/90/91 interferes with this program if LASTBOOT.PRG is placed after FONTGDOS.PRG) 2) During AUTO folder program startups, your desktop default needs to boot into the Medium Rez mode (If there is not already a program in the AUTO folder before LASTBOOT.PRG which sets the Medium Rez mode, use the supplied MEDREZ.PRG and put it in the AUTO folder before LASTBOOT.PRG) 3) The very first time this program is run it will create a file called C:\LASTBOOT.INF. Press or when prompted. This small data file is written to the C:\ drive root partition and is updated whenever; the computer is turned on (cold-boot), the reset button is pressed (warm-boot), a minor system crash occurs (warm-boot), or a major system crash occurs (cold-boot). The program will not work without this file. USING THE PROGRAM AND INTERPRETING THE DISPLAY ---------------------------------------------- 1) The program will automatically time-out after five seconds 2) Pressing will exit the program immediately 3) Pressing the will pause the program and hold the screen for viewing the display. Pressing the again acts as a toggle switch to turn the pause mode on/off. Pressing will exit the program during the pause mode 4) Screen Display: Hours ---ª ©--- Minutes Days ------ª | | ©-------- Seconds | | | | Current DATE/TIME 08/27/93 1:56am D HH MM SS line 0 ____________________________________________________________ Last System Reset 08/27/93 1:27am |warm-boot| 0 00:29:34 line 1 ____________________________________________________________ 08/27/93 9:31am |warm-boot 0 08:04:55 line 2 08/24/93 4:10am |warm-boot 3 05:21:32 line 3 08/24/93 7:07pm |ðððCðOðLðDððBðOðOðTððð <---| line 4 08/24/93 1:02am |warm-boot 0 05:05:17 | line 5 _____________________________________________________________ | Timeout @ 0 33 exit = pause = | _____________________________________________________________ | | |----------------------------------------------------- | | No 'up-time' is calculated here because the computer | | was turned off or a major system crash occurred | |--------------------------------------------------------| The above example displays the last five system re-boots, power-on's, etc.... line 0 - Current date and time line 1 - Displays the elapsed up-time since the last warm-boot which is the current date of 08/27/93 1:56am minus 08/27/93 1:27am, a difference of 29 minutes 34 seconds line 2 - 8 hours 4 minutes 55 seconds difference between line 1 and line 2 line 3 - 3 days 5 hrs 21 mins 32 secs difference between line 2 and line 3 line 4 - Displays COLD BOOT message. No up-time information is available line 5 - Displays the up-time difference between line 4 and line 5 MISC. DETAILS ------------- 1) Your hard drive should boot from drive C:\ 2) Your computer should have a battery operated internal/external clock 3) The LASTBOOT.INF file is a simple ASCII information file which consists of five groups of 3 lines with recorded system info (fifteen lines total). The format is as follows; 28.08.1993 <----- The last recorded system date in day, month, year 14:06:02 <----- The last recorded system time in hours, minutes, seconds 47671 <----- The last recorded time interval (GFA Internal Clock Timer) Formula: (INTERVAL1-INTERVAL2)/200=ELAPSED TIME IN SECONDS If elapsed time resultant is negative, a COLD-BOOT is recorded and no elapsed 'up-time' will be displayed on the screen . plus another 12 lines of repeating data for 2nd, 3rd, 4th & 5th last re-boots