Subject: Re: Resolutions in Xamiga24
To: Jim Alexander <jma@cse.ucsc.edu>
From: None <mw@eunet.ch>
List: amiga-x
Date: 01/22/1995 15:16:57
> My system is an A3000T with a Retina Z3 board.  I grabbed Xamiga24
> and have a question about it.  Right now, the X server creates a
> virtual 1280x1024 screen about 4 times the physical dimensions of my
> monitor (which is a Sony 15sf).  Is there any way to get the server
> to use, say, a 1028x768 screen that fits on my monitor (hopefully
> at 56.5kHz x 70Hz)?  I would prefer that the Xserver not open a
> virtual screen at all; I can use fvwm for more real estate.  Has
> anyone done this?

Change monitor definitions in grf_rh.c. For example, the following
entry
  /* 640 x 480, 8 Bit, 38366 Hz, 76 Hz */
 { 31000000,  0,  640, 480,  161,169,182,198,197, 481, 482, 490, 502, 502,
     8, RZ3StdPalette,1280,1024,  5120,   FX,    FY, KERNEL_FONT,   32,  255},
will implement a 1024x768 screen in changed to:
  /* 640 x 480, 8 Bit, 38366 Hz, 76 Hz */
 { 31000000,  0,  640, 480,  161,169,182,198,197, 481, 482, 490, 502, 502,
     8, RZ3StdPalette,1024, 768,  5120,   FX,    FY, KERNEL_FONT,   32,  255},
                      ^^^^^^^^^
You can change any monitor definition in that way, but keep in mind to keep
the horizontal value a multiple of 32 (or 16, at least). I think the VGA
chip won't like you if you don't follow this rule :-)

-Markus
-- 
EUnet Switzerland   Tel:     +41 1 291 45 80	Markus Wild
Zweierstrasse 35    Hotline: +41 1 291 45 60	mw@eunet.ch
CH-8004 Zuerich	    Fax:     +41 1 291 46 42	S=mw;P=EUnet;A=EUnet;C=CH
>Solaris 2 is not an upgrade from Solaris 1. They just want you to THINK it is.