Subject: Re: current state of TGA?
To: Michael G. Schabert <mikeride@mac.com>
From: B. James Phillippe <bryanxms@ecst.csuchico.edu>
List: port-alpha
Date: 11/02/2001 10:05:27
On Fri, 2 Nov 2001, Michael G. Schabert wrote:
> >On 712506347 seconds since the Beginning of the UNIX epoch
> >"Michael G. Schabert" wrote:
> >>
> >
> >>I recently brought my AS200 back home, as it's been running as a
> >>headless server for quite awhile. I was wondering if there was anything
> >>newer on the TGA front than the year-old mention in the FAQ. Dmesg
> >>gives me:
...
> I'm using a Radius IntelliColor/20 monitor. When booting, SRM
> displays at the 1280*1024, taking up the full screen. Then when
> NetBSD is starting, it switches to what I'm assuming is what Kevin
> described as a "graphical text display", where NetBSD is only taking
> up a small "window" in the center of the screen, prolly 80*35. I'm
> using the snapshot from July, and have downloaded & unpacked all the
Not related to your X problem, but:
I had this exact same console display problem with my NetBSD/alpha box on
an AS/200 with ZLXp-E2 card. I posted here and a fellow reader replied
with a patch that makes my NetBSD display resolution match my SRM/TGA
settings. Also, I obtained another patch posted here that fixed the bad
sync_on_green settings for the bt463 RAMDAC (used on ZLXp-E2). Both of
these bugs are in 1.5.2. If you are running 1.5.2 and want to fix these, I
have inlined both diffs below (they are tiny).
--- dev/pci/tga.c.orig Mon Sep 24 21:43:25 2001
+++ dev/pci/tga.c Mon Sep 24 21:45:21 2001
@@ -332,7 +332,8 @@
}
dc->dc_rinfo.ri_wsfcookie = cookie;
- rasops_init(rip, 34, 80);
+ rasops_init(rip, dc->dc_ht / rip->ri_font->fontheight,
+ dc->dc_wid / rip->ri_font->fontwidth);
/* add our accelerated functions */
/* XXX shouldn't have to do this; rasops should leave non-NULL
--- dev/ic/bt463.c.orig Sun Sep 23 20:42:46 2001
+++ dev/ic/bt463.c Sun Sep 23 20:42:58 2001
@@ -268,7 +268,7 @@
BTWREG(data, BT463_IREG_COMMAND_0, 0x40);
BTWREG(data, BT463_IREG_COMMAND_1, 0x48);
- BTWREG(data, BT463_IREG_COMMAND_2, 0xC0);
+ BTWREG(data, BT463_IREG_COMMAND_2, 0x40);
/*
* Initialize the read mask.
-bp
--
# bryanxms at ecst dot csuchico dot edu Support the American Red Cross
# Software Engineer http://www.redcross.org