OSDev.org https://forum.osdev.org/ |
|
Free PS/2 mouse code https://forum.osdev.org/viewtopic.php?f=1&t=10247 |
Page 2 of 2 |
Author: | SANiK [ Sun Feb 20, 2005 6:33 pm ] |
Post subject: | Re:Free PS/2 mouse code |
Is it me or must the keyboard interrupt be enabled for the mouse to work? I also found that in bochs if you hit the keys when the mouse is BEINGinstalled, bochs gives a BIOS PANIC, later on, when the reset button is hit. Hmmm, strange stuff. How would one go about fixing these things? IRQ mask? |
Author: | Pype.Clicker [ Mon Feb 21, 2005 4:34 am ] |
Post subject: | Re:Free PS/2 mouse code |
afaik, the keyboard handler is not required, as long as no key is pressed. Since the same chip will deliver keyboard and mouse signals to the cpu, if a keystroke is pending but noone reads it, no mouse interrupt can occur. It will be necessary to unmask IRQ2 aswell as mouse IRQ and to acknowledge end-of-interrupt on both master and slave PIC, btw. |
Page 2 of 2 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |