diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/app.lds | 15 | ||||
-rw-r--r-- | firmware/drivers/lcd-player-charset.c | 4 |
2 files changed, 13 insertions, 6 deletions
diff --git a/firmware/app.lds b/firmware/app.lds index 46a6ca70fb..34ab1adf66 100644 --- a/firmware/app.lds +++ b/firmware/app.lds | |||
@@ -2,15 +2,17 @@ ENTRY(start) | |||
2 | OUTPUT_FORMAT(elf32-sh) | 2 | OUTPUT_FORMAT(elf32-sh) |
3 | INPUT(crt0.o) | 3 | INPUT(crt0.o) |
4 | 4 | ||
5 | #define PLUGINSIZE 0x8000 | ||
6 | |||
5 | #ifdef DEBUG | 7 | #ifdef DEBUG |
6 | #define DRAMSIZE 0x1f0000 | 8 | #define DRAMSIZE 0x1f0000 - PLUGINSIZE |
7 | #define ORIGADDR 0x09010000 | 9 | #define ORIGADDR 0x09010000 |
8 | #define ENDADDR 0x09200000 | 10 | |
9 | #else | 11 | #else |
10 | #define DRAMSIZE (MEMORYSIZE * 0x100000) | 12 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE |
11 | #define ORIGADDR 0x09000000 | 13 | #define ORIGADDR 0x09000000 |
12 | #define ENDADDR (ORIGADDR + DRAMSIZE) | ||
13 | #endif | 14 | #endif |
15 | #define ENDADDR (ORIGADDR + DRAMSIZE) | ||
14 | 16 | ||
15 | MEMORY | 17 | MEMORY |
16 | { | 18 | { |
@@ -91,6 +93,11 @@ SECTIONS | |||
91 | _topramend = .; | 93 | _topramend = .; |
92 | } > DRAM | 94 | } > DRAM |
93 | 95 | ||
96 | .plugin ENDADDR: | ||
97 | { | ||
98 | _pluginbuf = .; | ||
99 | } | ||
100 | |||
94 | .iram 0xf000000 : AT ( _iramcopy ) | 101 | .iram 0xf000000 : AT ( _iramcopy ) |
95 | { | 102 | { |
96 | _iramstart = .; | 103 | _iramstart = .; |
diff --git a/firmware/drivers/lcd-player-charset.c b/firmware/drivers/lcd-player-charset.c index 523158f49f..df4f3f016d 100644 --- a/firmware/drivers/lcd-player-charset.c +++ b/firmware/drivers/lcd-player-charset.c | |||
@@ -47,7 +47,7 @@ unsigned short new_lcd_rocklatin1_to_xlcd[] = | |||
47 | RESERVED_CHAR, /* 0x01-0x17 reserved */ | 47 | RESERVED_CHAR, /* 0x01-0x17 reserved */ |
48 | RESERVED_CHAR, /* 0x01-0x17 reserved */ | 48 | RESERVED_CHAR, /* 0x01-0x17 reserved */ |
49 | RESERVED_CHAR, /* 0x01-0x17 reserved */ | 49 | RESERVED_CHAR, /* 0x01-0x17 reserved */ |
50 | RESERVED_CHAR, /* 0x01-0x17 reserved */ | 50 | 0x217, /* 0x17 .. "plugin" icon */ |
51 | 0x218, /* 0x18 .. "folder" icon */ | 51 | 0x218, /* 0x18 .. "folder" icon */ |
52 | 0x219, /* 0x19 .. "MOD/AJZ" icon (winlatin o (dote in the middle) */ | 52 | 0x219, /* 0x19 .. "MOD/AJZ" icon (winlatin o (dote in the middle) */ |
53 | 0x21a, /* 0x1a .. "language" icon (winlatin - (a bit longer minus sign) */ | 53 | 0x21a, /* 0x1a .. "language" icon (winlatin - (a bit longer minus sign) */ |
@@ -668,7 +668,7 @@ unsigned char extended_font_player[NO_EXTENDED_LCD_CHARS][8] = { | |||
668 | { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* 14 */ | 668 | { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* 14 */ |
669 | { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* 15 */ | 669 | { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* 15 */ |
670 | { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* 16 */ | 670 | { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* 16 */ |
671 | { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* 17 */ | 671 | { 0x04, 0x1e, 0x07, 0x1f, 0x05, 0x01, 0x06, 0x00}, /* 17 Plugin file icon */ |
672 | { 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00}, /* 18 Folder icon */ | 672 | { 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00}, /* 18 Folder icon */ |
673 | { 0x1f, 0x11, 0x1b, 0x15, 0x1b, 0x11, 0x1f, 0x00}, /* 19 MOD/AJZ icon */ | 673 | { 0x1f, 0x11, 0x1b, 0x15, 0x1b, 0x11, 0x1f, 0x00}, /* 19 MOD/AJZ icon */ |
674 | { 0x00, 0x1f, 0x15, 0x1f, 0x15, 0x1f, 0x00, 0x00}, /* 1a Language icon */ | 674 | { 0x00, 0x1f, 0x15, 0x1f, 0x15, 0x1f, 0x00, 0x00}, /* 1a Language icon */ |