Date: Wed, 8 Nov 2000 16:05:05 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: rw cc: djgpp AT delorie DOT com Subject: Re: sectors In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.