Mail Archives: djgpp/1993/06/07/23:55:45
I ran both my compiled version of GO32 1.10 (which works with graphics) and
the distributed version of GO32 1.10 (which doesn't work with graphics) in
a real mode debugger and have found out why one works and the other doesn't.
The problem is with the way the compilers handle inline assembler mixed with
an assignment statement to prev_es in routine graphics_mode in graphics.c .
This modification was introduced with the VESA support modifications.
The assignment to prev_es uses AX as a temporary register in DJ's
distributed version, wiping out the value that should be sent to the
graphics driver.
The fix is to back out the VESA stuff (or fix it) in graphics.c
- Raw text -