OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Mar 25, 2019 12:07 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: IDE Tutorial
PostPosted: Sat Nov 07, 2009 1:16 pm 
Offline
Member
Member
User avatar

Joined: Sun Oct 18, 2009 5:47 pm
Posts: 190
Location: Alexandria, Egypt
i think putting it in http://wiki.osdev.org/ATA_PIO_Mode is a good idea, what do you think?


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sat Nov 07, 2009 2:19 pm 
Offline
Member
Member

Joined: Wed Oct 18, 2006 10:43 pm
Posts: 490
Location: Kansas City, KS, USA
Please don't overwrite the existing ATA PIO Mode article. I think you should create a new wiki article for your tutorial. Put it in your user namespace until you have the article finished, and then it can be linked in to the main namespace later.


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sat Nov 07, 2009 2:26 pm 
Offline
Member
Member
User avatar

Joined: Sun Oct 18, 2009 5:47 pm
Posts: 190
Location: Alexandria, Egypt
quok wrote:
Please don't overwrite the existing ATA PIO Mode article.

I'm not here to overwrite the efforts of others.

quok wrote:
I think you should create a new wiki article for your tutorial. Put it in your user namespace until you have the article finished, and then it can be linked in to the main namespace later.


I thought that i can't create a new wiki article, but i will do as you said above and when i finish and the article is ready to be linked, i will declare here. thanx a lot.

Regards,
Mostafa


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sat Nov 07, 2009 2:31 pm 
Offline
Member
Member

Joined: Thu Jul 07, 2005 11:00 pm
Posts: 1546
if your logged in then just go to your user page and write your tutorial there(well convert it to wiki) and then when it's more complete you can move it into an actual page and link it with tutorials and all that jazz

_________________
My new NEW blag


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sat Nov 07, 2009 2:33 pm 
Offline
Member
Member

Joined: Wed Oct 18, 2006 10:43 pm
Posts: 490
Location: Kansas City, KS, USA
earlz wrote:
if your logged in then just go to your user page and write your tutorial there(well convert it to wiki) and then when it's more complete you can move it into an actual page and link it with tutorials and all that jazz


postcount++ much? I already said that exact thing, just look 2 posts up.


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sat Nov 07, 2009 3:00 pm 
Offline
Member
Member

Joined: Wed Oct 31, 2007 9:09 am
Posts: 1383
quok wrote:
postcount++ much? I already said that exact thing, just look 2 posts up.


No, you said it in a way that could confuse newcomers, while earlz said it in a way the OP can understand :)).


JAL


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sat Nov 07, 2009 3:06 pm 
Offline
Member
Member
User avatar

Joined: Sun Oct 18, 2009 5:47 pm
Posts: 190
Location: Alexandria, Egypt
who is the OP?


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sat Nov 07, 2009 3:54 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2423
Location: Canada
mostafazizo wrote:
who is the OP?

That would be you, the Original Poster.

_________________
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
UNIX&BSD's, your only aspirations, to be imitated! 8)
Windows, are an opening in an otherwise solid and opaque surface through which light and, sometimes, even air can pass through; nothing more.


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sat Nov 07, 2009 9:39 pm 
Offline
Member
Member

Joined: Sun Feb 01, 2009 9:07 pm
Posts: 54
Excuse me, what is insl()?

InSignedLong()?

Thanks. ^-^


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sun Nov 08, 2009 2:48 am 
Offline
Member
Member

Joined: Mon Jun 15, 2009 10:01 am
Posts: 309
Location: France
AUsername wrote:
Excuse me, what is insl()?

InSignedLong()?

Thanks. ^-^


"insl" is a macro like "outb" and "inb". It uses the "INS" assembler instruction:
Code:
#define insl(port, buffer, count) \
         __asm__ ("cld; rep; insl" :: "D" (buffer), "d" (port), "c" (count))


The "INS" instruction:
Quote:
Instruction: INS
INSB
INSW
INSD (386+ only)

Note: Loads data from portto the destination ES:(E)DI (even if
destination operand is supplied). (E)DI is adjusted by the size
of the operand and incrased if Direction Flag is cleared and
decrased if the Direction Flag is set. For INSB, INSW, INSD no
operands are allowed and teh size is determined by the mnemonic.

_________________
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sun Nov 08, 2009 5:21 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 18, 2009 5:47 pm
Posts: 190
Location: Alexandria, Egypt
I have finished writing this topic in the wiki, you can visit the page:
http://wiki.osdev.org/IDE
Also, It is added to the category of ATA.
http://wiki.osdev.org/Category:ATA
Thanx for help.

Regards,
Mostafa


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sun Nov 08, 2009 5:42 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 18, 2009 5:47 pm
Posts: 190
Location: Alexandria, Egypt
Congratulations for me! one star have added to my account! this is my first star ... :D
But could i know on which basis stars are added? stars number depends on what?


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sun Nov 08, 2009 5:58 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2623
Location: Devon, UK
mostafazizo wrote:
But could i know on which basis stars are added? stars number depends on what?

Stars are purely added based on post count.

Cheers,
Adam


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sun Nov 08, 2009 8:33 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 20, 2008 6:43 am
Posts: 143
Hi,

two points :roll:

1. i suggest to write between brackets IDE(Integrated Drive Electronics ) to distinguish it from (IDE) which mean Integrated development environment .

2. where did you got the C code in this article , is the code is public domain or something :?:

_________________
Distance doesn't make you any smaller,
but it does make you part of a larger picture.


Top
 Profile  
 
 Post subject: Re: IDE Tutorial
PostPosted: Sun Nov 08, 2009 8:35 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 18, 2009 5:47 pm
Posts: 190
Location: Alexandria, Egypt
No no no no, this code is written by me, the full code.
The code was written (by me) mainly for Quafios IDE (Integrated Drive Electronics) Driver, and i used it again here.

Quote:
i suggest to write between brackets IDE(Integrated Drive Electronics ) to distinguish it from (IDE) which mean Integrated development environment .


Updated...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 11 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