Keyboard interrupt
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:Keyboard interrupt
Ah, I've misplaced some letters: AEIOU (Alles Erdenreich Ist Oesterreich Untertan) - it is a boast of Kaiser Friedrich III (did some research in the internet). Means in english: all the earth is subject/tributary of austria. They 've been biiig braggers in those former times. *lol*
Hmmm... AEOI sounds nice *gg* how does one enable this one?
Hmmm... AEOI sounds nice *gg* how does one enable this one?
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image
Re:Keyboard interrupt
STFW? : http://www.google.nl/search?hl=xx-bork& ... e-a+Seerch for my borked google search resultbeyond infinity wrote: Hmmm... AEOI sounds nice *gg* how does one enable this one?
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:Keyboard interrupt
stfw: not like "L?s det j?vla manual" *lol*
you've caugth me being lazy *rofl*
you've caugth me being lazy *rofl*
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image
Re:Keyboard interrupt
<swedish>
</swedish>
/ Christoffer
Kallar du det korrekt svenska?"L?s det j?vla manual"
</swedish>
/ Christoffer
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:Keyboard interrupt
Nay, I don't even dare to do so. Too short my stay in sweden 's been.
<swedish>
"Jag can inte kaller det korrekt svenska"
</swedish>
<swedish>
"Jag can inte kaller det korrekt svenska"
</swedish>
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image
Re:Keyboard interrupt
nice..
how good are you on understanding?
<swedish>Hur l?nge bodde du i sverige och varf?r?</swedish>
how good are you on understanding?
<swedish>Hur l?nge bodde du i sverige och varf?r?</swedish>
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:Keyboard interrupt
Understanding ... Reading a lot, deducing the meaning of words from english or german (there are some similarities) so I go along.
One sentence, I've learned whilst having fun in Ljungby: "Jag kan inte shrieker som en monster" *lol*
as for your question: Holidays - one week, filled with good swedish coffee (f?rlat - kan jag ha en potor) and nice people - relatives of my sunshine.
One sentence, I've learned whilst having fun in Ljungby: "Jag kan inte shrieker som en monster" *lol*
as for your question: Holidays - one week, filled with good swedish coffee (f?rlat - kan jag ha en potor) and nice people - relatives of my sunshine.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image
Re:Keyboard interrupt
ok.. some spelling misstakes, but.. u seem to mix up "en" and "ett"..
do u mean: Jag kan inte skrika(shout) som ett monster?
do u mean: Jag kan inte skrika(shout) som ett monster?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Keyboard interrupt
doh ... i got a bit lost ...
Actually, AEOI is the alternative to "intel infrastructure". On a "real" 8086-based system with a 'real' 8259, it would indeed make the PIC behave differently than expected (at your own risk).
With a modern system and chipset-emulated 82xx chips, you should not expect the "auto-EOI" feature to behave at all ... trying to set it will be ignored at best. Some of the features of the 82xx chips are limited by the way they were wired on the ancient motherboard. For instance, you could theorically select another pin that IRQ2 to receive slave signals on the master PIC, but as only the IRQ2 pin was wired to the 'cascade' pin, any other configuration wouldn't work. Many chipsets nowaday (intel ones, for instance) also ignore whatever you put on that register, assuming the sole working default setup for the PC architecture ... while other chipsets will emulate the misconfiguration, and fail to report any slave IRQs ...
Actually, AEOI is the alternative to "intel infrastructure". On a "real" 8086-based system with a 'real' 8259, it would indeed make the PIC behave differently than expected (at your own risk).
With a modern system and chipset-emulated 82xx chips, you should not expect the "auto-EOI" feature to behave at all ... trying to set it will be ignored at best. Some of the features of the 82xx chips are limited by the way they were wired on the ancient motherboard. For instance, you could theorically select another pin that IRQ2 to receive slave signals on the master PIC, but as only the IRQ2 pin was wired to the 'cascade' pin, any other configuration wouldn't work. Many chipsets nowaday (intel ones, for instance) also ignore whatever you put on that register, assuming the sole working default setup for the PC architecture ... while other chipsets will emulate the misconfiguration, and fail to report any slave IRQs ...
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:Keyboard interrupt
Aha, that's it. This "sk" becomes an "sch" in swedish sometimes. I've just written as I 've remembered the words. Well, and as in german you write as you speak (except of some cases), they came out this way. *gg*
.
.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image
Re:Keyboard interrupt
ok...
Re:Keyboard interrupt
I send an EOI at the end of the function keyboard_handler:
Code: Select all
void keyboard_handler()
{
putint(inportb(0x60)); //retrieve scan code
putc(' ');
send_eoi_master();
}
void send_eoi_master()
{
outportb(MASTER_PIC + 1, EOI); // the mistake, it must be send to MASTER_PIC
}
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Keyboard interrupt
hmm ... what does that "the mistake ..." comment exactly mean ?
did you manage to receive interrupts when using MASTERPIC instead of MASTERPIC+1 or does it just continue bugging you ?
did you manage to receive interrupts when using MASTERPIC instead of MASTERPIC+1 or does it just continue bugging you ?