aboutsummaryrefslogtreecommitdiffstats
path: root/drv_T6963.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-22 17:35:41 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-22 17:35:41 +0000
commit403de86b7654e9affa051b9582cdfb06447fc839 (patch)
tree40016fbbdef98d18487eccee82ce319e15749a6e /drv_T6963.c
parent3d5c57c9a50a4921f0ac84217c60091e2a5e3990 (diff)
downloadlcd4linux-403de86b7654e9affa051b9582cdfb06447fc839.tar.gz
[lcd4linux @ 2004-02-22 17:35:41 by reinelt]
some fixes for generic graphic driver and T6963 removed ^M from plugin_imon (Nico, are you editing under Windows?) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@373 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_T6963.c')
-rw-r--r--drv_T6963.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drv_T6963.c b/drv_T6963.c
index 5a0e6a7..e581e81 100644
--- a/drv_T6963.c
+++ b/drv_T6963.c
@@ -1,4 +1,4 @@
-/* $Id: drv_T6963.c,v 1.2 2004/02/18 06:39:20 reinelt Exp $
+/* $Id: drv_T6963.c,v 1.3 2004/02/22 17:35:41 reinelt Exp $
*
* new style driver for T6963-based displays
*
@@ -23,6 +23,10 @@
*
*
* $Log: drv_T6963.c,v $
+ * Revision 1.3 2004/02/22 17:35:41 reinelt
+ * some fixes for generic graphic driver and T6963
+ * removed ^M from plugin_imon (Nico, are you editing under Windows?)
+ *
* Revision 1.2 2004/02/18 06:39:20 reinelt
* T6963 driver for graphic displays finished
*
@@ -310,7 +314,6 @@ static void drv_T6_blit(int row, int col, int height, int width)
for (r=row; r<row+height; r++) {
for (c=col; c<col+width; c++) {
unsigned char mask = 1<<(XRES-1-c%XRES);
- //if (c<8) debug ("c=%d c%%XRES=%d mask=%d", c, c%XRES, mask);
if (drv_generic_graphic_FB[r*LCOLS+c]) {
// set bit
Buffer1[(r*DCOLS+c)/XRES] |= mask;
@@ -335,7 +338,6 @@ static void drv_T6_blit(int row, int col, int height, int width)
}
memcpy (Buffer2+j, Buffer1+j, i-j-e+1);
drv_T6_copy (j, Buffer1+j, i-j-e+1);
- // sleep (1);
}
}
@@ -410,6 +412,7 @@ static int drv_T6_start (char *section)
// set direction: write
drv_generic_parport_direction (0);
+
// initialize display
drv_T6_send_word (0x40, 0x0000); // Set Text Home Address