mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
M:Robe 500i: More LCD initialization, and beginnings of support for QVGA as well as VGA on the LCD. MPEGPlayer now works with reasonable performance on smaller videos, but YUV blitting persists after MPEGPlayer is left, some cleanup/changes to the initialization code. This should be functionally equivalent for the ZVM, but the #ifdef's may need to be added back for app.lds. Get the bootloader building again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20598 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a606121dd8
commit
4fa96fbc91
10 changed files with 238 additions and 173 deletions
|
|
@ -41,6 +41,9 @@
|
|||
/* define this if you have a colour LCD */
|
||||
#define HAVE_LCD_COLOR
|
||||
|
||||
/* define this if you want album art for this target */
|
||||
//#define HAVE_ALBUMART
|
||||
|
||||
/* define this if you have access to the quickscreen */
|
||||
#define HAVE_QUICKSCREEN
|
||||
|
||||
|
|
@ -58,14 +61,22 @@
|
|||
|
||||
/* choose the lcd orientation. both work */
|
||||
/* #define CONFIG_ORIENTATION SCREEN_PORTRAIT */
|
||||
#define CONFIG_ORIENTATION SCREEN_LANDSCAPE
|
||||
#define CONFIG_ORIENTATION SCREEN_PORTRAIT
|
||||
|
||||
#if 1
|
||||
#define NATIVE_MAX_WIDTH 480
|
||||
#define NATIVE_MAX_HEIGHT 640
|
||||
#else
|
||||
#define NATIVE_MAX_WIDTH 240
|
||||
#define NATIVE_MAX_HEIGHT 320
|
||||
#endif
|
||||
|
||||
#if CONFIG_ORIENTATION == SCREEN_PORTRAIT
|
||||
#define LCD_WIDTH 480
|
||||
#define LCD_HEIGHT 640
|
||||
#define LCD_WIDTH NATIVE_MAX_WIDTH
|
||||
#define LCD_HEIGHT NATIVE_MAX_HEIGHT
|
||||
#else
|
||||
#define LCD_WIDTH 640
|
||||
#define LCD_HEIGHT 480
|
||||
#define LCD_WIDTH NATIVE_MAX_HEIGHT
|
||||
#define LCD_HEIGHT NATIVE_MAX_WIDTH
|
||||
#endif
|
||||
|
||||
#define LCD_DEPTH 16 /* 65k colours */
|
||||
|
|
@ -80,10 +91,6 @@
|
|||
should be defined as well. */
|
||||
#define HAVE_LCD_SLEEP
|
||||
|
||||
/* We don't use a setting but a fixed delay after the backlight has
|
||||
* turned off */
|
||||
#define LCD_SLEEP_TIMEOUT (5*HZ)
|
||||
|
||||
/* remote LCD */
|
||||
//#define HAVE_REMOTE_LCD
|
||||
#define LCD_REMOTE_WIDTH 79
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue