00001 #ifndef GFXDRIVER_H
00002 #define GFXDRIVER_H
00003
00004
00008 #define LCD_IOBASE0 0x600
00009
00013 #define LCD_IOBASE1 0x500
00014
00033 #define LCD_CLOCK 2000
00034 #define LCD_MINPWMON 50
00035 #define LCD_MINPWMOFF 10
00036
00037
00042
00043
00044
00049 #define LCD_WIDTH 122
00050
00051
00057 #define LCD_HEIGHT 32
00058
00059
00063 #define LCD_PAGES ((LCD_HEIGHT+7)/8)
00064
00065 extern void LCD_Init();
00066 extern void LCD_Done();
00067
00068 extern void LCD_Clear(unsigned char pattern = 0x00);
00069 extern void LCD_Update(Bitmap *bm);
00070 extern void LCD_SetBrightness(int level);
00071
00072 #endif