Mouse support

Now with the first application, a lot of work has been going into fixing the CPU bugs, and implementing missing toolbox APIs one by one as required by the test application. In middle of this though, we added one feature which is quite important to a graphical system: Mouse support.

There’s not much to tell about this new feature, as technically the implementation is pretty trivial, with mouse hardware abstraction and new mouse low mem globals.

Hopefully we can soon use the mouse support for something cool.

A simple mouse input test in the testbed. This test prints the coordinates and button state at mouse location, with text inverted when button is held down.