keyboard ISR in pmode
Posted: Wed Feb 12, 2003 12:00 am
hi i have irq1 linked to interrupt 33 for my keyboard isr
right now i just have it output a colored letter in the corner of screen everytime this interrupt is called so i can see how often it is being called. i ran the os and the keyboard interrupt, along with the timer interrupt were each being called frequently. what i am wondering is how to get what data is waiting from the keyboard and how to check if there is more data there or not before i exit the isr. i think it has something to do with ports 60h and 61h but i am not sure exactly how to read/write these.
thanks in advance
right now i just have it output a colored letter in the corner of screen everytime this interrupt is called so i can see how often it is being called. i ran the os and the keyboard interrupt, along with the timer interrupt were each being called frequently. what i am wondering is how to get what data is waiting from the keyboard and how to check if there is more data there or not before i exit the isr. i think it has something to do with ports 60h and 61h but i am not sure exactly how to read/write these.
thanks in advance