some work on the VGA driver