beautypg.com

5 restoring lost memory – Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 69

background image

Section 4

General Programming

4.27

Line 210

Cautions that all previous macros and log buffer data
will be destroyed.

Lines 290-320

Executes if the user selects 'NO' to the caution.

Line 340

Issues the FACTORY command to reset all buffers.

Line 350

Delays to allow the Micro488/EX to become ready for
more commands.

Line 360

Issues the SAVE command to clear the NVRAM ERROR
condition caused by the FACTORY command.

Lines 370-470

The main program loop. Outputs to the Micro488/EX
every text line in the input file except those lines which
begin with a comment character (*). Comments are
printed to the PC's screen.

Lines 480-630

Gets the input file name from the user. If a file extension
is not specified, the extension 'MCR' is used. If the file
specified does not exist, an error is generated and the
program vectors to Line 610. Line 630 causes the
program to resume at the Line 520 which request a new
input file.

4.5 Restoring Lost Memory

If, during program development, you notice that the USER heap is shrinking and it

is not due to new MACRO definitions or LOGed data, the FACTORY command can be
used to restore all memory.

In the unlikely event that the FACTORY command does not work, remove the top

cover following the directions and cautions in Section 2. With a small flat blade screw
driver, un-seat the RAM IC (U103) from the battery socket (U100). Carefully, re-
install the RAM IC.