The Godfather talking
Share your stuff or I will make you regret it.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 26, 2024, 09:39:52 09:39


Login with username, password and session length


Pages: [1]
Print
Author Topic: enhanced CCS K0107 GLCD driver  (Read 4865 times)
0 Members and 1 Guest are viewing this topic.
wh_hsn
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 0
-Receive: 4


« on: April 04, 2006, 09:20:49 09:20 »

I made some modifications to the driver file "HDM64GS12.C" (it's working on my K0107 based GLCD only I have to invert CS1 & CS2)
 
I added a 3rd 'color' to the pixel functions, XORing the new pixel with the old pixel (this is for sprites)
Now the colors are ON/OFF/XOR (or SET/CLEAR/XOR!) for the color parameter.
 
I only used pixel & line functions & they both working - other functions should work too I guess.
 
"graphics.c" needs to be modefied too - the color parameter needs to be of tye int not int1 (although I've tested the routines without this modifing graphics.c and to my surprise - it works!!!)
 
The driver can be enhanced more though! - maybe later when the time don't fly!!!!  Sad
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC