Pr0f wrote: Thu Jul 25, 2024 8:23 pm
I did wonder if a more limited form of USB support could be possible for the QL
Using the USB "Boot Protocol" with a hardware state machine like I did, is just that.
It appears that the majority of USB cable mice support this solution. No luck with wireless and some fancy gamer mice though.
Pr0f wrote: Thu Jul 25, 2024 8:23 pm
- but it's resource hungry, and the QL doesn't like devices coming and going - so plug and pray may be out of the window too !
Plug & play does work. The hardware just shows zero movement/clicks to the QL side mouse registers while nothing is attached.
I have kept the registers PS/2 compatible, so the same QL mouse driver as normal QIMSI or QIMSI Gold could be used.
The bigger problem is keyboard, as it requires more QL side software work than mouse. In the end, the resulting USB driver would be not more complex than the PS/2 keyboard driver, given the hardware support. The driver is just not there, and the motivation to write it is not very high. Everything works well, people have their PS/2 stuff, so introducing an incompatibility to the existing hardware might cause more harm than good.
But in general, if PS/2 was not already established, using the USB "Boot Protocol" supported by a hardware statemachine and a native driver is something I find acceptable. Looks more "QL style" to me than using an external ARM CPU, 100 times faster than the QL, to handle simple peripherals.