Newsgroups: comp.sys.atari.st
Path: utzoo!utgpu!jarvis.csri.toronto.edu!dgp.toronto.edu!juancho
From: juancho@dgp.toronto.edu (John Buchanan)
Subject: Switching resolutions without rebooting.
Illegal-Object: Bad Keywords value found by ZMailer on jarvis.csri.toronto.edu:
	Resolutions(?illegal word in phrase?) . ;
Message-ID: <8811211837.AA23186@explorer.dgp.toronto.edu>
Keywords: Resolutions.
Organization: DGP, CSRI, University of Toronto.
Date: Mon, 21 Nov 88 13:37:36 EST

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.  

	I tried changing the values at 0x44c and 0x44a (No visible change)
and the register at 0xff8260.  The later changed things but did not
completely set up the hardware.

/* this is a copy of my program so far */

#include <osbind.h>
#define REZHOLDER0 ((short *) 0xFF8260L)
#define REZHOLDER1 ((short *) 0x44CL)
#define REZHOLDER2 ((short *) 0x44AL)

main()
	{
	long save_ssp;
	save_ssp = Super(0L);
	* REZHOLDER0 = (*REZHOLDER0
& 0xFFFFFCL) ;
	Super(save_ssp);
	}
/* any help will be appreciated, and paid for by the society for the
prevention of cruelty to dodo's */
                        *
(* question.  If the NDP does win the canadian election, will the CIA ensure
that this leftist govt. so close to the USA is toppled?  Hmmm. *)

* New Democratic Party  is the left most main stream party in CANADA

John W. Buchanan                  Dynamic Graphics Project
               			  Computer Systems Research Institute
				  University of Toronto
(416) 978-6619			  Toronto, Ontario M5S 1A4

BITNET:		juancho@explorer.dgp.utoronto
EAN:		juancho@explorer.dgp.toronto.cdn
UUCP:		...!mcvax!explorer.dgp.toronto.edu!juancho


