Using libcastor
From Wiz Wiki
libcastor is a minimal hardware library written by Orkie for use on the Wiz. It is a similar concept to Minimal Library, often used on the GP2X, but should be easier to use (without dumbing stuff down). The library allows direct access to various pieces of hardware such as the video hardware, controls and so on.