Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a facit floppy drive connect

Status
Not open for further replies.

CaKiwi

Programmer
Joined
Apr 8, 2001
Messages
1,294
Location
US
I have a facit floppy drive connected to my pc via a sreal port and I am trying to figure out the format of the output from a directory command. When I send it
<esc<&HD:<dc1>
it replies with
Code:
HDR1 EOTADS~1.PP   256 00001109014 020107 09015
HDR1 EOTADS~1.PU1  256 00001151109 020107 51110 
HDR1 MITSUI~1.PP   256 00001100004 011119 00005 
HDR1 381117~1.PP   256 00001101113 020116 01114 
HDR1 381117~1.PU1  256 00001110007 020116 10008 
HDR1 EOTADS~2.PP   256 00001102002 020115 02003 
HDR1 EOTADS~2.PU1  256 00001101004 020115 01005 
HDR1 EOTADS~1.PU2  256 00001100005 020115 00006 
HDR1 EOTADS~3.PP   256 00001101006 020115 01007 
HDR1 <esc>         256 99999199999        99999
The DOS directory of thesame floppy is
Code:
EOTADS~1 PP         77,262  01-07-02  2:41p eotadsop4.pp
EOTADS~1 PU1       423,960  01-07-02  2:41p eotadsop4.pu1
MITSUI~1 PP            989  11-19-01  1:05p MitsuiFront.pp
381117~1 PP         15,517  01-16-02  7:16a 3811174101.pp
381117~1 PU1        83,510  01-16-02  7:16a 3811174101.pu1
EOTADS~2 PP         16,710  01-15-02  9:51a eotadscmmfixt.pp
EOTADS~2 PU1         9,201  01-15-02  9:51a eotadscmmfixt.pu1
EOTADS~1 PU2         1,094  01-15-02  9:53a eotadscmmfixt.pu2
EOTADS~3 PP          9,720  01-15-02  4:26p eotadscmm.pp
         9 file(s)        637,963 bytes
         0 dir(s)         817,664 bytes free
The 4th field seems to be the time, the 5th is the date and the 6th seems to be the size. I don't know what the 3rd field (256) means. Any help would be greatly appreciated. CaKiwi
 
That's a serial port it's connected to, not a sreal port (or even a surreal port) CaKiwi
 
I am still trying to figure this out. Can anyone suggest another forum where someome might know the answer? CaKiwi
 
Experimentation seems to indicate that the last 5 digits of the 4th field hold the file size in 256 byte blocks. It is calculated by multiplying the first 2 digits by 32, adding the 3rd digit multiplyed by 16 and then adding the last 2 digits.
e.g. 09014 - (9*32+0*16+14)*256 = 77312
Does anyone have any more information on this? CaKiwi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top