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.
This commit is contained in:
mmdolze
2011-01-21 06:59:37 +00:00
parent c64646b4de
commit de7a132fbb
5 changed files with 260 additions and 322 deletions
+8 -4
View File
@@ -1084,11 +1084,15 @@ Size=20x6
# port to use [default: 0x378; legal: 0x200 - 0x400]
Port=0x378
# Is ECP mode on? [default: yes; legal: yes, no]
#ECPlpt=yes
# Use LPT port in bi-directional mode. This should work on most LPT port and
# is required for proper timing! [default: yes; legal: yes, no]
#bidirectional=yes
# Use graphics? [default: no; legal: yes, no]
#graphic=no
# Insert additional delays into reads / writes. [default: no; legal: yes, no]
#delayBus=no
# Clear graphic memory on start-up. [default: no; legal: yes, no]
#ClearGraphic=no