Subject: Re: 32k colours Xarm
To: None <port-arm32@NetBSD.ORG>
From: Robert Black <r.black@ic.ac.uk>
List: port-arm32
Date: 01/29/1997 15:21:18
On Jan 29,  2:18pm, Peter Teichmann wrote:
> Subject: 32k colours Xarm
> Some days ago I tried to run X with 32k colours. I used
> setdisplay -x 800 -y 600 -f 63 -c 16 (I have only 1 MB VRam) This video mode
> runs happily under RiscOS. The MDF is the same as under RiscOS. I started X
> right after setdisplay.
>
> But I only got rubbish to see, even when I decreased resolution to 640*480.
>
> When I used 640*480*32k, I got the following to see on the screen:
>
>
>  ##### 320 pixel #########   ################ 320 pixel ####################
>  ---------------------------------------------------------------------------
> | 1st half of 1st line     '  colour of last pixel of 1st half of 1st line  |
> | 2nd half of 1st line     '  colour of last pixel of 2nd half of 1st line  |
> | 1st half of 2nd line     '  colour of last pixel of 1st half of 2nd line  |
> | 2nd half of 2nd line     '  colour of last pixel of 2nd half of 2nd line  |
> .                                                                           .
> .                                                                           .
> .                                                                           .
> | 1st half of 240th line   '  colour of last pixel of 1st half of 240th line|
> | 2nd half of 240th line   '  colour of last pixel of 2nd half of 240th line|
>  ---------------------------------------------------------------------------
>
> The display was syncing correctly and was stable.
>
> And when using 800*600*32k, it is nearly the same, but the VIDC doesn't seem
> to get the right starting point of the line. It often starts some pixels to
> late and looks like this: (In RiscOS the video mode works !)
>
> *****************************************
>    *****************************************
>  *****************************************
>   *****************************************
>
> But the colours are always ok. Only in startup screen they are wrong and
> show nearly all 32k colours possible.
>
> Does anyone know why it doesn't work?

Right, the only resolution (known to be) supported at 32k colours is 1024x768.
Sorry. I saw that there was a syncing problem at 800x600 so I didn't bother
fixing it and left it until after the console rewrite.

Cheers

Rob