: Everywhere I look, I see a mouse program that is created using
: Call Absolute and Call Interrupt function. Where can I get
: a Qbasic program that requires a serial mouse and accesses
: the mouse port directly without requiring any other file?
I have two PBDOS3.5 serial mouse driver demos.
They use an inline asm port polling routine to
get the "mouse packets". One demo is for 2-button
and the other for 3-button mice. These don't
require any BIOS/DOS or other interrupt calls,
nor external drivers or other files. The asm
portions should be easy to translate to basic.
Let me know if you have any questions.
(the odd choice of file names is because the
3-button demo was an after-thought)