Mail Archives: djgpp/2000/11/08/12:18:11
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 -