LCDInfo.com

http://www.lcdinfo.com
It is currently Tue Mar 19, 2024 7:51

All times are UTC + 2 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: KS0108 / HD61203 driver
PostPosted: Sat Oct 25, 2003 13:50 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
STATUS:
Mostly working driver with configuration dialog done.
Supports 128x64 displays.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 20:47 
Offline

Joined: Wed Jan 26, 2005 19:13
Posts: 5
With the latest build (19) the KS0108 driver fails to load a configuration dialog. Is this normal?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 21:18 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
That is not normal but there seems to have slipped some bug to the latest build packages. There should not have been any code changes but maybe some file has corrupted or something.

Until this is figured out and fixed you should be able to use the driver from the old build which should be exactly the same as there have not been changes to the KS0108 driver for a while:
http://www.skippari.net/lcd/alpha/ks010 ... uild17.rar


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 28, 2005 0:54 
Offline

Joined: Wed Jan 26, 2005 19:13
Posts: 5
Is the source code available for this driver? Perhaps I can take a look at it because I can't get it to work. I could then also create a driver for KS0713 (much more popular chip driver). Thanks! It might also be a neat idea to have a sample screen displayed when you select a driver so that you know that the interface is working.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 28, 2005 2:33 
Offline
User avatar

Joined: Fri Dec 03, 2004 7:03
Posts: 201
Location: Sydney, Australia
Some sources are available in the developers section. If it isn't there, I'm sure henri will add it very sortly. ;)

_________________
Syridian,
http://syridian.com


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 28, 2005 14:22 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
KS0108 driver source is not available at this time. What kind problem do you have with the driver ?

For making a driver for KS0713 you would want to look into the SED1565 driver and the SED1531 test from this topic as they are more similar to KS0713 than KS0108.

The idea of a sample screen is a good one and worth putting on the todo list.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 29, 2005 2:39 
Offline
User avatar

Joined: Fri Dec 03, 2004 7:03
Posts: 201
Location: Sydney, Australia
Talking of the To-Do list.. can you add to the TOP of the list the following. ;)

1) I must publish the To-Do List in the Development forum, so that people can stop writing unnecessary post asking about features that are on the To-Do List.

;)

_________________
Syridian,
http://syridian.com


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 19, 2005 18:49 
Offline
User avatar

Joined: Tue Nov 12, 2002 21:15
Posts: 14
Location: Nijmegen, Netherlands
I was wondering if there's still an update planned for this driver, or at least a source release, since it seems to have some bugs in it..
for example this one:
Image
(and the xml that reproduces it is available here)

There is also a bug that doesn't occur that often, but stops the right half of the LCD from updating, it just freezes. Restarting LCDinfo fixes it, so it has to be something in the software.
-edit-
correction.. it's just that one half of a plugin bitmap that's stretched across the two halves of the lcd stops updating. scrolling text and other stuff still works on the 'broken' half.

And lost but not least: the character set is far from complete.. even simple things like ë and ü are missing.

I'd be happy to (try and) fix those things if the source was released... :)

_________________
If it ain't broken, fix it 'till it is!


Last edited by Remboooo on Tue Nov 22, 2005 18:12, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 20, 2005 1:15 
Offline
User avatar

Joined: Sat Apr 17, 2004 17:42
Posts: 467
Location: The Netherlands
You can PM Henri on this one, as he seems to be quite busy doing other things lately.

_________________
My Plexeon-Insane LCD!-Or this one!-LCDinfo-LCDStudio


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 22, 2005 17:52 
Offline
User avatar

Joined: Tue Nov 12, 2002 21:15
Posts: 14
Location: Nijmegen, Netherlands
Ok, I guess I'll pm him about this.
I've made a new ks0108font.h which includes a complete charset (in stead of only chars up to 0x80), you can download it here... if you could recompile with this new header, i'd be grateful :roll:
-edit-
I saw in the PCD<something> driver, you forgot to cast your char to an unsigned char before using it as an array pointer, which causes it not to work with chars > 0x80 ;)
I'm assuming the code is basically the same as for the ks0108, so I thought it might be useful to note this.
The fix is the following:
Code:
font5x7[((unsigned char)*(string+n))*5+i];

(where string is a char *, n is the location of the character in the string you're printing now, and i is the current column of the character you're printing)

_________________
If it ain't broken, fix it 'till it is!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group