Commit Graph
126 Commits
Author SHA1 Message Date
dglaude 3fa9bc355b Reduce warning (UNTESTED) 2001-11-23 19:39:00 +00:00
dglaude 44e71c451e Work in progress for BigDigit + TODO comment 2001-11-23 16:17:45 +00:00
robijn efcbed6026 Unallocated framebuffer fix. 2001-11-23 15:15:05 +00:00
dglaude ca27bcac18 Solve the segmentation fault in MtxOrb.c
If framebuf is not alocated when init is called then we do.
A lot of warning are removed because MtxOrb.h is cleaned.
For the futur, double buffering is already prepared.
I also have done some cleaning of unused function related to hbar/vbar.
BigNum are still not working nicely but I am working on it.
I don't have flickering on my screen so I cannot fix that problem!
2001-11-19 18:35:39 +00:00
robijn 046d76e510 New: SED1330 driver. 2001-11-15 19:33:06 +00:00
robijn 392506b384 - Added HD44780 incremental LCD update.
- Minor fix to 4bit.
2001-11-15 19:30:17 +00:00
gfk 216d45f477 Fix for 'the dumbest fix of the month'. In fact, just a simplification of an earlier fix. 2001-11-02 18:56:51 +00:00
robijn b821127fa7 Minor bugfixes to HD44780 backlight and keypad stuff. 2001-11-01 16:40:57 +00:00
robijn 46174150ce Added HD44780 delay options. 2001-11-01 15:38:49 +00:00
robijn faa4861eb3 HD44780 update:
- supports new API
- major clean up, more consistent code
- uses configfile options
- serialLpt works also with only 2 output lines
- serialLpt can now use keypad
2001-11-01 00:37:12 +00:00
ddouthitt 0619f03774 Updated documentation in the Curses driver relating to the use
of the nonstandard ACS_S7 and ACS_S3 macros...
2001-10-31 22:51:56 +00:00
gfk 39874bbf87 Some cleanup:
Changed the optimization value to -O3
Moved the (n)curses autoconf tests to the (n)curses driver section.
Removed commented commands in configure.in
Added define ACS_* test for curses driver
2001-10-31 22:05:14 +00:00
gfk 134b33ace6 Crash landing of the fix for bug #472883: BSD curses.h allready declares LL. 2001-10-26 16:29:12 +00:00
robijn 26d00dc560 Adapted the drivers to do not use a NULL pointer for unsupported functions,
but instead do not assign them.
2001-10-25 23:39:51 +00:00
robijn dc0f01850b First step towards the v0.5 API. New configfile routines in use.
Configfile adapted. For drivers: configfile routines are available.
2001-10-24 14:26:15 +00:00
gfk 5b689135ad Added hd44780-charmap.h to the list of file of the distribution. 2001-10-20 00:21:02 +00:00
gfk fc113474d5 Added lcd_lib.h to the distribution. 2001-10-08 16:37:43 +00:00
robijn db935c35bf Corrected HD44780 to work with the curses driver. 2001-10-06 13:51:45 +00:00
ddouthitt df90652a8b This updates these drivers with minor bug fixes. 2001-10-05 23:50:37 +00:00
ddouthitt ae18a158fc Numerous (TINY) fixes: mostly unused variables... 2001-10-05 22:04:35 +00:00
robijn 16cce2fe2d HD44780 keypad update. (second try) 2001-10-05 21:01:24 +00:00
robijn 4829ed367f HD44780 keypad update. (second try) 2001-10-05 19:43:50 +00:00
robijn de84f06cc7 HD44780 keypad update.
(second try)
2001-10-05 19:39:02 +00:00
ddouthitt 709e53495e Minor fix for heartbeat function... 2001-10-05 17:17:11 +00:00
ddouthitt d8daf2bf6f Added output_heartbeat(driver, heart_type) to the library functions.
Thus, for many drivers, creating the appropriate driver function
for heartbeats should be simple.
2001-10-04 21:10:07 +00:00
ddouthitt 39b84431a0 Added a heartbeat function to the driver code. Both the
MatrixOrbital driver and the curses driver now have their own
heartbeat functions.
2001-10-04 21:05:15 +00:00
ddouthitt a1a557a767 Changed clear function in Matrix Orbital driver: now only changes
within buffer (no clear function code sent to the LCD display).
2001-10-03 05:52:42 +00:00
ddouthitt 9169630fe9 Fixes to the lcdm001 driver: heartbeat problems fixed 2001-10-02 20:53:39 +00:00
ddouthitt 6708335770 Fixing silly mistake: forgot to add lcd_lib.h ... 2001-10-02 14:32:01 +00:00
robijn 7c0e1bd0d1 Fixed "HD44780 does not compile" bug. Not using drv_base anymore. 2001-10-02 14:04:34 +00:00
ddouthitt 9d8b1f45a3 Fixed miscellaneous bugs relating to optimization of MatrixOrbital driver.
Now only displays that which has changed...
2001-10-01 21:54:02 +00:00
ddouthitt 487242f925 Fixed bug that caused anything beyond the heartbeat not to get updated
properly.  Only affected optimized MtxOrb driver.
2001-10-01 21:53:27 +00:00
ddouthitt fdba826ddc New driver: lcdm001 2001-10-01 21:52:41 +00:00
ddouthitt 49dd9207d7 Added new driver:
* lcdm001 (with updates to autoconfig and Makefiles)
2001-10-01 21:51:27 +00:00
ddouthitt 3c2765891d Added optimizations to MtxOrb driver:
* Don't send any data if there is no change.
* High optimization of MtxOrb_draw_frame - only write changed
  data to screen.
