Sleep Manager For Windows NT 4.0 ================================ Sleep Manager utility allocates free contiguous disk space for storing BASE MEMORY, EXTENDED MEMORY, VIDEO MEMORY, and SM RAM. The reserved disk space is for system use only. (This space is no longer accessible to the user). When most of the power is removed from the computer, (e.g. due to hibernation timer time-out) the system swaps all memory images and saves all system status information into these disk spaces. When you resume the computer from hibernation mode, the computer will return to its previous state. If you do not run this program to allocate the required disk spaces, hibernation will not work. Once this program is executed, the computer will have the hibernation feature and you do not need to run this program again except when the data in CMOS is lost or corrupted. If the program cannot find the required disk spaces, it shows the error message "Not enough disk space for allocation". The disk may have enough free spaces but these free spaces exist as small fragments. In this case, you can use tools such as Diskeeper Lite for Windows NT 4.0 or Defrag (DOS 6.0 or above) to compact your free disk spaces. Then run this program again. The reserved disk space can be either in the form of a file or partition. Creating the partition results in loss of data on the disk. Creation or deletion of partition is supported only in MS-DOS not under Windows NT 4.0 Command Line Syntax: -------------------- This utility, Sleep Manager, is provided for both DOS-based and Windows- based user. The command line syntax for DOS-based user is as follows. sleepmgr [ [ /HELP | /? | /CREATE[=size] | /DELETE] [ /FILE[=size] | /PARTITION[=size]] ] All these options are not case sensitive. For all options, only the first letter of the option can also be specified. This program has two paramaters. The first parameter specifies the action to be taken (create or delete or help) and the second parameter specifies which form of reserved space to be created or deleted. The first parameter is optional and can take either of the following options. /HELP or /? : This option shows a help screen briefly describing the usage of the parameters. If this option is specified, the second parameter is not required. /CREATE=size : (Note: Unit of the size in KB) Allocates contiguous disk space for swapping memory image and saving system registers. We suggest that you allocate the required disk spaces before you start using your PC. You may specify the size of the disk space which you want to allocate. If the size value you assigned is less than the system memory size, the program will use the system memory size instead. If the size value is not specified the program will take the system memory size by default. The program will add additional disk spaces for VIDEO MEMORY, SM RAM, and HEADER information whose sizes are described in NOTICE below. The contiguous disk space is allocated in the form of file or partition, depending upon the second parameter as described further. If the second parameter is not specified, it allocates the free space in the form of file by default. If the reserved space (file or partition) of required size is already existing, the file is not created again. The size value specified is greater than the exising reserved space, the program will reallocate the disk space based on the new size you specify. If the data in CMOS is lost or corrupted and you run this program with /CREATE parameter, the program will auto-detect and then allocate the disk space. /DELETE : Use this parameter to free the disk space allocated by the program. It deletes the allocated file or partition depending upon the second parameter. If the second parameter is not specified, it deletes the file (and not partition) by default. The second parameter is optional and can take either of the following options. /FILE=size : (Note: Unit of the size in KB) If the first parameter in command line is '/create' then this parameter is used to allocates contiguous disk space in the form of a file. If the first parameter is '/delete', this option deletes the file which was created to store the memory images. If the first parameter is skipped (i.e. '/file' is specified as a first parameter), then the file is created by default. /PARTITION=size : (Note: Unit of the size in KB) If the first parameter in command line is '/create' then this parameter is used to allocates contiguous disk space in the form of a partition. If the first parameter is '/delete', this option deletes the partition which was reserved to store the memory images. If the first parameter is skipped (i.e. 'partition' is specified as a first parameter) then the partition is created. This option is not supported when the program is running under Windows NT. If the command line is specified without any parameters, the program displays the information about the reserved space. The following is the list of error messages displayed in failure cases. 1. Too many parameters in the command line. 2. Invalid parameter (s) in the command line. 3. Size value error. 4. Reserved area already exists. 5. No reserved disk space is found. 6. No file is deleted. 7. The BIOS Version is compilant to Sleep manager. 8. None of the hard disk drive is available. 9. The ASTDK file is found on a compressed drive %c and will be removed. 10. Not eoungh memory. 11. Not eoungh disk space. 12. Cannot acquire the DPB informtion Notices: 1. To install Sleep Manager in Windows NT 4.0, you can run 'Setup.exe' from the diskette that contains Sleep Manager and follow the instructions to complete the installation. 2. To uninstall Sleep Manager in Windows NT 4.0, click the 'uninstall' option in Sleep Manager folder of Start Menu. 3. If you do not specify any paramater when you run Sleep Manager under DOS prompt, and you have already generated reserved area in your hard disk, this utility will prompt you current size of reserved area. 4. Reserved areas are stored in the format of SYSTEM/HIDDEN/READ_ONLY File in Hard Disk. 5. While using /CREATE parameter for creating reserved disk spaces, this program will add more values, including VIDEO MEMORY, SM RAM and HEADER information, to the size value that you assign. Default values for these items are: VIDEO MEMORY : 1024KB SM RAM : 64KB HEADER : 1 sector of the hard disk used 6. The Dos version of this utility runs under the MS-DOS, Windows NT 4.0 DOS Prompt environment. (Example : OS/2 is not supported.) 7. If your hard disk with reserved area is switched to be used by another machine, you can use SleepMgr command directly on that machine to make BIOS aware of the entry point for the reserved area. 8. If on-board memory size is changed since the last time you executed this program, please resize the allocated disk spaces by either one of the following two methods. a. Using '/C' parameter of this program to release all allocated disk spaces and then reallocate the appropriate disk spaces automatically. b. Using '/D' parameter of this program to reclaim the allocated disk spaces and then '/C' parameter to create the appropriate disk spaces. 9. If you delete the allocated disk space and do not uninstall Sleep Manager, Sleep Manager will still create the hibernation file when a hibernation event occurs (e.g, hibernation timer, hibernation hot key Fn+F7, etc.) 10.Sleep Manager installation will modify Config.nt on your system. 11.System needs to be restarted after installtion of Sleep Manager. 12.File creation and deletion is possible only if the user is having the administrative previleges. 13.Seperate installation programs (setup.exe) are provided for installing Sleep Manager under Windows NT 4.0 and MS-DOS. 14.Partition creation/deletion operations are supported on MS-DOS only. 15.Once the Sleep Manager is installed on Windows NT, the system will always suspend on save-to-disk file (Partition created under MS-DOS is not recognized).