Keyboardproblems for Pentiums+

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.
Post Reply
Fredrik Hellman

Keyboardproblems for Pentiums+

Post by Fredrik Hellman »

Hello!

I have written a keyboard handler for irq 1. It works fine on my 386 DX 40MHz but not on my Pentium 100 MHz and PII 350 MHz. I am running in Pmode, and the a20-line is enabled. I have read that the a20-line is used by the keyboard, is that true?

Fredrik Hellman
[email protected]
J. Weeks

RE:Keyboardproblems for Pentiums+

Post by J. Weeks »

>On 2002-01-15 15:00:02, Fredrik Hellman wrote:
>Hello!
>
>I have written a keyboard handler for irq 1. It
>works fine on my 386 DX 40MHz but not on my
>Pentium 100 MHz and PII 350 MHz. I am running
>in Pmode, and the a20-line is enabled. I have
>read that the a20-line is used by the keyboard,
>is that true?

Well, the A20 line is part of the keyboard
controller, yes, but the keyboard doesn't
really use it, no.

Perhaps your A20 code isn't 100% correct and you're
sending faulty information to the keyboard
controller?

Jeff
Fredrik Hellman

RE:Keyboardproblems for Pentiums+

Post by Fredrik Hellman »

>On 2002-01-16 08:24:55, J. Weeks wrote:
>>On 2002-01-15 15:00:02, Fredrik Hellman wrote:
>>Hello!
>>
>>I have written a keyboard handler for irq 1. It
>>works fine on my 386 DX 40MHz but not on my
>>Pentium 100 MHz and PII 350 MHz. I am running
>>in Pmode, and the a20-line is enabled. I have
>>read that the a20-line is used by the keyboard,
>>is that true?
>
>Well, the A20 line is part of the keyboard
>controller, yes, but the keyboard doesn't
>really use it, no.
>
>Perhaps your A20 code isn't 100% correct and you're
>sending faulty information to the keyboard
>controller?
>
>Jeff

Hmm, hehe. Actually, I am not sending anything to it at all. I am just receiving the data at irq1s. As said, it works fine on my old comp., but maybe the new ones need some more "comfort" :-P. In that case, what should I send to it?

Thanks!

/Fredrik
Fredrik Hellman

RE:Keyboardproblems for Pentiums+

Post by Fredrik Hellman »

>On 2002-01-17 12:40:22, Fredrik Hellman wrote:
>>On 2002-01-16 08:24:55, J. Weeks wrote:
>>>On 2002-01-15 15:00:02, Fredrik Hellman wrote:
>>>Hello!
>>>
>>>I have written a keyboard handler for irq 1. It
>>>works fine on my 386 DX 40MHz but not on my
>>>Pentium 100 MHz and PII 350 MHz. I am running
>>>in Pmode, and the a20-line is enabled. I have
>>>read that the a20-line is used by the keyboard,
>>>is that true?
>>
>>Well, the A20 line is part of the keyboard
>>controller, yes, but the keyboard doesn't
>>really use it, no.
>>
>>Perhaps your A20 code isn't 100% correct and you're
>>sending faulty information to the keyboard
>>controller?
>>
>>Jeff
>
>Hmm, hehe. Actually, I am not sending anything to it at all. I am just receiving the data at irq1s. As said, it works fine on my old comp., but maybe the new ones need some more "comfort" :-P. In that case, what should I send to it?
>
>Thanks!
>
>/Fredrik

I put my os-floppy into my computer, and went
down to eat. When I came back, it all worked! I
restarted and tried again, but nothing happened.
No sooner than 10 minutes after startup the OS
reacted on my key-presses. Hehe, computers live
their own lives sometimes.

Do you have any idea of what can be wrong?

Fredrik Hellman
J. Weeks

RE:Keyboardproblems for Pentiums+

Post by J. Weeks »

>I put my os-floppy into my computer, and went
>down to eat. When I came back, it all worked! I
>restarted and tried again, but nothing happened.
>No sooner than 10 minutes after startup the OS
>reacted on my key-presses. Hehe, computers live
>their own lives sometimes.
>
>Do you have any idea of what can be wrong?

Now that is definitely weird! Unfortunately, no,
I don't have a clue why that would be. I'd recheck
your A20 code, just incase your sending some incorrect
data to the kb ports... other than that... your guess
is as good as mine :)

Jeff
Post Reply