Changes

Kempston Mouse

5 bytes added, 19:54, 1 October 2015
/* I/O decoding */
=== I/O decoding ===
Exact i/o port decoding is not known, the following is the minimum needed . Some possible I/O decoding seems to not clash with other hardwareCPC ports.It seems to be:
I/O port for X position is decoded as xxxx 1011 x011 xxx0 xxx0 (FBEE is normally used) I/O port for Y position is decoded as xxxx 1011 x011 xxx0 xxx1 (FBEF is normally used) I/O port for Buttons is decoded as xxxx 1010 x010 xxx0 xxxx (FAEF is normally used)
In Spectrum interface A10 chooses X,Y. On CPC interface A0 chooses X,Y.
In Spectrum interface A8 chooses buttons or directions. On CPC interface A8 also chooses this.
For CPC A4 must be 0, A11 . For CPC A10 must be 1 and A9 must be 10.
==== Movement ====
2,541
edits