Page 1 of 1
question!
Posted: Sat Dec 08, 2001 12:00 am
by Stefan
3 or 4 weeks ago I was asking something, why don't you answer me?
RE:question!
Posted: Sat Dec 08, 2001 12:00 am
by j.weeks
>On 2001-12-08 16:39:31, Stefan wrote:
>3 or 4 weeks ago I was asking something, why don't you answer me?
This question?
I'm in big trouble, I don't understand how IRQ's work.
My question is: Can I handle IRQ's (e.g. IRQ 15, IRQ 16) with interrupts like thows in the IDT?
Does anybody know some good info (good sites or texts) about progamming with IRQ support?
Please help, I need this for my OS!
I didn't answer because I have no good sites about this
kinda thing. However, I do have a text... Protected Mode
Software Architecture, Tom Shanley, MindShare Inc.
ISBN: 0-201-55447-X $41.00 CDN
It's an _EXCELLENT_ book for all things pmode, including
IRQ's. Other than that, search for it on the internet.
You're bound to find some good stuff.
Specifically from your question, you _have_ to handle
IRQ's through interrupts (that's why it's an Interupt
ReQuest!). And yes, through those in the IDT... there
are no other interrupts.
jeff
RE:question!
Posted: Mon Dec 10, 2001 12:00 am
by Iwabee
> I'm in big trouble, I don't understand how IRQ's work.
> My question is: Can I handle IRQ's (e.g. IRQ 15, IRQ 16) with interrupts like thows in the IDT?
> Does anybody know some good info (good sites or texts) about progamming with IRQ support?
> Please help, I need this for my OS!
Yes you can, but first you have to reprogram PIC(Programmable Interrupt Controller)
to change the base addres in IDT from 0x8 to 0x20+8n, because in protected
mode first 32 interrupts vectors used to handle exeptions and stuff.
Aww and you need to write 0x20 in port 0x20 to check interrupt as handled or PIC will
stop reseeving interrupts.
I don't know any sites, but I can throw you some code if you wish (and if I find it
RE:question!
Posted: Mon Dec 10, 2001 12:00 am
by Iwabee
> I'm in big trouble, I don't understand how IRQ's work.
> My question is: Can I handle IRQ's (e.g. IRQ 15, IRQ 16) with interrupts like thows in the IDT?
> Does anybody know some good info (good sites or texts) about progamming with IRQ support?
> Please help, I need this for my OS!
Yes you can, but first you have to reprogram PIC(Programmable Interrupt Controller)
to change the base addres in IDT from 0x8 to 0x20+8n, because in protected
mode first 32 interrupts vectors used to handle exeptions and stuff.
Aww and you need to write 0x20 in port 0x20 to check interrupt as handled or PIC will
stop reseeving interrupts.
I don't know any sites, but I can throw you some code if you wish (and if I find it
RE:question!
Posted: Mon Dec 10, 2001 12:00 am
by Stefan
Thanks Jeff, but I have no mony but buy a book!!!
For me, such a book is very expencive. My dad's salar
is about 150$/month. See?
RE:question!
Posted: Mon Dec 10, 2001 12:00 am
by Chase
>On 2001-12-10 05:12:43, Stefan wrote:
>Thanks Jeff, but I have no mony but buy a book!!!
>For me, such a book is very expencive. My dad's salar
>is about 150$/month. See?
Well you can start here:
http://www.beyondlogic.org/interrupts/interupt.htm
And then read volume 3 of the Intel Architecture
Software Developer's Manuals. (you did follow the
link in the link section and download that didn't you ?-)
I'd ask someone to but me the Protected Mode book
for christmas or whatever your next major holiday may
be. It's worth it.
RE:question!
Posted: Tue Dec 11, 2001 12:00 am
by Stefan
Thank you for the link.
I allready read the Intel Manuals (2 times)!