OSDev.org
https://forum.osdev.org/

ATA IDE PIO 1.0 Library in NASM
https://forum.osdev.org/viewtopic.php?f=1&t=15314
Page 1 of 2

Author:  XCHG [ Sat Nov 03, 2007 3:10 am ]
Post subject:  ATA IDE PIO 1.0 Library in NASM

I just released the first version of my ATA IDE PIO 1.0 library. This library is coded in NASM and is free. You can download this library by clicking here

The procedures/functions that are included in this library are:

Code:
__IDEWaitForDrive
__IDEReadFromPortsCHS
__IDEFillSectorsWithDWORD
__IDESetTransferMode
__IDEWriteBlockToPortsLBA28
__IDECheckControllerExistence
__IDEReadBlockFromPortsLBA28
__IDESetBlockSize
__IDECheckDriveExistence
__IDESleep
__IDERecalibrate
__IDEWriteToPortsLBA28
__IDEReadFromPortsLBA28
__IDEDiagnose
__IDEIdentifyDrive
__IDEProbe



All prototypes are shown in the C/C++ style. The library uses the StdCall for all the procedures/functions. All the procedures/functions are heavily commented and documented. For the first version, the Q&A section of the documentation and some other parts (like tutorial and etc) are missing. I will do my best writing these as soon as possible. Please let me know what you think. The library is ATA1 compliant.

Author:  mahesh.vallamk [ Tue Nov 06, 2007 5:51 am ]
Post subject:  Thank you

thanks very much i will try out this method

Author:  djsilence [ Thu Mar 26, 2009 5:43 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

Hy, XCHG, have you any mirror? I think that link is broken... (

Author:  Troy Martin [ Thu Mar 26, 2009 8:47 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

And the award for biggest necro of the year goes to...

djsilence!!!
Seriously dude, this topic is from November '07. Read the dates before replying from the search tool.

EDIT: XCHG hasn't visited since the middle of last year, as well.
EDIT2: Damn, it's not in the Internet Archive Wayback Machine, either. Looks like you're outta luck here.

Author:  AJ [ Thu Mar 26, 2009 8:54 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

Too late! A few days ago, a post was resurrected from before the forums even came over from MT :)

Cheers,
Adam

Author:  01000101 [ Thu Mar 26, 2009 1:47 pm ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

lol I saw that post, I think it was from 2001 haha.

I had never seen this post, so I can't say I'm completely sorry that it was resurrected. It seems like a cool library, I'm not so sure why it was coded in Assembly as libraries are generally meant to be portable.

Author:  Dex [ Fri Mar 27, 2009 12:49 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

http://web.archive.org/web/200712111308 ... ceLibs.htm
But these do not save the zip :( .

Author:  ThymeCypher [ Fri Mar 27, 2009 6:04 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

Atleast it was something useful (If the link worked) resurrected.

Author:  bewing [ Fri Mar 27, 2009 6:38 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

I remember this thread from the first time XCHG posted it -- I may have downloaded the file. However, it is not on my main HD. Which means, it's either on my backup HD, or I burned it to a CD, or I never saved a copy (maybe because I didn't like the code). I'll look on my CDs, but if it's on my backup HD it may be a week before I can look for it there. So if somebody else can find it first, please do.

Author:  ThymeCypher [ Fri Mar 27, 2009 6:40 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

Mhm, I'd be willing to host it myself.

Author:  01000101 [ Fri Mar 27, 2009 11:09 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

Same, I have plenty of space here for storage on my server.
I hope someone finds this code, it seems very useful. :D

Author:  djsilence [ Sat Mar 28, 2009 2:21 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

Yeah, Dex was right. That link shows "Not in archive". :(

I understand that it was stupid to load up that topic (really stupid :D ) but this link is posted in Wiki at the ATA PIO Mode and I liked the functions XCHG wrote (just names of them). I thought it will be great to use that lib but while opening link I got some stupid sites with stupid content. :D

Sorry, dudes.... #-o

Author:  djsilence [ Sat Mar 28, 2009 2:23 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

... And see: some guys wrote that it seems to be a good code... So... I am not alone! :D

Author:  djsilence [ Sat Mar 28, 2009 2:32 am ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

Bewing, I tried... But google shows "Nothing founded". Great?

If you find it on your CDs (Maybe a week or even months after I post this message) please, load up this topic ONCE AGAIN :D :D :D and upload the source... Thanks!

Author:  bewing [ Sun Mar 29, 2009 2:21 pm ]
Post subject:  Re: ATA IDE PIO 1.0 Library in NASM

Nope, I checked my backups -- and if I ever downloaded it, I didn't save it.
Maybe if you PM XCHG about his library code, he might get the message sometime.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/