Subject: Re: Framebuffer test kernel
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Marco Trillo <marcotrillo@gmail.com>
List: port-mac68k
Date: 08/31/2007 13:25:38
Hi,

On 8/30/07, Julio M. Merino Vidal <jmmv84@gmail.com> wrote:
> This will hopefully work on all machines with integrated video; i.e.,
> those that previously used 'intvid at obio?'.  It *might* also work
> with those using NuBus cards, but that is completely untested.  That
> does not mean that you should not test it in them!
>
> Note that this indeed supports a color console!  Make sure to change
> your monitor configuration in the Booter to 256 colors (recommended)
> or "millions of colors".  The "thousands of colors" configuration
> will *not* work yet.  Of course, 1-bit will also work.

I tested the kernel on a Macintosh Quadra 700, internal video (no
NuBus video card), with both 256 colors & monochrome.

When booting in 256 color mode, the screen gets odd colors (light
yellow on white) and then the kernel panics after attaching
wsdisplay0:

wsdisplay0 at genfb0 kdbmux 1 [...]
trap type 0, code = 0xa5, v=0x4947818
kernel program counter = 0x1f17d8
kernel: Bus error trap
[...]

(I couldn't get the first part of the dmesg in this setup.)

When booting in 1-bit mode, the screen gets white-on-white colors, and
the effect is the same.
These are the kernel messages when booting with intvid0 and macfb0:

intvid0 at obio0 @ f9001000: DAFB video subsystem, monitor sense 1
intvid0: 640 x 480, monochrome
macfb0 at intvid0


     -Marco