Notices
ECU Flash

Evo live map source

Thread Tools
 
Search this Thread
 
Old Apr 2, 2009 | 11:34 PM
  #46  
codgi's Avatar
Evolved Member
20 Year Member
Photogenic
Liked
Loved
Community Favorite
iTrader: (22)
 
Joined: Aug 2004
Posts: 2,493
Likes: 41
From: Seattle, WA
Originally Posted by jcsbanks
I've not attempted multithreading, but it looks like I'll get acceptable performance by using a few timers. Things run fast until the Dundas chart with 17 items is in view, so I can speed it up by only updating the chart twice a second on a timer. CPU usage goes down from 70% to about 20% and it is usable. Developing things like this is a real time eater, it took five hours yesterday to learn about and start playing with Dundas charts, then they run slow I would use my own graphics like I do on the Pocket PC and it scrolls nicely, but the same code doesn't work to scroll on the PC, and I can't work out why. I can run the actual Pocket PC application on the PC, and everything works except my scrolling.

The xml would be an amalgation of the individual xml files I put in with each ROM distribution - it would contain the addresses and sizes of each map that would be live edited.
Ok so the ones in the zip should be a good starting point. Basically though you would move the UI out from the autogenerated section of the code it is in today and create it on the fly. Its not that hard for that part...the autogen'd code that the designer gives you today is pretty much what you'd write except taking in variables that were parsed in your xml. The harder part would be figuring out the general algo...will take a more in depth look to figure it out.
Reply
Old Apr 3, 2009 | 03:28 AM
  #47  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
Thanks.

I managed to get my own bitmap scrolling working. On the PocketPC you can do a graphics.drawimage with the source and destination bitmaps the same. On the PC you need to buffer the bitmap by copying it somewhere else. I think it should give good flicker free scrolling.
Reply
Old Apr 3, 2009 | 04:59 AM
  #48  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
I also tried just throwing random values at a Dundas chart without actually logging on a 1.6GHz dual core laptop, and it is much slower than my own code on a 206MHz Pocket PC. So I don't think we'll rush to multithreading for now, just get the simple but fast and smooth bitmap scrolling on the PC.
Reply
Old Jul 13, 2009 | 09:59 PM
  #49  
ziad's Avatar
Evolved Member
iTrader: (1)
 
Joined: Apr 2007
Posts: 529
Likes: 1
From: Melbourne
has anyone else been modifying the source code, specifically getting 1 xml with all data for an ecu. now that i got charting working etc the next issue was to modify the code to use no hardcoded values. and then 1 xml with all map info... but no point doing it if someone else is doing/done already... i am not a good coder as well
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Dow Jhob
ECU Flash
6
Mar 2, 2022 02:58 AM
jracer
Vendor Service / Parts / Tuning Review
7
Jun 17, 2013 08:52 AM
ak47m203
North Texas Evo Club (NTEC)
17
Jun 6, 2011 06:14 AM
monkey_187
South Region
12
Jan 16, 2011 06:27 AM
StevieC
Evo X General
34
Feb 13, 2010 11:28 PM




All times are GMT -7. The time now is 04:17 AM.