raydac / zxpoly

a multi-CPU ZX-Spectrum 128 concept platform
GNU General Public License v3.0
91 stars 9 forks source link

Kempston Mouse pointer doesn't move #88

Closed Alessandro1970 closed 1 year ago

Alessandro1970 commented 1 year ago

Hi, I cannot succeed in moving or using the mouse pointer with this Kempston mouse interface driver for Spectrum BASIC. [Preferences: kempston mouse allowed ON - Trap Mouse ON] Can someone tell me how I may move the pointer ? README.zip

mouse.zip More info here: https://spectrumcomputing.co.uk/entry/14620/ZX-Spectrum/Kempston_Mouse_Interface_Driver or here: https://k1.spdns.de/Vintage/Sinclair/82/Peripherals/Mouse%20Interfaces/Kempston%20Mouse%20Interface/Kempston%20Mouse%20Interface%20Driver/

Untitled 2

Alvarez81 commented 1 year ago

@raydac It does not work to me too, it should show an arrow not a mouse with "ESC" word.

PakkunKinoppi commented 1 year ago

It doesn't even work for me, I tried it with Speccy emulator and it immediately shows the mouse arrow, but this doesn't grab the mouse.

raydac commented 1 year ago

I use ports for kempston mouse 0xFBDF - X 0xFFDF - Y 0xFADF - button

in provided program, in basic listing I don't see any port reading, it reads some ram cells in 60000, 60827, 60828, may be something should read mouse coords and write there? may bne some special basic version?

Alessandro1970 commented 1 year ago

This mouse.z80 program does not work well with emulators BTW the mouse.drv loads fine and can be used if needed.

The ZxPoly works well in mouse Kempstone emulation, the right app to be used to is this: KempstonToolkit.zip

Mouse