Changes
/* Get mouse position on screen */
maxY = 399
# centering the mouse pointer on the screen
virtualX = maxX >> 1 # virtualX = maxX/2 virtualY = maxY >> 1 # virtualY = maxY/2
# store raw mouse values
oldX = inp(&FBEE)
elif virtualY > maxY: virtualY = maxY
# now we translate position from the virtual screen to the current CPC screen mode
mouseY = virtualY >> 1 # mouseY = virtualY/2
if graphicsMode == 2: mouseX = virtualX
elif graphicsMode == 1: mouseX = virtualX >> 1 # mouseX = virtualX/2 elif graphicsMode == 0: mouseX = virtualX >> 2 # mouseX = virtualX/4
== Manual ==