[net.micro.pc] Losing Clusters with Turbo I/O

matt@ucla-cs.UUCP (07/14/85)

I am running a package written in Turbo (3.01A), which uses both Turbo's I/O, 
and Btrieve.  I have been having problems with a random I/O file, which is 
written with the combination Seek(FileLength);Write.  At odd intervals, 
this file is truncated for no apparent reason.   The original clusters are
later found (by CHKDSK) as unreferenced. 

The problems occur when running on an XT with 640K and a Hercules.  It
seems to work fine on a Compaq with 640K and an (ersatz) 10MB disk, but
the usage is much less extensive there.  I'm suspicious of the DOS on
the XT, which claims to be 2.1, but may just have a bogus COMMAND.COM.

Q's:
    - Does anyone recall what the problems with 2.0 were?
    - Are there potential problems with old CPUs, ROMs?  
    - Could some type of hard disk flakiness cause this?

Any help would be appreciated.  Thanks in advance!

					- Matt
-------
UUCP:	{ucbvax,ihnp4,randvax,trwrb!trwspp,ism780}!ucla-cs!matt
ARPA:	matt@ucla-locus  -or-  matt@locus.ucla.edu