------------------
TO CLEAR CMOS RAM

debug 

o 70,2E 

o 71,0 

q
------------------

      CMOS.COM   v0.93   10-12-1996   Charles Dye   raster@highfiber.com


Another CMOS save and restore program.  No, this is not a particularly
original concept.  Why am I offering mine to the public?  First, it saves
and restores all 114 bytes of CMOS memory; many older programs only save
the first 50.  This used to be Not A Big Deal, but many BIOS manufacturers
are now using the 'high' 64 bytes to store important stuff.  Second, it's
freeware.  I hope you find it useful.


CMOS /SAVE filename

    Save CMOS to file "filename".  If you don't specify "filename", the
    default is CMOS.SAV.  You may use /S instead of /SAVE, or /BACKUP /B
    /WRITE or /W.  I don't really care about the switch character either;
    -S or even just S will do it.

CMOS /LOAD filename

    Load CMOS memory from "filename" and reboots.  Again, the default
    filename is CMOS.SAV.  You may also use /L or /RESTORE or -R.  Nobody
    loves a syntax fascist.

CMOS /VER filename

    Verifies the contents of CMOS against a file.  /V or /COMPARE or /C is
    okay here.  In a batch file, ERRORLEVEL 7 indicates a mismatch between
    CMOS and file.

CMOS /DUMP

    Dumps current contents of CMOS to the screen (or to STDOUT) in hex.
    Useful only to hexperts.


My CMOS file format is different from everyone else's; you can't share data
files between my CMOS.COM and SAVECMOS.EXE or ROM2.EXE.  Mine requires a
special file header to prevent you from trying to load, say, AUTOEXEC.BAT
into CMOS, and to guarantee file integrity.


NOTE:  I have a report of possible problems with Pentium motherboards
using an Intel 430HX chipset.  It may be awhile before I get my hands on one
of these boards to try to isolate/fix the problem.  At any rate, regardless
of your exact motherboard, I'd strongly recommend that you test this utility
to determine whether it can correctly save and restore your CMOS -- before
it becomes an emergency!  If you're not familiar with configuring your
computer's CMOS, get someone knowledgable to help you with this.

raster@highfiber.com
