Qbasicnews.com

Full Version: SVGA modes and ATI : a solution, but...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I switch to SVGA modes with the ATI graphic card of my machine (under XP), the screen is messed up when I quit QB.

By chance, I downloaded a demo from http://www.farb-rausch.com
called "The Product". It's based on DirectX 8.0.

Let's say I've just run an SVGA prog with QB, and the screen is messed up. If I run the farb-rausch demo, and I come back to XP, the screen is OK !!!!!

That means there is a video mode switching in this demo that resets the video board to its original state.

Can anybody tell me what I should add to my QB Vesa progs to have the same benefic effect ?
Doesn't
Code:
SCREEN 0: WIDTH 80
do that for you?
Yeah, the latest ATI real mode vesa bioses are screwed. Nothing you can do about it.
Remember it's Windows task manager behind the back of DOS. So probably there is nothing you can do in DOS...
However I thinK there are functions in VESA standard to calculate space to save screen parameters, do actually the saving an to recover the parameters. You could experiment with that....
But....
Idea!!!
You could render your images to EMS and simply copy them to screen at intervals and/or at the end of the rendering. So it would'nt mater if you switched tasks during the rendering....Another Sub-lib for TCLib!!!
Yes, I know I have to study that EMS-XMS stuff... I got some tutorials about that, it's just a matter of time Smile