A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

M:Robe 500: Start Building at 640x480 by default.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22216 a1c6a512-1295-4272-9138-f99709370657

+19 -7
+13 -3
firmware/export/config-mrobe500.h
··· 68 68 /* LCD dimensions */ 69 69 #define CONFIG_LCD LCD_MROBE500 70 70 71 - #if 0 71 + /* These defines are used internal to this header */ 72 + #define _LCD_RES_QVGA 1 73 + #define _LCD_RES_VGA 2 74 + #define _LCD_PORTRAIT 1 75 + #define _LCD_LANDSCAPE 2 76 + 77 + /* Setup the resolution and orientation */ 78 + #define _RESOLUTION _LCD_RES_VGA 79 + #define _ORIENTATION _LCD_LANDSCAPE 80 + 81 + #if _RESOLUTION == _LCD_RES_VGA 72 82 #define LCD_NATIVE_WIDTH 480 73 83 #define LCD_NATIVE_HEIGHT 640 74 84 #else ··· 77 87 #endif 78 88 79 89 /* choose the lcd orientation. CONFIG_ORIENTATION defined in config.h */ 80 - #if 0 90 + #if _ORIENTATION == _LCD_PORTRAIT 81 91 /* This is the Portrait setup */ 82 92 #define LCD_WIDTH LCD_NATIVE_WIDTH 83 93 #define LCD_HEIGHT LCD_NATIVE_HEIGHT ··· 183 193 /* Define this if you have a Texas Instruments TSC2100 touch screen */ 184 194 #define HAVE_TSC2100 185 195 186 - #ifndef SIMULATOR 196 + #if !defined(SIMULATOR) 187 197 188 198 /* M66591 register base */ 189 199 #define M66591_BASE 0x60000000
-2
firmware/target/arm/tms320dm320/app.lds
··· 65 65 { 66 66 *(.rodata) /* problems without this, dunno why */ 67 67 *(.rodata*) 68 - *(.rodata.str1.1) 69 - *(.rodata.str1.4) 70 68 . = ALIGN(0x4); 71 69 } > DRAM 72 70
+6 -2
firmware/target/arm/tms320dm320/system-dm320.c
··· 272 272 #ifdef CREATIVE_ZVx 273 273 dma_init(); 274 274 #endif 275 - 275 + 276 + #define LCD_FUDGE LCD_NATIVE_WIDTH%32 277 + #define LCD_BUFFER_SIZE ((LCD_NATIVE_WIDTH+LCD_FUDGE)*LCD_NATIVE_HEIGHT*2) 278 + #define LCD_TTB_AREA ((LCD_BUFFER_SIZE>>19)+1) 279 + 276 280 /* MMU initialization (Starts data and instruction cache) */ 277 281 ttb_init(); 278 282 /* Make sure everything is mapped on itself */ ··· 280 284 /* Enable caching for RAM */ 281 285 map_section(CONFIG_SDRAM_START, CONFIG_SDRAM_START, MEM, CACHE_ALL); 282 286 /* enable buffered writing for the framebuffer */ 283 - map_section((int)FRAME, (int)FRAME, 1, BUFFERED); 287 + map_section((int)FRAME, (int)FRAME, LCD_TTB_AREA, BUFFERED); 284 288 #ifdef CREATIVE_ZVx 285 289 /* mimic OF */ 286 290 map_section(0x00100000, 0x00100000, 4, CACHE_NONE);