how can i read data from mouse?
Posted: Mon Sep 20, 2004 1:35 am
hi, now, i think i can intial the mouse via program the 8042.
but i can read data from mouse:(
if i don't move the mouse, i can read the keyboard data from the port 0x60 .
but if i move the mouse even only one time, i can't read any data. i hit the keyboard, and the bochs reports that: the keyboard's buffer is full. but i can't read data from 0x60 now,that's very strange!
what can i do?
thank you very much!
but i can read data from mouse:(
if i don't move the mouse, i can read the keyboard data from the port 0x60 .
but if i move the mouse even only one time, i can't read any data. i hit the keyboard, and the bochs reports that: the keyboard's buffer is full. but i can't read data from 0x60 now,that's very strange!
what can i do?
thank you very much!