FLOPPY.RTN utility RP AUTOMATION INC. DEC 1988

 

PROGRAM inputs & outputs

rp.flp.blkr

INPUTS: none

OUTPUTS: rp.flp.input[] 0-255 are characters received

OTHER: checksum done automatically

rp.flp.blkw

INPUTS: rp.flp.output[] 0-255 are chars to send

OUTPUTS: none

OTHER: checksum done automatically

rp.flp.closew

INPUTS: none

OUTPUTS: none

OTHER: none

rp.flp.comms

INPUTS: rp.cmd = value of command to send out to floppy

rp.filename[] = ASCII (UPPER) for filename if needed

rp.new.filename[] = ASCII for new filename if needed

OUTPUTS: none

OTHER: Sets up for receiving at beginning of buffer.

Sends 1-<cmd>-{<filenames>}-4 sequence.

Then receives character.

rp.flp.del

INPUTS: rp.filename[] contains filename (end with 0)

OUTPUTS: none

OTHER: none

rp.flp.dir

INPUTS: rp.flag =0 => output printed on CRT screen

=1 => output entered into rp.dirbuf[]

OUTPUTS: If rp.flag<>0, rp.dirbuf[] has data

OTHER: checksums done automatically

rp.flp.format

INPUTS: none

OUTPUTS: none

OTHER: none

rp.flp.openr

INPUTS: rp.filename[] contains filename (end with 0)

OUTPUTS: none

OTHER: none

rp.flp.openw

INPUTS: rp.filename[] contains filename (end with 0)

OUTPUTS: none

OTHER: none

rp.flp.rename

INPUTS: rp.filename[] contains filename (end with 0)

rp.new.filename[] contains new filename (end with 0)

OUTPUTS: none

OTHER: none

rp.flp.setup

INPUTS: none

OUTPUTS: none

OTHER: Sets up interrupt rorpne for receiving chars

from floppy port.

rp.flperr

INPUTS: rp.chr = floppy response to command

OUTPUTS: none

OTHER: none

rp.flpin }

} Used internally to send/receive data

rp.flpout }

rp.renamef

INPUTS: none

OUTPUTS: none

OTHER: none

 

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

all content copyright RP Automation 1997