[Solved] Issues with PS/2 mouse interrupts

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
iProgramInCpp
Member
Member
Posts: 81
Joined: Sun Apr 21, 2019 7:39 am

[Solved] Issues with PS/2 mouse interrupts

Post 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?
Hey! I'm developing two operating systems:

NanoShell --- A 32-bit operating system whose GUI takes inspiration from Windows 9x and early UNIX desktop managers.
Boron --- A portable SMP operating system taking inspiration from the design of the Windows NT kernel.
Post Reply