Evo live map source
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.
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.
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.
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.
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.
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
Thread
Thread Starter
Forum
Replies
Last Post
monkey_187
South Region
12
Jan 16, 2011 06:27 AM









