nanogui: Thread: Raw hardware VGA driver Q


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Raw hardware VGA driver Q
From: Julian Smart ####@####.####
Date: 7 Jan 2002 15:34:33 -0000
Message-Id: <4.2.0.58.20020107153139.0218bdc0@pop>

Hi,

Has anyone adapted the VGA driver to do more than 4-bit colour on a x86 hardware? I'm interested
to know how hard this would be to get going under eCos. Or maybe > 4-bit colour diverges from known
standards sufficiently to depend on particular video chips. (I don't have a particular video
card in mind right now.)

Thanks,

Julian
-- 
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK. CB1 7EG Tel: +44 (1223) 271063
Subject: Re: [nanogui] Raw hardware VGA driver Q
From: Alan Cox ####@####.####
Date: 7 Jan 2002 15:58:03 -0000
Message-Id: <E16NcIo-0001e7-00@the-village.bc.nu>

> Has anyone adapted the VGA driver to do more than 4-bit colour on a x86 hardware? I'm interested
> to know how hard this would be to get going under eCos. Or maybe > 4-bit colour diverges from known
> standards sufficiently to depend on particular video chips. (I don't have a particular video
> card in mind right now.)

VGA 4bit is somewhat demented. A conventional 4bpp frame buffer (ie nibble
packed and direct access) should be a lot easier in fact
Subject: Re: [nanogui] Raw hardware VGA driver Q
From: Julian Smart ####@####.####
Date: 7 Jan 2002 17:13:44 -0000
Message-Id: <4.2.0.58.20020107165629.062a0ec0@pop>

At 04:07 PM 1/7/02 +0000, Alan Cox wrote:
 >> Has anyone adapted the VGA driver to do more than 4-bit colour on a x86 
 >hardware? I'm interested
 >> to know how hard this would be to get going under eCos. Or maybe > 4-bit 
 >colour diverges from known
 >> standards sufficiently to depend on particular video chips. (I don't have 
 >a particular video
 >> card in mind right now.)
 >
 >VGA 4bit is somewhat demented. A conventional 4bpp frame buffer (ie nibble
 >packed and direct access) should be a lot easier in fact

Right, thanks. Does anyone know of a generic way to address SVGA displays above 640x480x4
(on eCos, not Linux) without having to write a new driver for each video chipset? Or maybe
somone has a sample SVGA driver they might be willing to share.

Regards,

Julian 
-- 
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK. CB1 7EG Tel: +44 (1223) 271063
Subject: Re: [nanogui] Raw hardware VGA driver Q
From: Alan Cox ####@####.####
Date: 7 Jan 2002 17:24:24 -0000
Message-Id: <E16NdeQ-0001su-00@the-village.bc.nu>

> Right, thanks. Does anyone know of a generic way to address SVGA displays above 640x480x4
> (on eCos, not Linux) without having to write a new driver for each video chipset? Or maybe
> somone has a sample SVGA driver they might be willing to share.

There is no generic way to do so, nor is there a generic way to initialise
the chipset (which is generally an even bigger issue). Pretty much all
SVGA chipsets can be initialised into a mode where they provide byte packed
8/16/32bit (paletteised, RGB555/RGB565/RGBA) frame buffers linearly in
memory with exactly the sane layout you would expect (and the existing
drivers expect for Linux framebuffer modes)

Alan
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.