Fixed PIT, added some VGA and MM functions.