View Single Post
Old 03-22-2013, 02:21 AM   #6
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,491
Karma: 5977000
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
so...

/sys/class/graphics/fb0/stride gives us our X width (I think...)

on the 3

[root@kindle root]# cat /sys/class/graphics/fb0/stride
300

on the 4

[root@kindle root]# cat /sys/class/graphics/fb0/stride
600

So that looks right anyways...

I guess at this point we either have to choose to shift everything Left by stepping "so many to the right" and copying them "So many to the left..." and just forget about the bit on the right... or actually "wrap around" values like on an old broken TV...

Let's have a look back up at how GM was doing that...

Oh! and it's 8 bits per pixel. Now IIRC Hawhill said on the Kindle 4 that the lower 4 bits are just copied into the upper 4 bits... so we need to see if there is any "nibble" switching that we need to fiddle with at some point too... (I think that is what he called it)

EDIT. meh no I dont think so... just be careful to step in the correct increments I guess.

Last edited by twobob; 03-22-2013 at 03:26 AM.
twobob is offline   Reply With Quote