Subject: Re: Configuring the Xamiga server
To: None <hubert.feyrer@rrzc1.rz.uni-regensburg.de>
From: Wendell P Beckwith <wbeckwit@rsa.hisd.harris.com>
List: port-amiga
Date: 11/14/1996 10:32:42
T > > Where is the X-FAQ??  I looked on the ftp site I downloaded netbsd 1.2
 from

 > 
 > check out ftp.uni-regensburg.de:/pub/NetBSD-Amiga/docs aid it's mirrors (in
 the
 > MIRRORS-file).
 > 
 > 
 > Hubert
 > 
 > -- 
 > =============== Hubert Feyrer ==========================================
 >       Weekdays: Rennerstr. 19, D-93053 Regensburg, Tel. 0941/943-1333
 >       Weekends: Bachstr. 40,   D-84066 Mallersdorf, Tel. 08772/6084
 >       Internet: hubert.feyrer@rz.uni-regensburg.de, IRC: hubertf
 > =====================================================================

Thanks for responding, I do have a question or two to ask though.  The grfconfig
 command does not appear to be fore use with the amiga AGA chipset, but is
 instead for people with graphics cards, is that correct?  Also I got the
 following out of the X-FAQ you pointed me to:


----------------------------------------------------------------------
Subject:  56)  How can I change the display resolution for ECS/AGA and
               Xamiga?

 The default resolution for ECS/AGA is 640x400. You can change that
on your current session with:

`iteconfig -x 2 -y -2 -h <your height> -w <your width>` 

with e.g. <your height> = 560 and <your width> = 724.
Refer to `man iteconfig` for a closer description.

 To get this permanent you can change this when you compile your own
kernal. In /usr/src/sys/arch/amiga/dev/ite_cc.c you can change the
following lines:

/* patchable */
int ite_default_x = 2;          /* def leftedge offset */
int ite_default_y = -2;         /* def topedge offset */
int ite_default_width = 724;    /* def width */
int ite_default_depth = 2;      /* def depth */
#if defined (GRF_NTSC)
int ite_default_height = 560;   /* def NTSC height */
#elif defined (GRF_PAL)
int ite_default_height = 560;   /* def PAL height */
#else
int ite_default_height = 560;   /* def NON-PAL/NTSC height (?) */
#endif

 You can also use `binpatch` for those values, e.g.:

`binpatch -s ite_default_width -r 724`

 For Xamiga you have to change /usr/local/X11R6.1/lib/X11/xdm/Xservers
(if you use xdm):

:0 Local local /usr/local/X11R6.1/bin/X -width 724 -height 560 -X 2 -Y -2 -depth
 1

(the -depth 1 means that you are going to run a black & white display.
 I found this to be the only acceptable mode (speedwise). You can change
 it to 2 for 4 colours or 3 for 16 clours.) 

 If you don't use xdm you have to change
/usr/local/X11R6.1/lib/X11/xinit/xserverrc and change it to:

X -width 724 -height 560 -X 2 -Y -2 -depth 1
----------------------------------------------------------------------

I not at my amiga right now so I'm trying to gather as much info as possible so
 I won't waste a night configuring my X setup.  Is this what I need to do to get
 a NON-interlaced looking display?  

Why is the default display demensions of width, 680, and height, 540, smaller
 than DBLNTSC High Res No Flicker with a width of 676 and height of 467 when
 shown on my Commodore 1960 monitor?

Does X/NetBsd treat pixels sizes/dimensions differently?

Wendell