A

RESTORE_NVRAM and SAVE_NVRAM

 

A.1 Save NVRAM data in EEROM/TOY to a floppy file.

Save the system NVRAM data from 8KB EEROM and last 50 TOY RAM bytes onto a write-UN-locked FAT formatted floppy to a file. By default, if no script argument is specified, all NVRAM is saved to file ALLNVRAM.SAV. If the file already exists, then a copy of the original file is made to *.BAK. If that file exists, it is overwritten. Note, attempts to write to a write-locked floppy fail silently.

Syntax

save_nvram {all,arc,srm,toy}

Arguments

group

Specifies the group of NVRAM data to be saved. One of the following:

all : All of the 8KB EEROM and 50 bytes of TOY RAM are saved in file allnvram.sav. This is the default, if no argument is specified.

arc : ARC (AlphaBIOS) data in first 6KB of the 8KB EEROM is saved in file arcnvram.sav.

srm : SRM console data in last 2KB of the 8KB EEROM is saved in file srmnvram.sav.

toy : TOY console data in the 50 bytes of TOY RAM is saved in file toynvram.sav.

Examples

To save all the system NVRAM to an image on floppy:

>>> save_nvram

Save all NVRAM data to file fat:allnvram.sav/dva0.0.0.1000.0. If file already exists, first copy original to a .bak file. Please insert a write-UN-locked, FAT formatted floppy...

...and enter "y" and press Return to continue.

y

Checking for a FAT formatted floppy...

...Found it.

Checking for existing fat:allnvram.sav/dva0.0.0.1000.0...

...Found one.

Copying fat:allnvram.sav/dva0.0.0.1000.0 to .bak file...

...Succeeded.

Copying all NVRAM to fat:allnvram.sav/dva0.0.0.1000.0...

...Succeeded.

>>>

A–1

Page 37
Image 37
Compaq 4100 manual Restorenvram and Savenvram, Save Nvram data in EEROM/TOY to a floppy file