implemented text-mode VGA driver