[Oberon] PO2013 - Oberon mouse location
Paul Reed
paulreed at paddedcell.com
Wed Nov 21 12:43:27 CET 2018
Hi Chris, Tomas,
> 2. Refer to Fig 9.1. 'Format of the mouse register' to work out how to
> encode your x and y values into an integer (w, say) and then call
> SYSTEM.PUT(msAdr, w) where msAdr = -40.
This wouldn't work as there is no hardware for the CPU to write to that
register, it's maintained by the mouse interface hardware in response to
mouse packets being received.
Also I'd be concerned about using a user interface which moves the mouse,
not very friendly and slightly creepy! :)
Cheers,
Paul
More information about the Oberon
mailing list