> From [email protected]  Sun Jul 22 22:15:48 2012
> Date: Mon, 23 Jul 2012 03:10:40 -0700
> From: [email protected]
> To: [email protected]
> Cc: [email protected]
> Subject: Re: fsck on FAT32 filesystem?
>
> Robert Bonomi <[email protected]> wrote:
>
> > MSDOS/PCDOS had -no- O/S functions to directly access actual disk
> > devices.  The ONLY fuctionality provided to the user, by the "O/S"
> > was filesystem based access.  To get 'raw' device access, one had 
> > to bypass the O/S entirely, and use direct BIOS calls (INT 13h).
>
> FALSE TO FACT.
>
> MSDOS/PCDOS had no _documented_ functions to directly access the
> disks, bypassing the file system, but the functions _did_ exist.

I'm sure you can provide the DOS 'function number' for those calls,
and cites to published data confirming.

> The debugger's "read sector" and "write sector" commands used them,
> and I suspect chkdsk, scandisk, and format probably also used them
> although I never had occasion to verify one way or the other.

My experince in porting MSDOS 3.1 to a non pc-clone architecture was 
that fdisk, format, chkdsk, debug, and sys all invoked INT 13H directly.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to