[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Clean resolution switching.



12 dec 2011 kl. 19:48 skrev Christos Tziotzis:

> Hi,
> what is the cleanest resolution switching method for mint + memory protection so that one can exit cleanly and return to desktop without causing any problems to the system?
> Thanks 
> Christos

On the Falcon:

	Cleanest:
		- VsetMode() to save/restore desktop resolution
		- VsetMode() to set the screen resolution

	Safest:
		- DHS demo system to save/restore desktop resolution
		- use code generated using Screens of Pain to set the screen resolution.

	Never set the screen resolution using VsetScreen(), since this will re-initialize the VDI. You can however
	safely use VsetScreen() to set the physical screen base.

On the ST/STE/TT

	Use the XBIOS Setscreen() calls.


That's about it, really.

-- PeP