diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 03:21:18 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 03:21:18 +0000 |
commit | 4fa96fbc914ae8fd69aedafd73f4f1798679d29f (patch) | |
tree | ea0deb3e1573e1dfd540441002e58b403670d178 /firmware/export/config-mrobe500.h | |
parent | a606121dd860245328198ac773d454980191abc3 (diff) | |
download | rockbox-4fa96fbc914ae8fd69aedafd73f4f1798679d29f.tar.gz rockbox-4fa96fbc914ae8fd69aedafd73f4f1798679d29f.zip |
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
Diffstat (limited to 'firmware/export/config-mrobe500.h')
-rw-r--r-- | firmware/export/config-mrobe500.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h index d5d31ffc41..25699bd005 100644 --- a/firmware/export/config-mrobe500.h +++ b/firmware/export/config-mrobe500.h | |||
@@ -41,6 +41,9 @@ | |||
41 | /* define this if you have a colour LCD */ | 41 | /* define this if you have a colour LCD */ |
42 | #define HAVE_LCD_COLOR | 42 | #define HAVE_LCD_COLOR |
43 | 43 | ||
44 | /* define this if you want album art for this target */ | ||
45 | //#define HAVE_ALBUMART | ||
46 | |||
44 | /* define this if you have access to the quickscreen */ | 47 | /* define this if you have access to the quickscreen */ |
45 | #define HAVE_QUICKSCREEN | 48 | #define HAVE_QUICKSCREEN |
46 | 49 | ||
@@ -58,14 +61,22 @@ | |||
58 | 61 | ||
59 | /* choose the lcd orientation. both work */ | 62 | /* choose the lcd orientation. both work */ |
60 | /* #define CONFIG_ORIENTATION SCREEN_PORTRAIT */ | 63 | /* #define CONFIG_ORIENTATION SCREEN_PORTRAIT */ |
61 | #define CONFIG_ORIENTATION SCREEN_LANDSCAPE | 64 | #define CONFIG_ORIENTATION SCREEN_PORTRAIT |
65 | |||
66 | #if 1 | ||
67 | #define NATIVE_MAX_WIDTH 480 | ||
68 | #define NATIVE_MAX_HEIGHT 640 | ||
69 | #else | ||
70 | #define NATIVE_MAX_WIDTH 240 | ||
71 | #define NATIVE_MAX_HEIGHT 320 | ||
72 | #endif | ||
62 | 73 | ||
63 | #if CONFIG_ORIENTATION == SCREEN_PORTRAIT | 74 | #if CONFIG_ORIENTATION == SCREEN_PORTRAIT |
64 | #define LCD_WIDTH 480 | 75 | #define LCD_WIDTH NATIVE_MAX_WIDTH |
65 | #define LCD_HEIGHT 640 | 76 | #define LCD_HEIGHT NATIVE_MAX_HEIGHT |
66 | #else | 77 | #else |
67 | #define LCD_WIDTH 640 | 78 | #define LCD_WIDTH NATIVE_MAX_HEIGHT |
68 | #define LCD_HEIGHT 480 | 79 | #define LCD_HEIGHT NATIVE_MAX_WIDTH |
69 | #endif | 80 | #endif |
70 | 81 | ||
71 | #define LCD_DEPTH 16 /* 65k colours */ | 82 | #define LCD_DEPTH 16 /* 65k colours */ |
@@ -80,10 +91,6 @@ | |||
80 | should be defined as well. */ | 91 | should be defined as well. */ |
81 | #define HAVE_LCD_SLEEP | 92 | #define HAVE_LCD_SLEEP |
82 | 93 | ||
83 | /* We don't use a setting but a fixed delay after the backlight has | ||
84 | * turned off */ | ||
85 | #define LCD_SLEEP_TIMEOUT (5*HZ) | ||
86 | |||
87 | /* remote LCD */ | 94 | /* remote LCD */ |
88 | //#define HAVE_REMOTE_LCD | 95 | //#define HAVE_REMOTE_LCD |
89 | #define LCD_REMOTE_WIDTH 79 | 96 | #define LCD_REMOTE_WIDTH 79 |