Subject: Re: Enabling Text mode on Graphics
To: None <Swamy@soc-soft.com>
From: Izumi Tsutsui <firstname.lastname@example.org>
Date: 11/02/2003 06:32:09
[please don't attach html mail, and please don't post to unrelated lists.]
In article <E519BE9E8DAC6A4B89DA4AD1D2A155B73DD88E@soc-mail.soc-soft.com>
> I am working on the Graphic Card 69030(asiliant driver) porting on MIPS
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 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?)