Hi, I'm not very knowledgeable about systems programming or DPMI, but I don't think you can (normally) access ports under ring 3 (e.g. CWSDPMI). Try CWSDPR0.EXE (ring 0) or WDOSX (run "stubit") instead. Who knows what this was tested under (Win9x? JEMM386?).
On Mon, Oct 2, 2023 at 7:14 PM Paul Dufresne via Freedos-user <freedos-user@lists.sourceforge.net> wrote: > > I discovered that if I comment out the two while (in vga.c): > void wait_vsync() > { > //while (inportb(0x3da) & 8); > //while (!(inportb(0x3da) & 8)); > } > > Then the game under dosbox run just like under VirtualBox. > > I have tried all the available options for emulated graphics "card" under > VirtualBox... no change. > > So... I guess what I/we need, is a more emulation friendly wait_vsync() > function. _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user