2001-10-01 03:06:25 +00:00
ddouthitt 82825e0c73 Minor bug fix.... 2001-10-01 03:00:39 +00:00
ddouthitt bd431cfc36 Fixed up support for screen refresh using ^L - in case something
sends gunk to the screen.
2001-09-30 04:46:10 +00:00
ddouthitt cc56196ef0 Added support for ^L (redraw screen). Operation is invisible to
callers of getkey().
2001-09-30 04:18:39 +00:00
ddouthitt 4558e344e8 Fixed silly bug in new_framebuf(). 2001-09-30 04:17:40 +00:00
ddouthitt dcea08d3fa Bug caught by Robin Adams <robin@adams-online.de> where
getkey was not being checked for spurious nulls after driver
initialization.  Turns out getinfo was in the same category.
Both: fixed.
2001-09-28 21:29:23 +00:00
ddouthitt 07608e742e Tried to reduce amount of work necessary to flip the backlight - since
under VNC, this occurs rather slowly.  Less work is done, but the
result has not changed.
2001-09-28 21:23:16 +00:00
ddouthitt f7ff05870f Updated MatrixOrbital driver:
* Doesn't update the display unnecessarily - now has "memory" and won't
  update if the display hasn't changed
* Debugging code: logs to syslog for everything if debug_level is set
  high enough.
2001-09-28 21:20:50 +00:00
ddouthitt 4f60edc230 This file contains the beginnings of a "library" (not in the true
sense) of functions to be used by drivers.  Things like freeing a
framebuffer, creating a frame buffer, andding characters or strings
to a framebuffer, et al, are here...
2001-09-28 21:16:31 +00:00
ddouthitt e37ae29f66 Added lcd_lib.c to the makefile. 2001-09-28 21:15:13 +00:00
ddouthitt bf5daf36ad Now the curses driver supports a -B option: backlight color (on) color.
This goes with the "standard" background color option -b to give the
appearance of a backlight.
2001-09-28 00:41:05 +00:00
ddouthitt cb76443a51 Curses driver is now sizeable: use the -t option in the configuration
file (in the Arguments command line)
2001-09-28 00:08:23 +00:00
ddouthitt 214c957726 Fix help screen in MatrixOrbital driver to reflect correct options. 2001-09-28 00:05:32 +00:00
ddouthitt 74153173c1 Fixed major bug: drivers that accepted size arguments could wind
up with more than 80 characters (20x4) in their display, and thus
overwrite memory outside of the allocated 80 characterwframebuffer.

For example, using a 20x6 screen would do this.

All drivers now either ignore a missing framebuffer, or allocate it
themselves - the latter is prefered.
2001-09-27 23:46:55 +00:00
ddouthitt 71c3035611 * Changed MatrixOrbital driver to support the traditional -t option
(for type: 20x2, 20x4, 20x6) etc.

* Fixed bug that appeared when using a size larger than 80 characters
  (20x4): framebuffer was allocated before size was known!

Drivers should NOT look for framebuffer to be allocated before they
start - but 80 characters are there anyway (for now).
2001-09-27 23:23:42 +00:00
ddouthitt 2ed349c691 Cleaned up option processing. Added code to use getopt(3) but never
got it working (it's #ifdef'd out).  Expanded flexibility of
-t option (now accepts any case, and looks at only first three
characters); so "-t lkd202-25" works as expected...
2001-09-27 20:51:16 +00:00