Newsgroups: comp.sys.atari.st
Path: utzoo!lsuc!jimomura
From: jimomura@lsuc.on.ca (Jim Omura)
Subject: Re: Screen Res and MWC
Message-ID: <1990Nov12.223106.12291@lsuc.on.ca>
Organization: Consultant, Toronto
References: <1990Nov9.192002.3248@rodan.acs.syr.edu> <273EB9A7.6545@maccs.dcss.mcmaster.ca>
Date: Mon, 12 Nov 90 22:31:06 GMT

In article <273EB9A7.6545@maccs.dcss.mcmaster.ca> johns@maccs.dcss.mcmaster.ca (Conan the Barbarian) writes:
>In article <1990Nov9.192002.3248@rodan.acs.syr.edu> mjducey@rodan.acs.syr.edu (Matthew J. Ducey) writes:
>>I'm still teaching myself C and I use MWC. Can some one help me with
>>changing the Screen Res? I want to use hotkeys to change res, does anyone
>>have code in MWC that will do this, and that I can have?
>>Matthew
>
>	I would have thought that people would have been all over you to
>tell you that this is impossible.
>	The XBIOS call Setscreen() will change the resolution alright, but
>it will not tell the AES to change the resolution.  The AES and VDI need to
>know that the resolution is being changed, and in current TOS versions, the
>only time this kind of stuff is initialised is during boot-up.

     I don't understand the problem.  Why will the AES and VDI need
to be reinitialized in the other resolution and more than that, why
can't you just 'appl_exit()' and then 'appl_init()' again if it's
necessary?  I've just finished adding a resolution change in a
program to do graphics and I wrote information to the screen without
problems, so that much seems to work ok.  As for the mouse routines,
I don't know how they'll react.  I haven't gotten that far yet.
Is it the windowing subroutines that'll muck up?

Cheers! -- Jim O.


-- 
Jim Omura, 2A King George's Drive, Toronto, (416) 652-3880
lsuc!jimomura
Byte Information eXchange: jimomura
