Page 1 of 1

[Solved] Issues with PS/2 mouse interrupts

Posted: Wed May 27, 2020 2:52 pm
by iProgramInCpp
[Solved]

Solved, as always. I am a sloppy coder sometimes too, it turns out that I was not ACKing an RTC interrupt for the slave (just acking the master)

Here's the question at hand, so you can submit feedback on the code.
Source Code: https://gist.github.com/iProgramMC/6b4e ... 2634cddfc8

Problem description:
I can initialize mouse just fine, I even get devID 0 in QEMU, however, when grabbing mouse input inside of qemu, I can't see any mouse movement. Sending 0xEB (Read Data) packet also won't work, it just stalls without any interrupt. Not even an ACK.

How would I go about making it work?