Page 1 of 1
Could anyone teach me how to do a 32-bit PMODE ATA Disk Driv
Posted: Sun Jun 20, 2004 11:00 pm
by w
Hi! I am a Chinese.I am doing a pmode kernel,but I do not know how to do a 32-bit pmode ata disk driver.Could you help me or give me any messages for developing it?
My Email is at
[email protected]
RE:Could anyone teach me how to do a 32-bit PMODE ATA Disk D
Posted: Sun Jun 20, 2004 11:00 pm
by gaf
RE:Could anyone teach me how to do a 32-bit PMODE ATA Disk D
Posted: Sun Jun 20, 2004 11:00 pm
by orb2000
This can be as simple as wrapping a few routines around the standard ata PIO interface, or if you are after performance then you must use chipset documentation regarding the ATA/IDE controller. The controller datasheets allow you to configure your drive for more advanced modes such as bus master support of offload the work from your cpu. Also UDMA support can only be enabled by communicating directly with the controller.
I've developed a generic ATA wrapper around the PIO method for legacy hardware - or ones that i haven't written a driver for. Bus master support for Intel PII3 and VIA chipsets is complete. It?s not that complicated but i suggest that you get the ata specs, preferably the latest one as they are all backward compatible.
cheers
orb
RE:Could anyone teach me how to do a 32-bit PMODE ATA Disk D
Posted: Fri Jun 25, 2004 11:00 pm
by ASHLEY4
You can take a look at my driver
http://www.falconrybells.co.uk/
And down load TestOs.zip
ASHLEY4.