Subject: Re: Enabling Text mode on Graphics
To: None <>
From: Izumi Tsutsui <>
List: tech-kern
Date: 11/02/2003 06:32:09
[please don't attach html mail, and please don't post to unrelated lists.]

In article <> wrote:

> I am working on the Graphic Card 69030(asiliant driver) porting on MIPS
> Board.

Heh, it seems various people are working on the card...

> I need to implement the Text support on Graphics. I am
> implementing the Framebuffer concept, where I have taken the reference
> of the BEBOX Frame Buffer implementation concept.

bebox/pci/pfb.c uses rcons(9), which is deprecated.
You should use rasops(9) instead like arch/dreamcast/dev/pvr.c etc.

> Will the card supports
> the Text mode on Graphics

I guess you should refer hardware manual rather than asking here...
(BTW, what do you mean "the Text mode on Graphics" ?)

> and how to implement in NetBSD?

If the card support the standard VGA features, you can use vga(4)
driver in text mode. Maybe you have to put the card into text mode
in MD consinit(). See sys/arch/arc/arc/c_nec_eisa.c:c_nec_eisa_cons_init()
and sys/dev/ic/vga_subr.c:vga_reset().

> And when I
> call wsdisplay_cnattach() from the attach function of FrameBuffer (This
> is done after the initialization of the Hardware), the code will hung in
> cn_tab of (/dev/wscons/wdisplay.c).

It's hard to comment without code..
(device isn't mapped on KVA correctly? cn_tab isn't initialized?)
Izumi Tsutsui