OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Feb 19, 2019 3:51 am

All times are UTC - 6 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: ATA IDE PIO 1.0 Library in NASM
PostPosted: Sat Nov 03, 2007 3:10 am 
Offline
Member
Member
User avatar

Joined: Sat Nov 25, 2006 3:55 am
Posts: 416
Location: Wisconsin
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.

_________________
On the field with sword and shield amidst the din of dying of men's wails. War is waged and the battle will rage until only the righteous prevails.


Last edited by XCHG on Fri Nov 09, 2007 6:25 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Thank you
PostPosted: Tue Nov 06, 2007 5:51 am 
Offline

Joined: Fri Nov 02, 2007 6:36 am
Posts: 6
thanks very much i will try out this method


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Thu Mar 26, 2009 5:43 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 01, 2008 11:18 am
Posts: 70
Location: Ukraine, Kiev
Hy, XCHG, have you any mirror? I think that link is broken... (

_________________
Don't think a ****, but in ukrainian schools English is TOO BAD!


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Thu Mar 26, 2009 8:47 am 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
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.

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Thu Mar 26, 2009 8:54 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2622
Location: Devon, UK
Too late! A few days ago, a post was resurrected from before the forums even came over from MT :)

Cheers,
Adam


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Thu Mar 26, 2009 1:47 pm 
Offline
Member
Member
User avatar

Joined: Fri Jun 22, 2007 12:47 pm
Posts: 1598
Location: New Hampshire, USA
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.

_________________
Website: https://Joscor.com


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Fri Mar 27, 2009 12:49 am 
Offline
Member
Member
User avatar

Joined: Fri Jan 27, 2006 12:00 am
Posts: 1444
http://web.archive.org/web/200712111308 ... ceLibs.htm
But these do not save the zip :( .


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Fri Mar 27, 2009 6:04 am 
Offline

Joined: Tue Mar 24, 2009 10:59 am
Posts: 21
Atleast it was something useful (If the link worked) resurrected.


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Fri Mar 27, 2009 6:38 am 
Offline
Member
Member
User avatar

Joined: Wed Feb 07, 2007 1:45 pm
Posts: 1401
Location: Eugene, OR, US
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.


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Fri Mar 27, 2009 6:40 am 
Offline

Joined: Tue Mar 24, 2009 10:59 am
Posts: 21
Mhm, I'd be willing to host it myself.


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Fri Mar 27, 2009 11:09 am 
Offline
Member
Member
User avatar

Joined: Fri Jun 22, 2007 12:47 pm
Posts: 1598
Location: New Hampshire, USA
Same, I have plenty of space here for storage on my server.
I hope someone finds this code, it seems very useful. :D

_________________
Website: https://Joscor.com


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Sat Mar 28, 2009 2:21 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 01, 2008 11:18 am
Posts: 70
Location: Ukraine, Kiev
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

_________________
Don't think a ****, but in ukrainian schools English is TOO BAD!


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Sat Mar 28, 2009 2:23 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 01, 2008 11:18 am
Posts: 70
Location: Ukraine, Kiev
... And see: some guys wrote that it seems to be a good code... So... I am not alone! :D

_________________
Don't think a ****, but in ukrainian schools English is TOO BAD!


Last edited by djsilence on Sat Mar 28, 2009 2:32 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Sat Mar 28, 2009 2:32 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 01, 2008 11:18 am
Posts: 70
Location: Ukraine, Kiev
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!

_________________
Don't think a ****, but in ukrainian schools English is TOO BAD!


Top
 Profile  
 
 Post subject: Re: ATA IDE PIO 1.0 Library in NASM
PostPosted: Sun Mar 29, 2009 2:21 pm 
Offline
Member
Member
User avatar

Joined: Wed Feb 07, 2007 1:45 pm
Posts: 1401
Location: Eugene, OR, US
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], thomtl and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group