IDE Tutorial

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
iocoder
Member
Member
Posts: 208
Joined: Sun Oct 18, 2009 5:47 pm
Libera.chat IRC: iocoder
Location: Alexandria, Egypt | Ottawa, Canada
Contact:

Re: IDE Tutorial

Post by iocoder »

i think putting it in http://wiki.osdev.org/ATA_PIO_Mode is a good idea, what do you think?
quok
Member
Member
Posts: 490
Joined: Wed Oct 18, 2006 10:43 pm
Location: Kansas City, KS, USA

Re: IDE Tutorial

Post by quok »

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.
User avatar
iocoder
Member
Member
Posts: 208
Joined: Sun Oct 18, 2009 5:47 pm
Libera.chat IRC: iocoder
Location: Alexandria, Egypt | Ottawa, Canada
Contact:

Re: IDE Tutorial

Post by iocoder »

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
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: IDE Tutorial

Post by earlz »

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
quok
Member
Member
Posts: 490
Joined: Wed Oct 18, 2006 10:43 pm
Location: Kansas City, KS, USA

Re: IDE Tutorial

Post by quok »

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.
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: IDE Tutorial

Post by jal »

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
User avatar
iocoder
Member
Member
Posts: 208
Joined: Sun Oct 18, 2009 5:47 pm
Libera.chat IRC: iocoder
Location: Alexandria, Egypt | Ottawa, Canada
Contact:

Re: IDE Tutorial

Post by iocoder »

who is the OP?
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: IDE Tutorial

Post by Brynet-Inc »

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.
AUsername
Member
Member
Posts: 54
Joined: Sun Feb 01, 2009 9:07 pm

Re: IDE Tutorial

Post by AUsername »

Excuse me, what is insl()?

InSignedLong()?

Thanks. ^-^
User avatar
f2
Member
Member
Posts: 311
Joined: Mon Jun 15, 2009 10:01 am
Location: France

Re: IDE Tutorial

Post by f2 »

AUsername wrote:Excuse me, what is insl()?

InSignedLong()?

Thanks. ^-^
"insl" is a macro like "outb" and "inb". It uses the "INS" assembler instruction:

Code: Select all

#define insl(port, buffer, count) \
         __asm__ ("cld; rep; insl" :: "D" (buffer), "d" (port), "c" (count))
The "INS" instruction:
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
User avatar
iocoder
Member
Member
Posts: 208
Joined: Sun Oct 18, 2009 5:47 pm
Libera.chat IRC: iocoder
Location: Alexandria, Egypt | Ottawa, Canada
Contact:

Re: IDE Tutorial

Post by iocoder »

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
User avatar
iocoder
Member
Member
Posts: 208
Joined: Sun Oct 18, 2009 5:47 pm
Libera.chat IRC: iocoder
Location: Alexandria, Egypt | Ottawa, Canada
Contact:

Re: IDE Tutorial

Post by iocoder »

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?
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: IDE Tutorial

Post by AJ »

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
User avatar
i586coder
Member
Member
Posts: 143
Joined: Sat Sep 20, 2008 6:43 am

Re: IDE Tutorial

Post by i586coder »

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.
User avatar
iocoder
Member
Member
Posts: 208
Joined: Sun Oct 18, 2009 5:47 pm
Libera.chat IRC: iocoder
Location: Alexandria, Egypt | Ottawa, Canada
Contact:

Re: IDE Tutorial

Post by iocoder »

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.
i suggest to write between brackets IDE(Integrated Drive Electronics ) to distinguish it from (IDE) which mean Integrated development environment .
Updated...
Post Reply