Mail Archives: djgpp/1998/06/07/14:15:34
> Some days ago, i post a problem because i couldn't map the video
> memory while using any vbe/af implementation. I was using CWSDPMI R4
> but, two days ago, i was having problems using vesa modes provided by
> sdd 6.52 in dos mode with the new cpu k6 but for rest i start playing
> quake I, when i changed from dos into win98 (also i changed my SO in
> the same time i changed the cpu) i was talking about djgpp and then, i
> realised that quake I was made with djgpp so it must have been using
> CWSDPMI but the release was R1... I changed CWSDPMI R4 by CWSDPMI R1
> and i have no more trouble...
There were some changes in the device mapping code between R1 and R4 -
some to make the code force following the DPMI specification more closely
a requirement, some other bug fixes for devices in certain memory ranges.
For example, if the device window returned is in the lower 1Mb range,
R1 would allow you to map it (incorrectly, since it's already mapped...)
while R4 shows an error status.
While there might be an error in R4 (who knows?) I suspect if you look
closely at the return values from each call and compare them to the DPMI
specification, you will find your code needs a slight modification to
work properly.
- Raw text -