delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/08/12:18:11

Date: Wed, 8 Nov 2000 16:05:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: rw <rw AT rw DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: sectors
In-Reply-To: <hJXM5.2757$mx.61209@news1.oke.nextra.no>
Message-ID: <Pine.SUN.3.91.1001108160158.7207C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 4 Nov 2000, rw wrote:

> I do BootSectorCopy boot.bin 1 to write boot.bin to the bootsector (first
> sector) and everything works ok.
> Then i do BootSectorCopy something.bin 2 to write something.bin to the
> second sector. the something.bin is 512 bytes but when i write it to the
> floppy it takes up like 135kb (wierd)..
> I use dos debug to L 100 0 1 1(load the sector) and D(dump the sector) and i
> see that the code on the sector is NOT the code in my something.bin .. its
> something else ... and i dont know what ... ;(

I played with your program, and all I can say is that I cannot reproduce 
the problem on my machine: the program works for me, both for sector 1 
and for sector 2.  DEBUG also shows the exact contents of the file on the 
floppy.

So this is something specific to your system, or perhaps you didn't quite 
describe exactly what did you do to reproduce the problem.

FWIW, biosdisk always worked flawlessly for me, at least for reading 
floppies.  The DJTAR program supplied with DJGPP is its heavy user, and I 
never heard any complaints about that.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019