summaryrefslogtreecommitdiff
path: root/firmware/export/dm320.h
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/dm320.h
parent4855006aabd7243ff30903b126560f7790dd74dd (diff)
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/dm320.h')
-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 @@
#if !defined(__ASSEMBLER__) && !defined(__LD__)
/* These variables are created during linking (app/boot.lds) */
extern unsigned long _lcdbuf;
+extern unsigned long _lcdbuf2;
extern unsigned long _ttbstart;
#endif
#define TTB_BASE_ADDR (_ttbstart) /* End of memory */
-#define FRAME ((short *) (&_lcdbuf)) /* Right before TTB */
+#define FRAME ((short *) (&_lcdbuf)) /* Right after TTB */
+#define FRAME2 ((short *) (&_lcdbuf2)) /* Right after FRAME */
#define PHY_IO_BASE 0x00030000
#define DM320_REG(addr) (*(volatile unsigned short *)(PHY_IO_BASE + (addr)))
@@ -651,7 +653,7 @@ extern unsigned long _ttbstart;
#define IO_MEM_STICK_DMA_STATUS DM320_REG(0x0C96)
/* ATM : WBB Need to find these Register values */
-#define IO_ATM_ DM320_REG(0x0D00
+#define IO_ATM_ DM320_REG(0x0D00)
/* I2C */
#define IO_I2C_TXDATA DM320_REG(0x0D80)