safe video mode switching

Hi,
I’m working on fixing a problem that was just recently discovered with the
product my company makes. One of the things we do is switch video modes
from 640x480x24 to 320x200x8. I would like to know what is considered a
“safe” method to do so. Currently we slay the video drivers and restart
them in lower resolution.

Thanks,
Ron

Hello Ron,

The way you are switching modes is fine. Slaying and restarting the
driver in a different resolution is how Photon does the switch as
well under QNX4.

Regards,
Dave B.



Ron Cococcia wrote:

Hi,
I’m working on fixing a problem that was just recently discovered with the
product my company makes. One of the things we do is switch video modes
from 640x480x24 to 320x200x8. I would like to know what is considered a
“safe” method to do so. Currently we slay the video drivers and restart
them in lower resolution.

Thanks,
Ron

Ron Cococcia <cococr@cs.rpi.edu> wrote:

Hi,
I’m working on fixing a problem that was just recently discovered with the
product my company makes. One of the things we do is switch video modes
from 640x480x24 to 320x200x8. I would like to know what is considered a
“safe” method to do so. Currently we slay the video drivers and restart
them in lower resolution.

Is fine.

I have two little scripts I use, that slay & restart drivers – I use
them for flipping to textmode & returning to photon without losing all
my windows, configuration, etc.


“textmode”:

slay -Qf Input
slay Pg.rage

“backtophoton”:

inputtrap start
crttrap start


-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.