SYSTEM.V2 V01 RP AUTOMATION INC. 13FEB89

 

DESCRIPTION

The programs in this file allow files to be changed so that

they contain (SYSTEM) programs instead of .PROGRAM's.

PREPARATION

Load the SYSTEM.V2 file into memory.

PROGRAM EXECUTION

After the "system" program has been executed, the steps that

this program will follow are:

1. Wait for correct diskette to be in disk drive

before continuing. Press <ENTER> when diskette

is ready.

2. Read the directory of the diskette and display

this information to the CRT screen.

3. Ask for the name of the file to be changed to

contain (SYSTEM) programs. If no filename is

given, the program stops executing.

4. Read the file from the diskette one block at a

time, writing data to a temporary file, and

making changes as needed.

5. When the reading/writing is done, the old file

is DELETED, and the temporary file is RENAMED

to be the same name as the old file.

6. Go back to step 3 and ask for another filename.

MESSAGES

*** SYSTEM PROGRAM HAS FINISHED ***

When no filename is specified at the PROMPT, this message gets

displayed and the program finishes execution.

*** Floppy error nn ***

If a floppy error occurs during the program, then this message

will get displayed, where 'nn' is a number which corresponds to

the internal floppy disk drive error code. The codes are:

2 = File already exists (creating new file with same name)

3 = File does not exist (opening file for reading)

4 = Communications error between VAL & floppy

5 = Disk full (writing to disk)

6 = Communications error between VAL & floppy

7 = Communications error between VAL & floppy

10 = Communications error between VAL & floppy

11 = Communications error between VAL & floppy

12 = Floppy not ready

13 = Floppy read error (diskette may be bad)

14 = Communications error between VAL & floppy

41 = No STX received during block transfer

42 = Incorrect checksum received during block transfer

 

RP Automation
Tel  (800) 367-7862  (800) FOR PUMA  Fax  (203) 792-2154
Email  info@rpautomation.com

all content copyright RP Automation 1997