forked from len0rd/rockbox
Grayscale library: (1) Ported to iriver H1x0. Experiments have shown that the intended 49-shade mode isn't possible due to interference between the internal greylevel generation of the LCD and external pixel flipping, so the lib allows 33 shades as on the Archos. The current implementation wastes RAM by not switching the LCD to b&w mode and simply using colours 0 and 3 only. However, this allows to show a partial greyscale overlay and normal 4-shade graphics in parallel. (2) Converted all asm blocks to use symbolic parameters. (3) Properly marked asm input parameters that are changed within the block as in-out and feed them from a temp variable where necessary. (4) Screenshot is not yet working on H1x0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7244 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
988ea2cffc
commit
00866dbf86
6 changed files with 618 additions and 216 deletions
|
@ -1,6 +1,6 @@
|
|||
configfile.c
|
||||
highscore.c
|
||||
#if (CONFIG_LCD == LCD_SSD1815) && !defined(SIMULATOR)
|
||||
#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR)
|
||||
gray_core.c
|
||||
gray_draw.c
|
||||
gray_parm.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue