Commit Graph
37 Commits
Author SHA1 Message Date
mmdolze b1e8fa9fb8 Make glcd_icon5x8() not calling back drvthis->chr() as this the call-back
function is not configurable and interferes with the Freetype renderer.
2011-11-03 21:58:17 +00:00
mmdolze 9dcabf8ce5 Step 1 to introduce the glcd driver: Refactor T6963 command set and low-level
I/O routines into a separate file.
2011-09-09 18:41:15 +00:00
mmdolze 3bb27d1611 New common 5x8 font for t6963, sed1520, mdm166a and i2500vfd. It resembles
the original font of the HD44780 with European character set, but includes
only characters from ISO 8859-1 and has been extended with bar graph and icons.

The t6963 driver now has its size to be configured in pixels! The size in
characters is automatically calculated based on the cell size. This makes
internal calculations more easy.
2011-04-03 18:07:15 +00:00
mmdolze d4615059ce Convert font of t6963 driver to 8 byte bitmap. 2011-02-27 12:23:47 +00:00
mmdolze 004c5d7869 Better check for screen bounds. 2011-01-24 19:46:32 +00:00
mmdolze de7a132fbb Rewrote the t6963 driver:
- Limit the maximum size to 40x16 (240x128 pixel) and change the RAM locations
to make use of 8 KB only. (If one's display is larger and has more memory this
may have to be changed.)
- Drive control lines using defines from lpt-port.h without using a function.
- Use timing.h for delays (which are now optional).
- Remove any use of the graphic area and mode settings, except for optionally
clearing of graphic memory on start-up.
- Remove any cursor related stuff.
- Handle displays correctly which width (in pixels) is not a multiple of the
cellwidth (e.g. 128x64).
- Remove double buffering (display updates are already really fast).
- Update text and font memory using AUTO WRITE function.
- Remove the bignum stub. Now at least something is displayed.
- Fix character offset for bar graphs.
- Make local functions static and inline the most commonly used read / write
functions.
2011-01-21 06:59:37 +00:00
mmdolze 680891761e Analyze and document the t6963 driver:
* Add Doxygen comments (also for internal functions, shortened for API).
* Document initialization.
* Remove some unused variables and defines.
* Pass through indent.
* Remove references to LCD pins from documentation and add some warning.
2011-01-03 10:51:50 +00:00
mmdolze fd9b2ce713 Big cleanup: Remove trailing whitespace from files (except those imported
from external sources).
2010-10-30 18:04:21 +00:00
mmdolze 55a9795c8a Make all drivers using parallel port fail if they cannot get IO permission. 2009-09-14 19:08:22 +00:00
mmdolze 6e781ed0a0 Teach all drivers to use local report.h instead of shared/report.h.
Remove all references to shared/debug.h as well (was unused in all cases).
2009-09-14 18:36:44 +00:00
mmdolze e33ba1b41b Update drivers to return 0 (zero) on success. 2009-07-07 21:36:37 +00:00
marschap 81ebe5ae88 first step in Doxygen-ization 2008-12-21 10:04:37 +00:00
marschap ff75ce809f make PrivateData appear as driver-specific data structures for Doxygen 2008-12-07 19:41:36 +00:00
marschap 77209a6f3f harmonize report & debug() messages: no '\n' or '.' at end 2007-06-17 10:39:49 +00:00
marschap 6a1511bb72 * coding style harmonization in servers/
- explicitely declare void arguments
  - make a few string args const
* better support for shorter displays in server screen
* make target to create top level tag file
2007-04-02 21:29:53 +00:00
marschap 9b111eeac4 cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:01:49 +00:00
marschap df38a63770 silence compiler warnings 2006-04-13 21:22:33 +00:00
marschap 5c572cb93b convert to use PrivateData 2006-04-10 21:42:33 +00:00
marschap 8cfd04de73 delete unnecessary stuff 2006-04-08 19:38:46 +00:00
marschap 97a4aea217 harmonize coding style and messages; little fixes 2006-04-08 16:29:52 +00:00
marschap 0ec83bdc66 get rid of old cruft: remove args argument from the modules' init() routines 2005-07-02 13:38:51 +00:00
robijn c72f813a4c Changed things around port.h a bit:
- port_access_full is now called port_access_multiple and has a count parameter (LPT port stuff should be in lpt-port.h)
- Updated calling source files too
- Added support for ports in higher range, so that PCI LPT cards will work too (but I can't test this myself...)
- Enhanced formatting of in-file documentation a bit
- Updated docs of port.h in lcdproc-dev
2003-04-04 22:53:16 +00:00
themythos c2d3e7e035 Better hardware IO functions 2003-03-13 19:24:56 +00:00
themythos 7535579cf6 Made the correct debug functions
Fixed wrong charakter for block icon
2003-03-10 10:26:25 +00:00
robijn dc4c049721 - Added some icons.
- Made sure all icon and vbar functions are not the old API functions.
- Removed heartbeat functions from drivers that did standard heartbeat.
2002-05-23 18:03:36 +00:00
themythos 612023bf17 config file support for ECP on or off 2002-03-03 12:42:42 +00:00
themythos c357a84c76 *** empty log message *** 2002-02-27 19:52:38 +00:00
robijn dba163c4a4 Drivers are now being loaded as modules. 2002-02-21 22:50:12 +00:00
themythos 8556c03d56 *** empty log message *** 2002-02-11 15:38:19 +00:00
themythos 4a115aef77 Toshiba ready for v0.5 API! 2002-02-11 15:20:43 +00:00
robijn 152f8b4aff Added width and height functions (I forgot them at the v0.5 kick-off). 2002-02-10 14:22:17 +00:00
robijn 71056ec551 v0.5 kick-off 2001-12-30 00:15:25 +00:00
robijn 5d0b33c5ef Fixed header file problem.
Enhanced(?) timing.h with DELAY_AUTOSELECT.
Cheered up some comments, moved #ifndef FOO_H #define FOO_H to just after
the copyright and explanation comment.
2001-12-27 16:22:09 +00:00
themythos 54eb272a69 corrected bug in heartbeat function 2001-12-23 15:12:17 +00:00
themythos 6e178cdc6a v1.2 now graphics disabled, because of strange pixel faults 2001-12-21 15:01:43 +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
ddouthitt 92d11581b8 Added new driver for the Toshiba T6963, donated by
Manuel Stahl <mythos@xmythos.de>
2001-09-27 18:27:39 +00:00