Commit Graph
1070 Commits
Author SHA1 Message Date
mmdolze d2d466cf8a Fix parameter types on Linux. 2011-01-25 19:25:53 +00:00
mmdolze 004c5d7869 Better check for screen bounds. 2011-01-24 19:46:32 +00:00
mmdolze 95512f591d Add note about necessary review of render_string (don't have the time right now). 2011-01-24 19:46:06 +00:00
mmdolze dbc2eb7cfc Clean-up includes and move all defaults to header file.
Fix heartbeat and bignum by mapping character 0 to 8.
Fix backlight and contrast handling (by M. T. Jones).
Add more icons (by M. T. Jones).
Add OffBrightness for 20x4 (idea by S. Crane).
Add range checking for config settings.
2011-01-23 13:28:16 +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 c64646b4de Move line address in extended mode to other hardware constants (although
is it configurable).
2011-01-19 21:44:36 +00:00
mmdolze ebf9565f17 Do not configure scheduler twice. Try to read from 0x3BD (3rd LPT port) if
DELAY_IOCALLS is configured. DELAY_IOCALLS is never selected automatically
but has to be configured by the user anyway. Did not use writes to 0x80 as
readings make me think this tries to delay by 1ms where we want 1us.
2011-01-19 21:33:18 +00:00
mmdolze f021cc8327 Add an option to start LCDd with screen rotation disabled. 2011-01-19 19:08:37 +00:00
mmdolze e30ebae6a5 Send bigfont.h to attic. It is not used anywhere. 2011-01-15 20:33:57 +00:00
mmdolze f8df8dcf5c Convert some comments. Add more doxygen to hd44780-serial. Don't use a
typedef if not really necessary.
2011-01-15 19:36:16 +00:00
mmdolze d0def6df67 Declare prototypes. This allows them to be documented with doxygen. 2011-01-15 19:33:35 +00:00
mmdolze 8ddd9aad5b Add some notes about typical buffering mechanisms. 2011-01-15 19:32:58 +00:00
mmdolze 8bdfdaaaa1 - Convert function comments to Doxygen.
- Remove instructions that have been transfered to the User's Guide.
- Remove the unused line drawing function.
- Pass through indent.
- Add more comments to the initialization code.
- In the user guide remove table with wiring scheme by LCD pin but add a new
  one for bitshaker wiring.
2011-01-15 19:32:01 +00:00
mmdolze 4a111252e1 Write down the steps during rendering. 2011-01-10 21:30:54 +00:00
mmdolze 6e0b7bca91 Implement missing optional functions (except heartbeat). Add a note to
each functions if it's required. Intention is to make this driver a template
for new drivers.
2011-01-10 21:30:10 +00:00
mmdolze 7ba38b2af8 Add notes about known bugs in lis and xosd driver and timing.h. 2011-01-09 23:26:42 +00:00
mmdolze a3441d977e Fix heartbeat icon messing up with vBar. 2011-01-09 23:11:38 +00:00
mmdolze 03e5169ac8 New screen update algorithm. This algorithm will be faster on connection
types using the transmit buffer. Others should see little difference.
2011-01-06 16:07:30 +00:00
mmdolze e36cafd6c9 Convert comments according to style guide. Pass through indent but preserve
the 4 spaces indent.
2011-01-06 15:20:52 +00:00
mmdolze 96525e30b7 Refactor ubiquitous CGmode enum into lcd.h and convert remaining drivers
to use it.
2011-01-06 10:59:19 +00:00
toykeeper cac9a56299 updated ToyKeeper's contact info 2011-01-05 23:34:37 +00:00
mmdolze 50ff73d7c1 Fix handling of custom characters. ccmode was not reset on screen clear().
Remove unused ccmode from serialPOS.
2011-01-05 19:54:54 +00:00
mmdolze c4326258e6 Change configure to use autoconf macros installed by xosd to check for
its presence.
2011-01-05 14:53:38 +00:00
mmdolze d86e2a369c Fix backlight and contrast handling (M. T. Jones). 2011-01-04 21:37:02 +00:00
mmdolze 4f5f3fa331 Fix previous commit 2011-01-04 16:31:12 +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 a0e30b34b5 sed1330 driver: Add support for HG25504 (L. Lagendijk) 2011-01-03 10:46:07 +00:00
mmdolze 0107040bdf Fix hBars drawing into the next character or wrapping at screen end. 2010-12-28 11:08:00 +00:00
mmdolze dfebe6206d Connect the debug driver to the build system. It has always lived only in
CVS and was not to be compiled by 'make'. However, it may serve as a template
for new drivers. Therefore add it to Makefile.am to have it in the
distribution. Note that it will only get compiled if explicitly given to
configure or if '--enable-debug' is used with '--drivers=all'.
2010-12-27 10:39:35 +00:00
mmdolze 5b6135c144 Add more Doxygen comments. Remove unnecessary includes. Pass files through
indent (unfortunately this makes num_map[] a little less readable).
2010-12-27 09:45:08 +00:00
mmdolze e79462c21d Remove global send buffer. Move it into private data instead. This also
allow use by other connection types.
2010-12-23 08:01:55 +00:00
mmdolze 408a64f169 Fix lis_read_thread not returning properly on error. 2010-12-14 05:46:02 +00:00
mmdolze 1b8f843c5f Corrected error message creation. 2010-12-09 21:31:28 +00:00
mmdolze 68d4903b4b serialVFD driver:
* Add more documentation about the inner working of this driver.
* Consolidate constant definitions.
* Stop the 'include-mania': Only include necessary header files within the .c
  files.
* Use lpt-port.h to define LPT port register values.
* Modify some comments to conform the the style guide.
2010-12-09 21:25:42 +00:00
mmdolze dacb2beb73 Add MDM166A driver for Futaba/Targa USB VFD (Christoph Rasim). 2010-11-26 21:43:57 +00:00
mmdolze 24846beac5 SureElec: Fix stall on startup. 2010-11-25 07:11:41 +00:00
mmdolze 85c5e8c45a hd44780: Added 'usbtiny' connection type (by Siarhei Herasimchuk). 2010-11-22 20:01:10 +00:00
mmdolze 9c1bde0ece Add some more meaningful comments I found in an old file on the lcdproc.org
web site.
2010-11-16 21:51:25 +00:00
mmdolze 67c07b52dd Use C-comment style (practise what I preach). 2010-11-16 21:48:34 +00:00
mmdolze 6deaa40e83 Move some meaningfull text into the Doxygen comment. 2010-11-16 21:30:23 +00:00
mmdolze af10f3bd72 Remove quotes from Doxygen comment because it make dot fail to draw grpahs. 2010-11-16 21:29:08 +00:00
mmdolze 8c38cee890 Sort file/flags/library lists. 2010-11-16 21:27:46 +00:00
mmdolze 932cc63d94 Use module output function to control key LEDs (Martin Jones) 2010-11-16 21:24:46 +00:00
mmdolze 2a3f558545 Add some more comments to CFontzPacket driver. 2010-10-31 14:09:05 +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 49cd060374 Fix cellwidth calculation and some off-by-one errors (thanks to T. Jarosch). 2010-10-28 20:50:16 +00:00
mmdolze 6efd439901 CFontzPacket: Report cell size according to display type (used to calculate
hBar width). Use block charcter (31d) on displays which have it instead of
the custom icon. On seamless displays do not fill the last line to avoid the
character banging together.
2010-05-11 21:11:09 +00:00
mmdolze 01f3576a9d Small code reformatting. 2010-05-11 20:56:22 +00:00
mmdolze f8d7efd868 Add a little more comments to hBars/vBars. 2010-05-11 20:55:23 +00:00
mmdolze c5bb13ddfb Fix variable initialization and setting of socket options (update by author). 2010-05-11 20:33:39 +00:00