Search found 5 matches

by tcaud
Sun Feb 21, 2016 6:37 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading mouse ports
Replies: 7
Views: 14308

Re: Reading mouse ports

The keyboard and the mouse read from the same port. And yes, Call ABSOLUTE works everywhere.
by tcaud
Sat Feb 20, 2016 9:29 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading mouse ports
Replies: 7
Views: 14308

Re: Reading mouse ports

I looked into it some more... the problems are intractible in the modern age. Neither Dosbox or NTVDM accurately simulate the PS/2 mouse port, nor do they map USB mice to that port. The only way to access the mouse, now, is by calling the IRQ. Here's the corrected code. It is correct, based on the D...
by tcaud
Fri Feb 19, 2016 5:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading mouse ports
Replies: 7
Views: 14308

Reading mouse ports

I realized it was probably possible to create an ASM-less method of accessing the mouse by polling it directly. This is theoretically straight forward, but it seems like something's in the way. The port (0x60) is always reading either 21 or 28. Running under WinXP SP3 32-bit. (Dosbox doesn't do real...
by tcaud
Fri Feb 19, 2016 6:45 am
Forum: QBASIC and QB64 Questions & Answers
Topic: What replaced All BASIC Code?
Replies: 0
Views: 42520

What replaced All BASIC Code?

I noticed the ABC archives ended in 2003. What replaced them as the recommended way to find new source code examples for BASIC?