OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 16, 2024 12:52 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [Solved] Issues with PS/2 mouse interrupts
PostPosted: Wed May 27, 2020 2:52 pm 
Offline
Member
Member

Joined: Sun Apr 21, 2019 7:39 am
Posts: 76
[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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 69 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group