minor fix with 256KB wrapping in VGA modes