Photon work in 4BPP\2BPP\1BPP mode?

Good Day!
Can Photon work in 4 or 2 or 1 bit per pixel mode?
I have on my target, gray scale LCD, after reading of help documentation,
I see that Photon can work only with 8BPP and above. I must write own
graphical driver and FFB?
What’s I must write, this is possible to work with Photon and 1/2/4 BPP?
Please give me You advise.
Good Luck!
Andrey.

Andrey <n_molodov@fromru.com> wrote:

Good Day!
Can Photon work in 4 or 2 or 1 bit per pixel mode?
I have on my target, gray scale LCD, after reading of help documentation,
I see that Photon can work only with 8BPP and above. I must write own
graphical driver and FFB?
What’s I must write, this is possible to work with Photon and 1/2/4 BPP?
Please give me You advise.

You should be able to do 4bpp with relatively little difficulty.
You will have to write your own driver, but you can use the vga
driver (in the graphics DDK) as an example of how a 4bpp
display can be supported.

Cheers,
Dave

Good Luck!
Andrey.

Thank You for answer. I found in DDK vga example for 4BBP.
I understand what I must do: use FFB for 8BBP and then do _flushrect() -
call my own function for transwer data from shadow video RAM to display
frame buffer. I must take only last 4 bit’s from shadow two byte’s and
packed
it in my one display byte, i.e. convert 8 bit per pixel in 4 bit per pixel
by
truncate most 4 bits of shadow RAM byte.

Best REGARDS.! Andrey.



David Donohoe wrote:

Andrey <> n_molodov@fromru.com> > wrote:
Good Day!
Can Photon work in 4 or 2 or 1 bit per pixel mode?
I have on my target, gray scale LCD, after reading of help documentation,
I see that Photon can work only with 8BPP and above. I must write own
graphical driver and FFB?
What’s I must write, this is possible to work with Photon and 1/2/4 BPP?
Please give me You advise.

You should be able to do 4bpp with relatively little difficulty.
You will have to write your own driver, but you can use the vga
driver (in the graphics DDK) as an example of how a 4bpp
display can be supported.

Cheers,
Dave

Good Luck!
Andrey.