Mail Archives: djgpp/1996/07/21/08:46:25
bushwick AT ix DOT netcom DOT com (Peter Rittwage) wrote:
>I recently began converting over some code I had from 320x200 mode 11h to
>VESA 2.0 mode 101h (640x480x256). I used the demo code from VBETEST.C which I
>found on someone's web page.
>I modified the code, which is pretty straighforward, BUT....
>If you remove the line that plots a single pixel in the upper left corner before doing
>anything else to the buffer, it completely resets the computer. What's up with this?
>Plotting a pixel at 0,0 makes VESA work?
In the pixel plot routine, it may also be setting a selector to
address video memory.
When you removed the pixel plotting, you may have removed that also.
Then, when you addressed the buffer, the selector was not set, and you
said goodbye to the system...
Just a guess, but I'd check it out.
Bruce.
- Raw text -