aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--HD44780.c9
-rw-r--r--MatrixOrbital.c17
-rw-r--r--parport.c7
3 files changed, 25 insertions, 8 deletions
diff --git a/HD44780.c b/HD44780.c
index 5417877..d4b27e4 100644
--- a/HD44780.c
+++ b/HD44780.c
@@ -1,4 +1,4 @@
-/* $Id: HD44780.c,v 1.34 2003/08/19 05:23:55 reinelt Exp $
+/* $Id: HD44780.c,v 1.35 2003/08/22 03:45:08 reinelt Exp $
*
* driver for display modules based on the HD44780 chip
*
@@ -27,6 +27,9 @@
*
*
* $Log: HD44780.c,v $
+ * Revision 1.35 2003/08/22 03:45:08 reinelt
+ * bug in parallel port code fixed, more icons stuff
+ *
* Revision 1.34 2003/08/19 05:23:55 reinelt
* HD44780 dual-controller patch from Jesse Brook Kovach
*
@@ -469,9 +472,9 @@ int HD_init (LCD *Self)
return -1;
}
- // clear RW
+ // clear all signals
if (Bits==8) {
- parport_control (SIGNAL_RW, 0);
+ parport_control (SIGNAL_RS|SIGNAL_RW|SIGNAL_ENABLE|SIGNAL_ENABLE2|SIGNAL_GPO, 0);
} else {
parport_data (0);
}
diff --git a/MatrixOrbital.c b/MatrixOrbital.c
index 68198b3..36e6961 100644
--- a/MatrixOrbital.c
+++ b/MatrixOrbital.c
@@ -1,4 +1,4 @@
-/* $Id: MatrixOrbital.c,v 1.31 2003/08/19 04:28:41 reinelt Exp $
+/* $Id: MatrixOrbital.c,v 1.32 2003/08/22 03:45:08 reinelt Exp $
*
* driver for Matrix Orbital serial display modules
*
@@ -20,6 +20,9 @@
*
*
* $Log: MatrixOrbital.c,v $
+ * Revision 1.32 2003/08/22 03:45:08 reinelt
+ * bug in parallel port code fixed, more icons stuff
+ *
* Revision 1.31 2003/08/19 04:28:41 reinelt
* more Icon stuff, minor glitches fixed
*
@@ -417,7 +420,15 @@ int MO_bar (int type, int row, int col, int max, int len1, int len2)
int MO_icon (int num, int row, int col, unsigned char *bitmap)
{
- // Fixme: ToDo!!
+ // icons use last ascii codes
+ char ascii=CHARS-num;
+
+ MO_define_char (ascii, bitmap);
+ MO_goto(row, col);
+ MO_write(&ascii, 1);
+ FrameBuffer1[row*Lcd.cols+col]=(char)ascii;
+ FrameBuffer2[row*Lcd.cols+col]=(char)ascii;
+
return 0;
}
@@ -441,7 +452,7 @@ static int MO_flush (int protocol)
int row, col, pos1, pos2;
int c, equal;
int gpo;
-
+
bar_process(MO_define_char);
for (row=0; row<Lcd.rows; row++) {
diff --git a/parport.c b/parport.c
index db633b7..b638cea 100644
--- a/parport.c
+++ b/parport.c
@@ -1,4 +1,4 @@
-/* $Id: parport.c,v 1.5 2003/08/19 05:23:55 reinelt Exp $
+/* $Id: parport.c,v 1.6 2003/08/22 03:45:09 reinelt Exp $
*
* generic parallel port handling
*
@@ -20,6 +20,9 @@
*
*
* $Log: parport.c,v $
+ * Revision 1.6 2003/08/22 03:45:09 reinelt
+ * bug in parallel port code fixed, more icons stuff
+ *
* Revision 1.5 2003/08/19 05:23:55 reinelt
* HD44780 dual-controller patch from Jesse Brook Kovach
*
@@ -374,7 +377,7 @@ void parport_toggle (unsigned char bits, int level, int delay)
// Strobe, Select and AutoFeed are inverted!
value1 = bits & (value1 ^ (PARPORT_CONTROL_STROBE|PARPORT_CONTROL_SELECT|PARPORT_CONTROL_AUTOFD));
- value2 = bits & (value1 ^ (PARPORT_CONTROL_STROBE|PARPORT_CONTROL_SELECT|PARPORT_CONTROL_AUTOFD));
+ value2 = bits & (value2 ^ (PARPORT_CONTROL_STROBE|PARPORT_CONTROL_SELECT|PARPORT_CONTROL_AUTOFD));
#ifdef WITH_PPDEV
bian/dtv-scan-tables.git/commit/debian/changelog?h=debian/0%2bgit20151202.3864e0a-1&id=c293ad7645554fa1ff7fad37751a5b0e3163a475&follow=1'>New Upstream Snapshot (commit d26b627)Jonathan McCrohan1-0/+10 2014-10-15Imported Upstream version 0+git20141009.d26b627upstream/0+git20141009.d26b627Jonathan McCrohan2010-11120/+159271 2014-07-23Release 0+git20140611.14bd6c7-1debian/0+git20140611.14bd6c7-1Jonathan McCrohan1-2/+2 2014-07-23New Upstream Snapshot (commit 14bd6c7)Jonathan McCrohan1-2/+3 2014-07-23Imported Upstream version 0+git20140611.14bd6c7upstream/0+git20140611.14bd6c7Jonathan McCrohan7-11/+60 2014-05-13New Upstream Snapshot (commit 1246b27)Jonathan McCrohan1-0/+6 2014-05-13Imported Upstream version 0+git20140512.1246b27upstream/0+git20140512.1246b27Jonathan McCrohan391-301/+3983 2014-04-05Release 0+git20140326.cfc2975-1debian/0+git20140326.cfc2975-1Jonathan McCrohan1-2/+2 2014-04-05d/control: update Homepage (upstream has moved from Gitweb to cgit)Jonathan McCrohan2-1/+2 2014-04-05New Upstream Snapshot (commit cfc2975)Jonathan McCrohan1-0/+6 2014-04-05Imported Upstream version 0+git20140326.cfc2975upstream/0+git20140326.cfc2975Jonathan McCrohan118-656/+877 2014-01-16Release 0+git20140107.1850cf8-1debian/0+git20140107.1850cf8-1Jonathan McCrohan1-2/+2 2014-01-16Update Standards Version to 3.9.5Jonathan McCrohan2-1/+9