Initial attempt at implementing ModeX/planar VGA support
(still needs some work)