summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-04-21 04:29:10 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-04-21 04:29:10 +0000
commitacbe8599b65314729b2a7d094e2b969931aa3290 (patch)
treec458d1e1ccf02bbc4e64e06bba596a3291fe4866 /firmware/export
parent4855006aabd7243ff30903b126560f7790dd74dd (diff)
downloadrockbox-acbe8599b65314729b2a7d094e2b969931aa3290.tar.gz
rockbox-acbe8599b65314729b2a7d094e2b969931aa3290.zip
Add second buffer for YUV blitting, progressbar and FPS display in mpegplayer work correct now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20766 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/dm320.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h
index d6599a6745..a1bbc3cd30 100644
--- a/firmware/export/dm320.h
+++ b/firmware/export/dm320.h
@@ -30,11 +30,13 @@
30#if !defined(__ASSEMBLER__) && !defined(__LD__) 30#if !defined(__ASSEMBLER__) && !defined(__LD__)
31/* These variables are created during linking (app/boot.lds) */ 31/* These variables are created during linking (app/boot.lds) */
32extern unsigned long _lcdbuf; 32extern unsigned long _lcdbuf;
33extern unsigned long _lcdbuf2;
33extern unsigned long _ttbstart; 34extern unsigned long _ttbstart;
34#endif 35#endif
35 36
36#define TTB_BASE_ADDR (_ttbstart) /* End of memory */ 37#define TTB_BASE_ADDR (_ttbstart) /* End of memory */
37#define FRAME ((short *) (&_lcdbuf)) /* Right before TTB */ 38#define FRAME ((short *) (&_lcdbuf)) /* Right after TTB */
39#define FRAME2 ((short *) (&_lcdbuf2)) /* Right after FRAME */
38 40
39#define PHY_IO_BASE 0x00030000 41#define PHY_IO_BASE 0x00030000
40#define DM320_REG(addr) (*(volatile unsigned short *)(PHY_IO_BASE + (addr))) 42#define DM320_REG(addr) (*(volatile unsigned short *)(PHY_IO_BASE + (addr)))
@@ -651,7 +653,7 @@ extern unsigned long _ttbstart;
651#define IO_MEM_STICK_DMA_STATUS DM320_REG(0x0C96) 653#define IO_MEM_STICK_DMA_STATUS DM320_REG(0x0C96)
652 654
653/* ATM : WBB Need to find these Register values */ 655/* ATM : WBB Need to find these Register values */
654#define IO_ATM_ DM320_REG(0x0D00 656#define IO_ATM_ DM320_REG(0x0D00)
655 657
656/* I2C */ 658/* I2C */
657#define IO_I2C_TXDATA DM320_REG(0x0D80) 659#define IO_I2C_TXDATA DM320_REG(0x0D80)