Category : Assembly Language Source Code
Archive   : CMOSSAVE.ZIP
Filename : READCMOS.DOC

 
Output of file : READCMOS.DOC contained in archive : CMOSSAVE.ZIP

The two Assembly Language source programs and their
respective assembled COM files are derived from PC-Magazine,
Volume 6, Number 11, June 9, 1987. Their purpose is to save
CMOS memory storage of PC-AT's setup information into a file
so that when the battery has to be changed, it can be
reloaded without having to use the setup program.
CMOSGET.COM will write the data from CMOS memory to a file
using DOS redirection thusly:

C:>CMOSGET > A:CMOS.DAT

The target diskette in dirve A: should be a boot diskette
with an AUTOEXEC.BAT file that looks like this:

DATE
TIME
CMOSPUT < CMOS.DAT


This diskette should be booted after the AT battery is
replaced. Ignore error messages, and reset DOS time and date
when prompted. The file CMOSPUT.COM, which must be on the
diskette, will reload the setup information previously stored
in the CMOS memory and will reset the CMOS clock to the DOS
clock setting just loaded.

J. L. Wargula 05-17-87 21:22