Archived

This topic is now archived and is closed to further replies.

filisoft

Mouse driver

Recommended Posts

filisoft    130
Some time ago I started working on a mouse driver (for my little OS). One that installs itself in int 0x33 and provides mouse services to other DOS programs. Thinking that PS/2 mice are easier to program, I installed a interrupt routine on int 0x74, and started waiting for something to happen. But nothing happened. Asking my friends I found out that I had to enable something in the Keyboard Controller, but no one knew what. Then I tried the serial mouse. The same story (with other interrupts, ofcourse). One more thing: if I install another mouse driver, and then mine, it all works. This makes me think that I''m not making some init''s right (at the moment I''m not making any init''s at all...) Does anybody know what I have to do to make my driver work? If I ask about USB mouse, I''m exagerating, right? Have FUN, FILI

Share this post


Link to post
Share on other sites
guppy    330
This seems usefull..

http://www.epanorama.net/documents/pc/mouse.html



/Please excuse my bad spelling - My native language is binary not english
|Visit me
\Take my advice - I don''''t use it...

Share this post


Link to post
Share on other sites
filisoft    130
Well, it''s not that usefull because I already knew that, but thanks anyway. What I''m, looking for is a way to init the serial or PS/2 port, not the data format.

Have FUN,
FILI

Share this post


Link to post
Share on other sites