Page 1 of 2
ATA IDE PIO 1.0 Library in NASM
Posted: Sat Nov 03, 2007 3:10 am
by XCHG
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: Select all
__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.
Thank you
Posted: Tue Nov 06, 2007 5:51 am
by mahesh.vallamk
thanks very much i will try out this method
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Thu Mar 26, 2009 5:43 am
by djsilence
Hy, XCHG, have you any mirror? I think that link is broken... (
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Thu Mar 26, 2009 8:47 am
by Troy Martin
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.
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Thu Mar 26, 2009 8:54 am
by AJ
Too late! A few days ago, a post was resurrected from before the forums even came over from MT
Cheers,
Adam
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Thu Mar 26, 2009 1:47 pm
by 01000101
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.
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Fri Mar 27, 2009 12:49 am
by Dex
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Fri Mar 27, 2009 6:04 am
by ThymeCypher
Atleast it was something useful (If the link worked) resurrected.
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Fri Mar 27, 2009 6:38 am
by bewing
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.
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Fri Mar 27, 2009 6:40 am
by ThymeCypher
Mhm, I'd be willing to host it myself.
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Fri Mar 27, 2009 11:09 am
by 01000101
Same, I have plenty of space here for storage on my server.
I hope someone finds this code, it seems very useful.
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Sat Mar 28, 2009 2:21 am
by djsilence
Yeah, Dex was right. That link shows "Not in archive".
I understand that it was stupid to load up that topic (really stupid
) 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.
Sorry, dudes....
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Sat Mar 28, 2009 2:23 am
by djsilence
... And see: some guys wrote that it seems to be a good code... So... I am not alone!
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Sat Mar 28, 2009 2:32 am
by djsilence
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
and upload the source... Thanks!
Re: ATA IDE PIO 1.0 Library in NASM
Posted: Sun Mar 29, 2009 2:21 pm
by bewing
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.