Libcastor is a minimal library for the Wiz designed to access the hardware as directly as possible.


Updated! Since the last release, I have added 8bit paletted mode support, alpha blending, colour key inversion and colour key transparency. Also available now is some stuff for the RTC. I have changed the framebuffer interface slightly: it now is accessed through lc_fb0 and lc_fb1 rather than plain fb0 and fb1, to avoid naming conflicts with your own code. I have also hidden the internal buffer pointers now because there was no point to them being accessible anyway. The colour key stuff isn’t tested because I don’t know how my 16bit colour values get converted to 24bit internally, but it should all work.

Next to work on: fixing double buffer and implementing some kind of wait for vsync .