LCDInfo.com

http://www.lcdinfo.com
It is currently Fri Mar 29, 2024 9:46

All times are UTC + 2 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: IO drivers
PostPosted: Sat Feb 15, 2003 17:55 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Here's couple IO drivers that can be used instead of DLPortIO:

WinIO from http://www.internals.com
I have found WinIO to be about 50% faster than DLPortIO in my tests.

http://www.geekhideout.com/iodll.shtml
I haven't personally tried this yet.

There are also many others that might be worth trying.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 17, 2003 0:20 
Hmm...I have had a brief look at these, but am not sure how to use or install them. :?

I looks like the heave to be called from within the code, and seeing as I am not a C programmer I would have no idea where to start.

But if they work better, then I would be keen to try them somehow.

Marty


Top
  
 
 Post subject:
PostPosted: Mon Feb 17, 2003 6:18 
Offline

Joined: Wed Jan 29, 2003 4:32
Posts: 12
Oh looks nice.
If they are really faster it would be great.
It would save a lot of cputime...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 17, 2003 11:02 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Marty wrote:
Hmm...I have had a brief look at these, but am not sure how to use or install them. :?

I looks like the heave to be called from within the code, and seeing as I am not a C programmer I would have no idea where to start.

But if they work better, then I would be keen to try them somehow.

Marty

Are programming something where to use them ?

To use WinIO for example:
-first initialize the driver using the InitializeWinIO() function.
-then you can use the GetPortVal() and SetPortVal() functions to write/get values to/from ports.

The WinIO package includes a help file describing the use and it also has some examples in C and VB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 17, 2003 11:07 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
MaikRutsche wrote:
Oh looks nice.
If they are really faster it would be great.
It would save a lot of cputime...

I think everyone needs to try themselves if they are faster in their application. But in my tests WinIO was about 50% faster than DLPortIO. Like the fullscreen animations with 240x128 T6963C display: with DLPortIO I was able to get about 11 fps and with WinIO it was something like 17 fps. This was with busy flag checking enabled.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 17, 2003 12:30 
Quote:
Are programming something where to use them ?


No. I mean I don't know how to use them with LCDInfo. The DLPort drivers install themselves via an executable.

I don't know to to get them to work with LCDInfo.

Marty


Top
  
 
 Post subject:
PostPosted: Mon Feb 17, 2003 14:45 
Offline

Joined: Mon Nov 18, 2002 11:04
Posts: 37
Location: The Netherlands
Henri wrote:
MaikRutsche wrote:
Oh looks nice.
If they are really faster it would be great.
It would save a lot of cputime...

I think everyone needs to try themselves if they are faster in their application. But in my tests WinIO was about 50% faster than DLPortIO. Like the fullscreen animations with 240x128 T6963C display: with DLPortIO I was able to get about 11 fps and with WinIO it was something like 17 fps. This was with busy flag checking enabled.

If it really is so much faster, this would be a great driver for LiQuiD-MP3 as well :) With a high framerate, DLPortIO lets the CPU usage go through the roof and that's not good :( Let's hope WinIO uses less!

I have 2 questions though;
1) is there a great difference in CPU usage with DLPortIO running WinIO on a P200 system?
2) Is WinIO fast enough for busy flag checking to be usefull? DLPortIO isn't and if WinIO is, this could greatly improve my SED133x driver.

_________________
Creator of LiQuiD-MP3


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 17, 2003 20:23 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Zotty wrote:
I have 2 questions though;
1) is there a great difference in CPU usage with DLPortIO running WinIO on a P200 system?
2) Is WinIO fast enough for busy flag checking to be usefull? DLPortIO isn't and if WinIO is, this could greatly improve my SED133x driver.

Tough questions :wink:

Someone needs to test that. I think I have a P200 system somewhere here - I would just have to do some test programs for testing. Unfortunately I've only tested the maximum throughput of the driver so I can't say anything about the CPU usage yet. I used WinIO in the 0.4 version of LCDInfo but as I also rewrote other things it's hard to say what caused the decrease in CPU usage. At least the CPU usage was lower than in the 0.3.2 version :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 17, 2003 20:29 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Marty wrote:
Quote:
Are you programming something where to use them ?


No. I mean I don't know how to use them with LCDInfo. The DLPort drivers install themselves via an executable.

I don't know to to get them to work with LCDInfo.

Marty

They can't be used with the 0.3.2 version of LCDInfo as it requires changes to the code to use different IO drivers. That's why this thread is here in the Development forum :wink:

WinIO was used in the 0.4 version but that is never going to be released. Instead I've been working on the 0.5 lately.


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

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 42 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