From c78b30dac867d956a48df96ac4eb73e2372f0fbc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Dec 2003 13:31:16 +0000 Subject: New Neo-specific code from the Open Neo project. Unfortunately, the sources don't say who've written this stuff so I can give credit to any specific person (yet). The sources have been modified by me to conform to Rockbox standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4135 a1c6a512-1295-4272-9138-f99709370657 --- apps/neo/lcd-charset.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 apps/neo/lcd-charset.h (limited to 'apps/neo/lcd-charset.h') diff --git a/apps/neo/lcd-charset.h b/apps/neo/lcd-charset.h new file mode 100644 index 0000000000..24e3b223c2 --- /dev/null +++ b/apps/neo/lcd-charset.h @@ -0,0 +1,46 @@ +#define CGRAM0 0x00 +#define CGRAM1 0x01 +#define CGRAM2 0x02 +#define CGRAM3 0x03 +#define CGRAM4 0x04 +#define CGRAM5 0x05 +#define CGRAM6 0x06 +#define CGRAM7 0x07 + +#define CGRAM0_CHAR 0x10 +#define CGRAM1_CHAR 0x11 +#define CGRAM2_CHAR 0x12 +#define CGRAM3_CHAR 0x13 +#define CGRAM4_CHAR 0x14 +#define CGRAM5_CHAR 0x15 +#define CGRAM6_CHAR 0x16 +#define CGRAM7_CHAR 0x17 + +#define RESERVED_CHAR 0xff +#define NOCHAR_OLD 0x24 +#define UNKNOWN_CHAR 0x3f + +#define LARROW_CHAR 0x1e +#define RARROW_CHAR 0x1f +#define FULLGRID_CHAR 0x7f + +#define BACKSLASH_LCD CGRAM0 +#define RARROW_LCD 0x7e +#define LARROW_LCD 0x7f +#define FULLGRID_LCD 0xff + +#define PROGRESS1_LCD CGRAM1 +#define PROGRESS2_LCD CGRAM2 +#define PROGRESS3_LCD CGRAM3 +#define PROGRESS4_LCD CGRAM4 +#define PROGRESS5_LCD FULLGRID_LCD + +#define PROGRESS1_CHAR CGRAM1_CHAR +#define PROGRESS2_CHAR CGRAM2_CHAR +#define PROGRESS3_CHAR CGRAM3_CHAR +#define PROGRESS4_CHAR CGRAM4_CHAR +#define PROGRESS5_CHAR FULLGRID_CHAR + + +extern unsigned char latin1_to_lcd[256]; + -- cgit v1.2.3