Mail Archives: djgpp/1999/10/28/08:44:05
--- Ben Davis <ben AT vjpoole DOT freeserve DOT co DOT uk> wrote:
> I have noticed that some floppy disks have serial
> numbers; the serial number
> appears when I type 'dir/w'. Can someone confirm
> that the serial number of a
> floppy disk cannot be changed through software (if
> at all), and explain how
> to write a program which reads it? (After all, 'dir'
> does it, so it must be
> possible.)
Use biosdisk(_DISK_READ, 0, 0, 0, 1, 1, buffer);
The serial no. & the volume name is in the first few bytes.
=====
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
- Raw text -