Page 3 of 3

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 6:21 am
by distantvoices
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?

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 6:25 am
by Candy
beyond infinity wrote: Hmmm... AEOI sounds nice *gg* how does one enable this one?
STFW? : http://www.google.nl/search?hl=xx-bork& ... e-a+Seerch for my borked google search result :D

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 6:33 am
by distantvoices
stfw: not like "L?s det j?vla manual" *lol*

you've caugth me being lazy *rofl*

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 6:39 am
by bubach
<swedish>
"L?s det j?vla manual"
Kallar du det korrekt svenska?
</swedish>

/ Christoffer

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 6:46 am
by distantvoices
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>

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 6:49 am
by bubach
nice.. :-)
how good are you on understanding?

<swedish>Hur l?nge bodde du i sverige och varf?r?</swedish>

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 6:56 am
by distantvoices
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.

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 7:00 am
by bubach
ok.. some spelling misstakes, but.. u seem to mix up "en" and "ett".. :-)
do u mean: Jag kan inte skrika(shout) som ett monster?

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 7:19 am
by Pype.Clicker
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 ...

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 7:21 am
by distantvoices
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*
.

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 7:37 am
by bubach
ok... :-)

Re:Keyboard interrupt

Posted: Mon Mar 01, 2004 8:37 am
by ich_will
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
}

Re:Keyboard interrupt

Posted: Tue Mar 02, 2004 7:34 am
by Pype.Clicker
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 ?