the framebuffer info in a1200 looks like this :
open /dev/fb0 successfully !
framebuffer fixed info --->
cardid :
smemstart : 0x5c001000
smemlen ; 0x72000
type ; 0
visual : 2
line_len : 720
framebuffer var info --->
xres : 240
yres : 320
xres_virtual : 240
yres_virtual : 644
xoffset : 0
yoffset : 0
bpp : 18
width : -1
height : -1
color start : daadc93
color length : 40000614
i also test on real linux, outputs looks like yres == yres_virtual.
what's does the yres_virtual used for ? sorry for my limited knowledge
in framebuffer operate.
line_len : 720
means 240x3, screen width 240, 3 bytes per pixel. i have checked that
the 18bpp format in a1200 is 6x6x6 just like 24bpp 8x8x8, different is
sys would dismiss the high 2 bits of color value.




Reply With Quote