LCDInfo.com

http://www.lcdinfo.com
It is currently Fri Nov 22, 2024 23:11

All times are UTC + 2 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 15 posts ] 
Author Message
PostPosted: Mon Feb 10, 2003 0:40 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Is there anyone who would be interested in making plugins for LCDInfo ? If so what language would you use ?

I'm asking this because I'm currently working on the plugin interface for the new LCDInfo version and I was thinking about portability between different programming languages.

Basic use for plugins would of course be the data plugins but I thought that it might be also possible to add some callbacks to increase functionality.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 13, 2003 23:55 
Offline

Joined: Sun Jan 05, 2003 1:14
Posts: 10
Location: Norway
As you know, I'm very interested. Either C++ or just plain C. You also know what plugins I'd make.

_________________
____________________________________
{To mod or not to mod, THAT's the question}


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 15, 2003 11:57 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Ok. ;)

When I get a little further I'll make some kind example project of a plugin.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 18, 2003 13:01 
Offline

Joined: Tue Feb 18, 2003 12:33
Posts: 118
Location: Angers, France
I am also interested, it will permit me not to develop my own lcd app (what i'm actually doing) & lcd info will be better than power lcd :lol: (it don't work for me)

Good plugins could be done but lcd info should change a little (a big I think because you can't do it actually - I think): instead of always replace lcd data with new one you should make a newdata= actualdata | data function.

I have got some ideas and one of the first that need to be done is a progress bar (have you ever seen jalcd ? try to look at it, it is a good program for alphanumeric displays)

Look also to my topic in the hardware section, the one about the ks0108b


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 18, 2003 14:00 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
DarkElf wrote:
Good plugins could be done but lcd info should change a little (a big I think because you can't do it actually - I think): instead of always replace lcd data with new one you should make a newdata= actualdata | data function.

You mean this for graphics or text ? If I understood that right this is pretty much how it's done in the new graphics code. If you have read the old source available you can pretty much forget how things are done there as I'm completely rewriting LCDInfo currently. So just let me know what you would need and I'll see if I could implement that. If you would like to know more of the inner workings of the new version just email me. I hope that the new version will allow to better take advantage of the graphical lcd's/VFD's possibilities.

edit:
let's not forget the VFD's here :wink:

Quote:
I have got some ideas and one of the first that need to be done is a progress bar (have you ever seen jalcd ? try to look at it, it is a good program for alphanumeric displays)

In the 0.3.2 version there is already a winamp progress bar as an undocumented feature. :) I don't currently remember the variable for it but I can check it later. But once again this is going to be rewritten in the next version and also general purpose bars are going to be included. I haven't yet decided how to implement this.

edit:
The winamp progress bar for 0.3.2:
Graphic0=winamp_progbar(10,55,5,100)

winamp_progbar(xposition,yposition,height,width)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 19, 2003 14:40 
Offline

Joined: Tue Feb 18, 2003 12:33
Posts: 118
Location: Angers, France
arg... thank for the winamp progress bar...
So you want to know what I want?
I have done some nice things under TI 92+/TI89 68K ASM, I was used to use virtual screens to put my graphics & my texts
It was looking like this:

Init of virtual screen
Infiny Loop
| Erase virtual screen
| Put what i want on it
| Copy virtual to real

So I need a virtual screen (really love them) :D

What you said :( me, I just wrote two little progressbar functions that just need to be copy/past in the old lcdinfo... but now you rewrite it...

Globally what I need:
Get what there is were I want
Put what I want where I want (pixel position).

I will mainly dev plugins for WMP, because somebody else will make them for winamp and also because I don't really like winamp.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 19, 2003 15:45 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
The graphics in the next version are based on frame buffer so you might like it. :)

I guess the progressbars could be also translated to the new version.

WMP plugin would be great and I've already begun working on a winamp plugin a while ago.

If you want to have a peek at the current code I think that could be arranged. You might have a chance to influence how it's implemented. :wink:


Top
 Profile  
 
 Post subject: yes iam
PostPosted: Wed Feb 19, 2003 23:24 
Offline

Joined: Tue Feb 18, 2003 23:28
Posts: 78
im very interested in programming plugins

c/c++


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 20, 2003 6:53 
Offline

Joined: Tue Feb 11, 2003 0:20
Posts: 4
Darkelf
Quote:
So I need a virtual screen (really love them)

I think a virtual screen would be a good addition, that way when you can get to your lcd screen you canstill test your code.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 20, 2003 7:02 
Offline

Joined: Tue Feb 11, 2003 0:20
Posts: 4
clarification:
I mean a virtual screen as in a lcd screen emulator app to run code on b4 you try it on the actual lcd and it doesnt work.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 20, 2003 10:10 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
inzo wrote:
clarification:
I mean a virtual screen as in a lcd screen emulator app to run code on b4 you try it on the actual lcd and it doesnt work.

At the moment there is a virtual screen that uses the same interface as the actual drivers. So if you wan't to use different controller/virtual screen, you can just replace the driver DLL with what you want.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 20, 2003 14:31 
Offline

Joined: Tue Feb 18, 2003 12:33
Posts: 118
Location: Angers, France
/!\ When I talk about virtual screen, I mean a buffer where you temp. put data before the screen is sent to the lcd it is fully different to a lcd simulator!

I just finished my first WMP plugin, this is a scope plugin.
Ok... nothing fabulous...
BUT the scope is on the LCD :lol:
(it worl only for ks0108b, because my lcd is a ks0108b - you need DLPortIO installed)
My plugin should work on WindowsMediaPlayer 7 & upper, but only tried under the WMP9 & Win XP
here to find it:
http://www.geocities.com/martien_1998/wmplcd.zip
try it & let me know what you think about it...

If you let me look at some code, it will help me a little for my functions/plugins...
Henri: Have you any idea on how to communicate between the plugin & lcdinfo?
WMP plugins must be DLL that media player run himself so to communicate you must put a shared memory (like MBM). An other solution is to implement a solution like jaLCD: TCP-IP interconnection.
I don't konw many things about the first one.
And i don't really like the second one


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 20, 2003 15:10 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
DarkElf wrote:
/!\ When I talk about virtual screen, I mean a buffer where you temp. put data before the screen is sent to the lcd it is fully different to a lcd simulator!

LCDInfo has both :wink:

Quote:
I just finished my first WMP plugin, this is a scope plugin.
try it & let me know what you think about it...

Great, I'll try that later today when I get access to KS0108 LCD.

Quote:
If you let me look at some code, it will help me a little for my functions/plugins...

I'll email you later today...

Quote:
Henri: Have you any idea on how to communicate between the plugin & lcdinfo?

I guess you need to use something like the shared memory you mentioned to share the data between the WMP plugin and the LCDInfo WMP plugin. That's what I've done in the winamp plugin.

For some code snippets of what I've used have a look here: http://www.skippari.net/phpBB2/viewtopic.php?t=147


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 20, 2003 15:31 
Offline

Joined: Tue Feb 18, 2003 12:33
Posts: 118
Location: Angers, France
Just read it.
It look like the MBM shared memory code.
I will look at this better tonight
I will also give a look to msdn.

For information I use Visual C++ 6, I hope there is no problems with shared mem between microsoft c++ & borland c++

_________________
Shadows move where light should be


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 20, 2003 17:03 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
The code is pretty much straight from this MSDN example: http://msdn.microsoft.com/library/defau ... memory.asp

I don't think there should be problems as I did the winamp plugin with visual c++ and the app that reads the shared memory with c++ builder and didn't notice any problems. As long as you don't use any compiler specific data types everything should be ok.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 15 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 20 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:  
Powered by phpBB® Forum Software © phpBB Group