The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: ninjarider on April 16, 2006, 09:16:21 PM

Title: hard drive access
Post by: ninjarider on April 16, 2006, 09:16:21 PM
i was wondering if anyone had a poject that had direct access to the hard drive that i could take a look at the source for it and get some ideas for my own os.
Title: Re: hard drive access
Post by: Mincho Georgiev on April 16, 2006, 09:59:49 PM
http://www.programmersheaven.com/zone5/cat469/index.htm
Title: Re: hard drive access
Post by: MichaelW on April 16, 2006, 10:19:04 PM
Direct access to the hard disk, even using the simplest method, will require complex code. It would be much easier to use the BIOS.

Title: Re: hard drive access
Post by: ninjarider on April 16, 2006, 10:40:22 PM
ok, i was wrong in my way of phrasing what i was looking for. i just dont have to be going throu dos to access the harddrive. althou it might be interesting to study.
Title: Re: hard drive access
Post by: BogdanOntanu on April 17, 2006, 01:35:59 AM
SolarOS: www.oby.ro

You can find code to access the ATA HDD directly via ports and an HDD GUI Explorer application for FAT32 filesystem.

But it is not 16 bit... it is 32 bit protected mode code.