Mouse cursor positioning doesn't really work, I tried writing 184-187 variables:
instead, it jumps to the area of 144,500, the coordinate in the status queue is written down, Y is not updated until I reach the mouse.
can I somehow set the range where the mouse cursor can move? (eg it cannot be pulled out to the edge of the screen).
I must clarify some facts about the Mouse driver.
It is a piece of code inherited from the early Enterprise era, probably with a lot of errors, then modified by a lot of coders before it arrived to me.
It was just the necessity what make me try to fix the driver to work with the EnterMice adapter. I am not a coder but I tried to learn. While merging three versions of the driver probably I have introduced some errors..., and this is one of them.
Yes, the cursor positioning didn't work, although in this last version it seems to be fixed. Only I must replicate the two pointers error to finish it.
"Wrong" coordinates are another theme. Internal driver coordinates work at real pixels, not like EXOS graphics coordinates. It is not my fault, the coders at Boxsoft made the driver as it is. Then, in your cursor positioning, the pointer is drawn at the correct point, but the system "X" coordinate is exactly double. Not a big problem, you only have to divide by two to know the real pixel position. But this driver is made for all the graphic modes(and text modes, introduced by me), so better you must know how to deal with the mouse driver coordinates before to write your Basic(or other language) program.
"Y" mouse driver coordinates have the same problem, but to make things worse they start at the left upper corner, contrary to the system graphics coordinates. Again, not a great problem, you only have to subtract the "Y" coordinate from the total pixel height of the video page.
A mouse channel always has to be associated to a video page channel, and its dimensions are the limits to the pointer movement. One of my last modifications to the driver was that any modification to the dimensions of the video page would invalidate the mouse channel(I can't close a channel inside an interruption).
Then, you can't position the pointer outside of the video page coordinates, and so, a part of it is shown at the left side when it touches the right side. The upper tip of the harrow marks the pixel coordinates.
On the other side, the driver is very well written. It doesn't care the dimensions of the video page, it works even on a 1x1 character window.... And although only one mouse channel can be opened, you can alternate the use of the mouse between several video pages very fast, as it is done on the Paintbox program.
I am willing to answer all your questions.