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

IDE Tutorial
https://forum.osdev.org/viewtopic.php?f=1&t=21151
Page 2 of 3

Author:  iocoder [ Sat Nov 07, 2009 1:16 pm ]
Post subject:  Re: IDE Tutorial

i think putting it in http://wiki.osdev.org/ATA_PIO_Mode is a good idea, what do you think?

Author:  quok [ Sat Nov 07, 2009 2:19 pm ]
Post subject:  Re: IDE Tutorial

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.

Author:  iocoder [ Sat Nov 07, 2009 2:26 pm ]
Post subject:  Re: IDE Tutorial

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

Author:  earlz [ Sat Nov 07, 2009 2:31 pm ]
Post subject:  Re: IDE Tutorial

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

Author:  quok [ Sat Nov 07, 2009 2:33 pm ]
Post subject:  Re: IDE Tutorial

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.

Author:  jal [ Sat Nov 07, 2009 3:00 pm ]
Post subject:  Re: IDE Tutorial

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

Author:  iocoder [ Sat Nov 07, 2009 3:06 pm ]
Post subject:  Re: IDE Tutorial

who is the OP?

Author:  Brynet-Inc [ Sat Nov 07, 2009 3:54 pm ]
Post subject:  Re: IDE Tutorial

mostafazizo wrote:
who is the OP?

That would be you, the Original Poster.

Author:  AUsername [ Sat Nov 07, 2009 9:39 pm ]
Post subject:  Re: IDE Tutorial

Excuse me, what is insl()?

InSignedLong()?

Thanks. ^-^

Author:  f2 [ Sun Nov 08, 2009 2:48 am ]
Post subject:  Re: IDE Tutorial

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.

Author:  iocoder [ Sun Nov 08, 2009 5:21 am ]
Post subject:  Re: IDE Tutorial

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

Author:  iocoder [ Sun Nov 08, 2009 5:42 am ]
Post subject:  Re: IDE Tutorial

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?

Author:  AJ [ Sun Nov 08, 2009 5:58 am ]
Post subject:  Re: IDE Tutorial

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

Author:  i586coder [ Sun Nov 08, 2009 8:33 am ]
Post subject:  Re: IDE Tutorial

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 :?:

Author:  iocoder [ Sun Nov 08, 2009 8:35 am ]
Post subject:  Re: IDE Tutorial

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...

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