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 D
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
Ok, I'll stop nagging after this message for a while.
I added to the Makefile:
timer.o:
$(CC) $(CFLAGS) -mgeneral-regs-only -mno-red-zone $< -o $@
And now it compile.
But when run:
Page fault CR2=0042 in RMCB at eip 6; flags=3016
... error=0004
which I believe was what I was receivi
I have been able to rebuild the game using prebult cross-compiler from
build-djgpp project.
When I add __asm__("iret");
program crash as soon as I launch it.
Sorry not having the error now.
I am trying to:
__attribute__((interrupt))
void timer_handler(void *frame)
{
ticks++;
...
but getting
Hi Mercury and Jerome,
I typically do modify the times to reflect the version number. Of
course that's not necessary by any means, but it's a habit I started
doing as a quick and easy contingency to help me in the event of files
becoming crossed, e.g. if I were to accidentally drop files into
about:
https://git.usebox.net/gold-mine-run/tree/src/timer.c
Should the interrupt_handler for 0x1c interrupt, end with an iret?___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user