Re: [Freedos-user] gminer.exe game needs an emulation friendly wait_vsync()

2023-10-04 Thread Paul Dufresne via Freedos-user
Seems sound work in QEMU if display=sdl but not if display=gtk: https://gitlab.com/freedos1/gold-mine-run/-/issues/2#note_1590502684 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net

Re: [Freedos-user] gminer.exe game needs an emulation friendly wait_vsync()

2023-10-04 Thread Paul Dufresne via Freedos-user
Finally, after trying many things that did not work, I just added a "delay(14);" to wait_vsync function. You should be able to get the exe from: https://gitlab.com/freedos1/gold-mine-run ___ Freedos-user mailing list

Re: [Freedos-user] gminer.exe game needs an emulation friendly wait_vsync()

2023-10-03 Thread Paul Dufresne via Freedos-user
Problem is that wait_vblank is used to add delays for the game: https://gitlab.com/freedos1/gold-mine-run/-/issues/1 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Freedos-user] gminer.exe game needs an emulation friendly wait_vsync()

2023-10-03 Thread Ralf Quint via Freedos-user
On 10/2/2023 5:13 PM, Paul Dufresne via Freedos-user 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

Re: [Freedos-user] gminer.exe game needs an emulation friendly wait_vsync()

2023-10-02 Thread Rugxulo via Freedos-user
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

Re: [Freedos-user]  gminer.exe game needs an emulation friendly wait_vsync()

2023-10-02 Thread Paul Dufresne via Freedos-user
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