🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #35174

Re: Switching resolutions without rebooting.

#35174
From: Ken Soohoo
Date: Tue, 22 Nov 1988 17:03
24 lines
1851 bytes
In article <8811211837.AA23186@explorer.dgp.toronto.edu> juancho@dgp.toronto.edu (John Buchanan) writes:
>I am trying to develop a lowrez program, the problem is that i hate 40
>column screens.  What I tried to do this morning was to write two quick
>hacks.  The first low.c was to switch me into low resolution and the other
>medium was to switch me into medium resolution.  Needless to say( otherwise
>I would not be posting this)  I did not achieve my goals.  
>
>
>John W. Buchanan                  Dynamic Graphics Project
>               			  Computer Systems Research Institute

John,
If you're trying to change resolutions and use GEM with the 'new' res,
it can't be done without a reboot (well, desktop isn't happy, but some
things do work). If all you want to do is write your program in 80 columns,
then have the program switch you into low res to run, and then switch back
out when you're finished -- and as long as you don't mind dealing with a
slightly confused GEM, all you've gotta do is use Setscreen(-1l, -1l, 0);
to get into low res, and then Setscreen(-1l, -1l, 1); to get back!

--Kenneth Soohoo	(soohoo@cory.Berkeley.Edu)
  Atari 400/800/600xl/800xl/1200/130xe/65xe, 1040ST hacker
  Sometime Berkeley Student, othertimes...
  My opinions are my OWN, not necessarily Atari's
Technical Details
Message-ID: <7677@pasteur.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!ucbvax!pasteur!cory.Berkeley.EDU!soohoo
References: <8811211837.AA23186@explorer.dgp.toronto.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!ucbvax!pasteur!cory.Berkeley.EDU!soohoo
From: soohoo@cory.Berkeley.EDU (Ken Soohoo)
Newsgroups: comp.sys.atari.st
Subject: Re: Switching resolutions without rebooting.
Keywords: Resolutions.
Message-ID: <7677@pasteur.Berkeley.EDU>
Date: 22 Nov 88 17:03:46 GMT
References: <8811211837.AA23186@explorer.dgp.toronto.edu>
Sender: news@pasteur.Berkeley.EDU
Reply-To: soohoo@cory.Berkeley.EDU.UUCP (Ken Soohoo)
Organization: University of California, Berkeley
Lines: 24