COPYFILES.V2 V01 RP AUTOMATION INC 11JAN89

 

 

DESCRIPTION

The programs in this file allow files to be copied from one

floppy diskette to another one, using just one disk drive.

 

 

PREPARATION

Load the COPYFILES.V2 file into memory.

 

 

PROGRAM EXECUTION

After the "copyfiles" program has been executed, the normal

steps that this program follows 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 names of the files to be copied to

the other diskette. After the last filename

has been entered, a NULL name (<ENTER>) should

be entered. This will signal the program that

no more filenames are to be entered.

4. At this point, the program will look for free

space in memory at the end of the memory area.

An error will occur if no free space is found.

5. Read the files from the diskette, saving data

in the free memory area. When a file has been

read completely, then the next file starts to

get read. This continues until either there is

no more room in the free memory area, or all

files have been read.

6. When it is time to write the data, the program

will wait for the correct diskette to be put

into the floppy disk drive before continuing.

Press <ENTER> when the diskette is ready.

7. This reading and writing process will continue

until all files have been read from the first

disk, and written to the second disk.

8. When all files have been copied, the program

will EXIT.

 

 

NOTES

When a file is read from the first diskette, the filename is

displayed. And, each time that a new block is read, a number

between 0 and 7 is displayed on the screen. This is a count

for the number of blocks that were read for that file.

If any of the specified files are not found on the diskette,

then the program will simply ignore those files.

If an error occurs when trying to open a file on the second

diskette or write data to the second diskette, then an option

exists whereby that diskette can be FORMAT'd, or a different

diskette can be used to copy the files to.

When a file is written to the second diskette, the filename

is displayed. Each time that a new block is read, a number

between 0 and 7 is displayed on the screen. This is a count

for the number of blocks that were written to that file.

If a file is not completed during a reading/writing session,

then when the first diskette is read again, the message is:

Continuing to read <filename>

and a similar message is generated for the writing diskette.

 

 

MESSAGES

*** Cannot find available memory area ***

If no free memory space for the data can be found, then this

message will get displayed and the program will be ABORT'd.

*** COPYING COMPLETED ***

When all files have been copied to the new diskette and the

program is finished, this message gets displayed.

*** 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