cleaned up DOSBox integration to use function pointers when executing DOSKit code