Mouse problems...

How would you write a mouse driver?

Do you know where I could find any tutorials, books, or source code?


I only found one thing relavant to my question, and it says that IRQ 12 (interrupt 74h) is called by the mouse

hardware after each movement, button press, etc... I wrote a ISR to intercept IRQ 12, whipped-up some code to

modify the vector table, and it was never called by the mouse. Am I forgetting something? Is there a bit-flag in

some port that I need to modify?


Mephistopheles


Comments

  • : How would you write a mouse driver?

    : Do you know where I could find any tutorials, books, or source code?


    : I only found one thing relavant to my question, and it says that IRQ 12 (interrupt 74h) is called by the mouse

    : hardware after each movement, button press, etc... I wrote a ISR to intercept IRQ 12, whipped-up some code to

    : modify the vector table, and it was never called by the mouse. Am I forgetting something? Is there a bit-flag in

    : some port that I need to modify?


    : Mephistopheles




    if you want to add mouse support to your own

    programs go get some info

    about interrupt 33h





Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories