robinsonb5 / DeMiSTify

Code to support porting MiST cores to other boards.
GNU General Public License v3.0
44 stars 14 forks source link

is the mouse working on mist_io? #6

Closed rampa069 closed 2 years ago

rampa069 commented 2 years ago

Seems that the mouse does not work. does the mouse work on your zxspectrum demistified core?

robinsonb5 commented 2 years ago

I haven't had an opportunity to test it with that core yet - can you recommend some Spectrum software for testing?

It'll probably need the PS/2 mouse initialisation code from the MiSTery core, so it's probably time to move that code into DeMiSTify so it's availble to any core which can use it.

rampa069 commented 2 years ago

Here you can find some conversions using joystick (eg minesweeper) https://velesoft.speccy.cz/kmsoft.htm

robinsonb5 commented 2 years ago

Awesome, thanks. I remember now - the Atari ST core is capable of handling raw PS/2 clk / data signals, so I wire it directly to the PS/2 port, and the firmware only needs to send the mouse initialisation bytes. Other cores will need the incoming mouse data sent to the user_io block, which doesn't currently happen, but will very soon. (As soon as I've stopped playing Operation Wolf!)

rampa069 commented 2 years ago

Awesome, thanks. I remember now - the Atari ST core is capable of handling raw PS/2 clk / data signals, so I wire it directly to the PS/2 port, and the firmware only needs to send the mouse initialisation bytes. Other cores will need the incoming mouse data sent to the user_io block, which doesn't currently happen, but will very soon. (As soon as I've stopped playing Operation Wolf!)

doing the same than in atari now on QL. Seems i can read the mouse. but still very imprecise. Be carefull with operation wolf. its very adictive :-)

robinsonb5 commented 2 years ago

I've just pushed an update to both DeMiSTify and the Speccy core. Kempston mouse works for me on de10lite, though some of the converted games need to be in +2/+3 mode to work.

rampa069 commented 2 years ago

Tested and working. Thanks!