I've been using DJGPP
for the first time recently and can't seem to enable mouse support. What's the best way?
Thanks for any help.
I've been using DJGPP
for the first time recently and can't seem to enable mouse support. What's the best way?
Thanks for any help.
Gosh, this takes me back! You need the software interrupt 33H - see http://www.sentex.net/~ajy/mouseint.html, and a tutorial of sorts at http://www.writeka.com/emage/mouse_events.html.
Here's a comprehensive list of Int 0x33 functions here. This is from the Ralph Brown's Interrupt List, which can be found here. Also here's a link to the mouse handler for DJGPP. Also, here's a link to the MSDOS programmer FAQ here, in which you will find the information about the mouse.
Hope this helps, Best regards, Tom.