[APP][PRJ] MyDVD Collection - a Barcorama companion - Windows Mobile Development and Hacking General

Hey guys,
I'm delving into PPC development for the first time (have done other development in .NET but never for PPC). I'm creating an application called MyDVD Collection. It will be a handheld database for keeping track of DVDs/CDs/Console games. Now, what's going to make mine a little different than others like this is that I have designed it to work in conjunction w/ Barcorama. Basically, you'll be able to set this program as the external executable which Barcorama passes its scanned barcode to. It will then check your collection to see if you already own it, give you the ability to add it if it does not exist, and will eventually pull information from the Internet about that item and auto fill (as soon as I find a reliable way to do that).
So far, I have the basic database structure defined and have the screen built to view the items in the database, as well as a way to filter that view. Next is to build the entry form for adding items, and a basic search function. I should have an alpha version ready for testing soon. If anyone is interested in testing, please let me know.

Related

Creating simple PPC programs

I am hoping to create a simple program for my pocket PC - basically just a searchable database of marinas and anchourages around the UK. I already have the information stored on my PC as an excel file.
There are about 200 entries, but ideally I want an easy interface working a bit like the PPC contacts. i.e. Tabs for letters (A to Z). Tab A would show areas beggining with (A) such as Aberdeen, Arbroath etc etc. When you click on the area it takes you to a page with detailed notes for that area.
Is there any tools out there that are easy to use rather than using microsoft development tool?
The program will be distributed to sailing friends etc.
Something drag and drop would be lovely!
useful!
well lockarm - this sounds like a really useful little program
actually the microsoft development tool is about as easy as it gets.
The problem with the simpler tools is that the final program ends up being a bit crappy to use - the development environment doesn't give one enough flexability to do any thing really useful.
To answer your question however - here is a program.
http://www.syware.com/prodlib/win_ce/vce/vce.htm
Actually I'm looking for a small project to do some practice development with....would you be interested in sending me a copy of the excel file?

Lets Built OpenSource Projects for PPC. 6 Projects Posted. Updated 7th Feb 2008.

NOTES:
The projects if developed will become a generic code baseline for each and every developer seeking codes.
This means projects in this thread is just to give everyone a basic working conceptual code which can be used anywhere in similar projects.
Just think people has great ideas to work on, but they dont have baseline code from where to start as most of them might be learning.
So this thread should help them out giving a working base code..
Any1 interested in building couple of OpenSource Projects for PPC? Ill post concepts.
Lets built next generations of applications together as open source which people can use to learn things as well.
The reason open source is so that everyone can contribute code for a project, and work together to built the best.
Anyone Interested???
------------------------------------------------------------------------------------------------------------------
Project 1: File Indexer for PPC [FIndexer]
Not Sure if it exists or already available.
Added:
01 Feb 2008
Description:
To index each and every file on PPC with custom options on indexing.
Purpose:
In todays world where 1gb,2gb,4gb cards are available, we store tons of file on our PPC like ebooks, songs, music, videos.
Many times it is not possible to search using a search utility as it may consume battery and we need to wait till file is being search.
This is the place where this FIndexer comes in to picture, where we index our file either manualy or scheduled.
And then searching a file will just take 1 second to return the results.
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB.
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 2: File System for PPC [PFS (Pocket File System)]
Not Sure if it exists or already available.
Added:
01 Feb 2008
Description:
Idea came from Microsoft new file system WinFS.
Correct me if i am wrong, this File system is a file table itself where it keeps track of each and every files in details in Real Time.
Purpose:
In todays world where 1gb,2gb,4gb cards are available, we store tons of file on our PPC like ebooks, songs, music, videos.
Many times it is not possible to search using a search utility as it may consume battery and we need to wait till file is being search.
This is the place where this PFS comes in to picture.
Why use any indexing software also?, let this File system handle it in real time.
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB.
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 3: Tic Tac Toe (x & 0) Game (BlueTooth Enabled)
Not Sure if it exists or already available.
Added:
01 Feb 2008
Description:
This is a game which we always played for fun in good old days and still we play.
We might have wasted good amount of papers to play this game. Classic X & 0
Purpose:
We hardly see any bluetooth enabled games for PPC. Thats the purpose to built a very basic game with 2 players mode on bluetooth.
This may be a good code for all the developers round here who wants to start with some bluetooth code.
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB or XML
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 4: Multipurpose Single Line Marquee Scrolling Today Screen Plugin [Like Stock Tickers]
Not Sure if it exists or already available.
Added:
01 Feb 2008
Description:
A today plugin which scrolls like a stock ticker in 1 or 2 lines, and provides useful configurable information like battery info, world time, live money rates, notifications, one liner quotes, jokes, appointments, bluetooth status, and much more, in 1 or 2 scrolling lines.
Purpose:
Many might have noticed too many of today plugin gives a scroll bar to your today screen which dont look good.
This is where this plugin comes in to picture.
This should be completely customizable right from scrolling speed to colors to information to flashing colors speed, bold and much more.
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB.
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 5: Application Specific Backup Tool (Can be a great tool)
Not Sure if it exists or already available.
Added:
04 Feb 2008
Description:
There are several backup tools which takes backup of PPC as a whole and can be restored easily, but:
How many times you feel that you had installed tones of applications and had taken a backup of those, and now when you get a new PDA, you feel like you dont want to again install all the applications installed previously due to certain reasons. By restoring the backup you end up again with all unrequired applications again.
This tool will help you to eliminate those problems by taking backup of each and every application configurations seperately with version informations. Yes now you can backup configurations of your games, your theme managers, your music player configurations and everything and have choice to restore them back again seperately as required.
Yes people who develope tools with configurations involved may have to coporate to tell us where they save the data of their application so we coders can add a plugin code to backup that particular application.
You can say that this tool has a builtin database information of most of the application to backup the configs.
Purpose:
Description above says it all
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB or XML
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 6: Application data which synchronizes with Web Services.
Not Sure if it exists or already available.
Added:
07 Feb 2008
Description:
Again this is an application which most coders are going to like who are learning mobile codings. This application mainly shows how to communicate with mobile device application with web service to keep data in sync. Data can be either contacts, games scores, or any text based details.
Yes a today screen plugin would be nice to show some information on sync or other details.
Purpose:
To provide generic code to each coder seeking this kind of communication.
Language:
C++ is best language for this kind of project because of speed.
And either .Net or Java for Web Services.
Database:
Not sure, but either SQL or Access DB or XML
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
All Projects should be easily skinnable by anyone.
People willing to part of this project, than please post your details as follows:
Name:
Skills:
Comments:
Once we have a team than we will go ahead and create documents like
RUD (Requirement Understandings Document)
SRS (Software Requirement Specifications)
What do you guys say??
Wanna work together as one, and built a new world for everyone?
Wait for everyone's view, either good or bad.
I am not sure how good above to projects are, but this thread mainly wants every coder, designer, tester to work together and built something.
List of Contributers (Coders, Designer, Tester, Others)
This place will list all the Contributers (Coders, Designer, Tester, Others)
Screen Design for each Projects goes here
Screen designed by contributers goes in this post.
NOTE:All screens designed will be copyright of the designer and should not be distributed or used without a permission.
Attached a Screen for an idea for Project 4
Notice the first Plugin in Yellow border.
Created by me.
List of Features and Request for Features and Suggestions
List of Features and Request for Features and suggestions goes in this post whomsoever wants. Then the team can make it happen.
Builts / Releases
Builts / Releases Goes in this section.
Technical Disscutions
Important Technical Disscutions will be posted and collected in this post.
Intentionally kept blank 1
Intentionally kept blank 1
Intentionally kept blank 2
Intentionally kept blank 2
Intentionally kept blank 3
Intentionally kept blank 3
Intentionally kept blank 4
Intentionally kept blank 4
Intentionally kept blank 5
Intentionally kept blank 5
zbop has done something similar to what you are looking for in number 4. You place info in reg. keys and then update that info via Mortscript (or however you want) and then it gets scrolled on a today screen line. Check out http://discussion.treocentral.com/showthread.php?t=141375 post #269 for the latest version.
more than 600 views but just 1 reply!
I wonder how does open source developers meets and work together
I decided to give this initiative a fighting chance so I am going to 'sticky' this thread for one week.
If there are no takers I will 'unsticky' it.
Unfortunately, I do not currently have time to take part in this project my self as I am learning to program for Linux and OpenMoko specifically.
greenhacks said:
more than 600 views but just 1 reply!
I wonder how does open source developers meets and work together
Click to expand...
Click to collapse
They don't, they start by making something, small, runnable, interresting, then share it, with the source.
This is more than i could expect from this forum. Thanks a lot.
This is a try to bring many great people in this forum and to develop something great for the forum.
Projects mentioned in this thread is just for start.
People can give their own new ideas so all work together and make something great for all the forum users.
i have no other intentions to start this thread other then bringing all together.
Starting this thread i thought i will also put my skills to help new guys.
Thanks again, and i hope this works out.
Here's a project idea that came up in the herald forums - use your touchscreen as a psudo-wacom tablet while tethered. Yes it would only be on/off and wouldn't sense pressure differences, but would still make for a cool project.
Heared of Android?
I guess you have heared about android,an all open-source linux based platform.And about the total of 10M bounty by Google as an award for the top 50 applications tha will be developed for the platform.So I'm guessing any developers with the skills to do such projects will have their hands full.
After all it sould be reasonably easyer to programm for an all opensource platform than for WM,a closed source platform.
Just my 2 cents.
nstamoul said:
I guess you have heared about android,an all open-source linux based platform.And about the total of 10M bounty by Google as an award for the top 50 applications tha will be developed for the platform.So I'm guessing any developers with the skills to do such projects will have their hands full.
After all it sould be reasonably easyer to programm for an all opensource platform than for WM,a closed source platform.
Just my 2 cents.
Click to expand...
Click to collapse
Count the number of applications developed in this forum by everyone for so called 'closed source platform of wm6'
I do agree with your thoughts and dont say you are wrong, but hey thats a whole different ball game.
Always remember
When a company runs out of concepts, then company organises a competition with great prices. At the end company gets thousands of new concepts. winner gets the price, company gets new product.
same thing happens in open source world as well as close sourced.
If all think in this direction then i can bet, xda will run out of members.
not trying to defend, but this is something which simply cannot be debated or this is not a right place.
tene said:
They don't, they start by making something, small, runnable, interresting, then share it, with the source.
Click to expand...
Click to collapse
Then lets make something small, runnable, interresting, and share with the whole world!
It was very dificult to find this kind of groups, thats the reason internet became so famouse, where we can find different people with great skills from different country and make things possible.

Location Based Reminder

Hi,
I was wondering if a Location Based Reminder Software would be a good idea to develop if it doesn't exist, i didn't try to search much for such software, while i always love to develop simple things my self (they will be free ).
what do you think? should i go for it?
any specific features should i include in?
Awesome idea - has commercial potential as well.
Besides that perhaps look at integrating with Notes - e.g. Shopping list and "grocery store". I sometimes put notes in as I go, so with keywords, your app could be running in the background and if set up, will pop up with the "grocery list" or something like that.
Nice, so let's get it on.
Commercial? no, at least not for the first couple of versions. let's do something good to the world
Project Location Based Reminder for Mobile
Started the project "Location Based Reminder for Mobile" on codeplex
as a start i will be using the built in tasks for storage.
LBRM V0.1:
- Uses windows built in tasks.
- Locations Based on Categories.
- Reminders assigned to a location category.
you can access the project from here
http://www.codeplex.com/LBRM
Note: This Application is still under development and it is not functional at all.
Please don't attempt to install on your device.
Note: Access Available only to members participating, if you want to participate in testing kindly let me know.
Note: This application is provided as is, no warranties or support. i take no responsibility of anything or any damage done by this software or any part of it.
What is the status of this project? I checked the link but couldn't find lbrm there.

Git-er-Done (GTD for PPC)

I'm working on a GTD system for Windows Mobile. My thinking is that, since I always have my phone with me, what better place to maintain a "trusted system"? I've seen make-shift systems based on Outlook Tasks, ListPro, etc., but none of them were right for me. They were either too inflexible, not robust enough or too cumbersome.
My goal is to make it as simple as possible - but no simpler. With that design goal in mind, I'm making it tag-based. No need for category, priority, or context fields - just use tags... @Home, @work, ASAP, Wait4, @errands, Business Hours, Home Maintenance, Auto Maintenance, etc.
Planned functionality...
MAIN MENU
Quick-Add Item (description only - auto-tagged with "TagL8r" for subsequent review/edit)
Add Item (including tags, and notes - with an option (future release) to auto-timestamp the creation date in the Notes field)
Quick-Find Item (Enter a search term, see a list of records that include that text anywhere in the record (i.e. in any field). Primarily used when there's something you don't want to forget - but you can't remember if you entered it already.)
View Items by Tag (Future release will include code so multiple tags can be used as a view (and possibly add-items) filter.)
View Untagged Items (Finds items tagged "TagL8r" - select item to add tags)
Mark items complete (one button - optionally including auto date/time stamp in Notes field.)
View Completed Items (Finds items tagged "TagL8r" - select item to add tags)
Manage Tags (future release)
Backup Data (via ActiveSync - database files must reside in \My Documents for this release; additional options planned for future release)
Skinnable (future release)
UPDATE:
I tackled this this using AutoHotkeyCE with a flat-file database. (I'm not a C programmer. And Mortscript's GUI functionality is woefully inadequate.)
This has gone badly. After 6 weeks, 10-12 (and sometimes more) hours per day, 6 (and often 7) days a week, I have an app that gets buggier the more I try to fix it.
While great for simple desktop automation tasks, AutoHotkey is (IMHO) not well-suited to sophisticated, GUI apps. (It has the chops - or at least the desktop version does -but the CE port is buggy and the syntax is incredibly counterintuitive.) In short, it has been an exercise in futility and terribly frustrating. I wish I had chosen any other scripting language (even Perl) for this, but for WM, my options were limited. (If there was a good implementation of php for PPC, I'd have been all over that, but sadly, the only such implementation was abandoned long ago.)
Bottom line, I will still be doing this, but I'll be doing it in C# or C++ (kind of a learn-as-I-go proposition.) When it's done, I'll certainly be posting it here, but after 6 weeks of very hard work, my neglected wife needs some attention. And with nothing to show for all my hard work, I need a bit of a break. Then there's the learning curve of a new language.
For now, though, I'm posting the main help file (PPC friendly) - with screenshots - as a sort of "sneak preview". Your comments and feedback are welcome.
Hi,
I'm waiting for your prog. Please make sure tags are outlook categories: I'm using GTD programs on my PC too, like jello-dashboard, and they relly on category to sync.
Thanks
This is totally separate from Outlook and I had no plans for integration. All data is stored in a flat-file database, but if you keep that file in My Documents, it should sync without problem. The entire app should work on the desktop as well as the PPC, though. And I'll optimize the desktop version to take advantage of the larger screen. This may be a deal breaker for you, I don't know. Then again, maybe you'll like it well enough to switch over. I'll certainly be open to enhancement requests, especially for the desktop version. If there are particular features that you really like in your desktop GTD app that I'm not implementing, I'll definitely consider adding them.
One other thing re: Outlook categories... I'd be glad to implement an import feature but I don't know how to access the system db that contains the Outlook categories. I've asked (on this forum) if there's a commandline util for doing so (and where to find a schema) but no one has ever answered either question.
Have a look at MLO http://www.mylifeorganized.net/products/my-life-organized/how-it-works.htm
I have. I believe my app will be better. Quicker/easier to add to my "Inbox", quicker/easier to sort/organize, quicker/easier to review/set priorities & action items, and in general, a whole lot more flexible. (Not to mention $77.95 cheaper!)
Sorry for the delay!
To those who have been watching/waiting for this, I apologize for the delay. I initially wrote the QuickAdd and QuickFind functions in Mortscript but then decided I wanted all the code in AHKCE, so there's been a bit of a rewrite and some problems with the port to AHKCE (some my fault, one apparently a bug.) And now there may be further delays as life (or maybe I should say "wife") is getting in the way.
Well all my GTD systems are based around outlook/exchange. Not using category, and using your own database to sync with the pc is going way back for me, at a time where I can sync between 7 devices with ease, using the same mail, contact, task and schedule database, and still access this data over internet.
Google might be another repository, but a GTD without any form of MAIN internet sync looks so Pocket pc 2003 to me.
But I'm sure you might reconsidere this, specially if you see that using standard outlook database with tags allow you to communicate with any PC part with ease, without reprograming your own.
This would be fantastic. Like you said, since the flat-file db can be file synced, it's all good. May could even bend it into a format that todo.sh/txt could handle!
Anyway, looking forward to it's release.
I don't really see your point
But I'm sure you might reconsidere this, specially if you see that using standard outlook database with tags allow you to communicate with any PC part with ease, without reprograming your own.
Click to expand...
Click to collapse
I've read about (and tried using) the Outlook method, with categories as tags. Didn't work for me. Outlook is a kludge. It wasn't designed specifically for GTD, isn't extendable, and is lacking in several areas. I found it cumbersome - Not quick to add an item to my inbox (or at least not nearly as quick as my app.) Not quick to add new categories as needed. Not quick to find multiple items with the same tag(s) (which could be items tagged "today" or with a context tag - mine will display such lists very quickly.) And not as quick to change to edit mode for items found via search.
Aside from all that, I don't use Outlook at all. I much prefer Thunderbird on my desktop, and Gmail forwards all mail to my phone via (push) web2mail.
thaihugo said:
at a time where I can sync between 7 devices with ease, using the same mail, contact, task and schedule database, and still access this data over internet.
Click to expand...
Click to collapse
Why would you need to sync with 7 devices?! You're placing a lot of emphasis on syncing. I'm not. This is phone-centric because I always have my phone with me. Yet I can still sync to my desktop (for entering long notes, etc.) using ActiveSync - by keeping the db file in \My Documents.
If the syncing issue outweighs the benefits of my app for you, I guess you won't be using my app. If syncing via Outlook Tasks is a priority for you, consider writing something that imports the dbfile into Outlook tasks.
defsquad said:
bend it into a format that todo.sh/txt could handle!
Click to expand...
Click to collapse
Shouldn't be that hard to support. Does it store it's data in a single text file?
Soon!
Excellent progress so far today. Just a bit of wrap-up to do and then I'll post v0.1 beta 1. But it'll have to wait til tonight - gotta run some errands, and appease the wife by doing some chores that have been put off due to this project!
This sounds great!
The thing i miss about Listpro is, ability to mark some ithems as "outlook tasks", so they show up in other programs, calender, etc. Just at suggestion.
I doubt I can do this from AutoHotkey or Mortscript. I would have to call some sort of commandline utility like
OutlookCreate.exe -item=appointment -subject=[subject] -date=[date] -time=[time] -reminder=[reminder]
As far as I know, this doesn't exist but if anyone knows of one (or wants to write one), I could certainly implement this functionality.
I do plan to implement a reminder function that would optionally set a system alarm for the current item/new items.
Status Update
For those watching this thread/interested in this app, I've posted an update (the news is not good) in the 1st post, along with the main help file (with screenshots) as a sort of "sneak preview". Sorry if this has become vaporware.
Oops. Forgot to include linked images (screenshots) when I uploaded the help file. Reuploaded. See 1st post.
One thing you might try is to Tweak an App like bLADEwiki to do GTD.
Good Luck in your GTD and C programming !
Does it working?
Hi Donny
I tried to install you software but it did not work. Maybe I did not try enough.
Half year ago I had a same dispute. Mortscript or Autohotkey? Morscript was winner, however it has not pretty gui windows, it has better scripting. So I created Plain todo. I use it every day: www.plaintodo.com

[Q] What debug and log tools are available?

Hi,
I'm interested to know which debugging/logging tools are available.
I'd like to get more information about the processes at startup, and specially logs of the CPU usage by each application over a period of time.
I've been searching for some time and the only I've found are the old Htc Test applications, but can't get what I want.
Noted that HTC devices have a builtin debug tool (debuglog.dll). Anyone knows how to use it?
Also found the following the following post describing the HTCDiagDriver and the possibility to analyze the device using QUALCOMM eXtensible Diagnostic Monitor.
http://forum.xda-developers.com/showpost.php?p=12624471&postcount=2
Anyone uses it?
Global debuglog can be enabled via DebugTool.exe (available in Htc Test Applications). It depends on debuglog.dll, yeah. Read manual, it works quite well.
Then, if you want to get log for selected app, launch it via IDA.
Also we have CeLog available, I will post needed launchers soon. I can hardly call it useful as we have retail/ship SYS builds. The only useful purpose for us is page faults chart.
EDIT: CeLog attached.
Some of the builds come with the Perfman package. That s.o.b. will really slow down your device, though, and it creates a massive log file, which I could never find the tools to analyze. I think celog does it, though, which is pretty sweet.
The htc debugger works better. You just change one of the debug flags and reset, and the device starts writing the log file. It doesn't slow down the device nearly as much as perfman. I think celog may work on that log file, too. You can royally eff up your device with that tool, though, if you mess with the radio flags. It's pretty cool how it writes to flash memory. Too bad you can't change other things with it like the page pool size.
ultrashot said:
Also we have CeLog available, I will post needed launchers soon. I can hardly call it useful as we have retail/ship SYS builds. The only useful purpose for us is page faults chart.
EDIT: CeLog attached.
Click to expand...
Click to collapse
I have been playing with the tool on my Tornado and observed the following (usage related):
Use it while the device is disconnected from PC. The overhead of repllog.exe (connected to ActiveSync on XP PC) and syncing is just filling your log. For my installation (no further MS Mobile development tools on the PC) kerneltracker.exe does not connect to the device anyway.
Though obvious, the files CeLog*.exe have to run on the device, so copy them to a convenient place there.
The CeLogAttach.exe seems to start the kernel logging and it slows down the device (kind of obvious). There is no way to stop this logging. Something like CeLogDetach would be needed, if it exists, to restore the state before CeLogAttach.exe was run.
The CeLogFlush.exe will flush the existing log but also immediately start the logging again.
The CeLogStopFlush.exe does just what the name tells - it stops the flush to file of the (still ongoing) logging.
After transfering the celog.clg file (from \Release\ directory of the device) it can be opened in kerneltracker.exe. Then you see all the kernelactivities logged and aligned per process/thread on a zoom-able timeline (10ms - 10s) including the labels of the logged primitives. With event filtering you can sort out what you are not interested in. Here you may need advice on what to look after when you want to hunt down a certain device behaviour.
I have checked for page-faults, Virtual Memory related actions (Allocate, Copy, Free) and also Module actions (load, free) to get a clue if and how modules and paging (or better said: the use of the Page-Pool) is correlated. Nothing eye-striking coming up here, but it may just be for the unknowing observer like myself.
@ultrashot: I could not find anything I would call a "page faults chart" - where is that - or what is that?
Looking further: If I change certain device properties (like increase the pagepool or playing with OSB advanced options) I fear that the logged information here is just far too detailed for a useful compare. For that you would have to create identical conditions for the action under scrutiny - something that cannot be done with a disconnected device.
So I have to admit that all objective compare of such tuning and tweaking is far above my head and I just have to join the many that make more or less clever assumptions trusting on their model of actions in their heads. I hope that the better knowing heads continue to spread their wisdom without only telling RTFM or guide with LMGTFY (which can help if the results really point to right places).
tobbbie said:
@ultrashot: I could not find anything I would call a "page faults chart" - where is that - or what is that?
Click to expand...
Click to collapse
Use Event filter->Miscellaneous->Page fault.
I am not too advanced user of this tool. If we had builds with extra celog instrumentation, we could have take much more from this tool. However, there are some articles in the internets about celog, so anyone who wants to be get more info may just try to google it. I don't want
ultrashot said:
Use Event filter->Miscellaneous->Page fault.
Click to expand...
Click to collapse
That is what I did already when telling about the items I cared below. Page faults are however part of generic virtual memory management and they do also apply for any normal loaded executables. As you know I seek for traces of module related paging and the use of the page-pool.
So it will stay with the trial and error and side-by-side compare with two devices having different settings. Not a big thing doing that...
Some interesting articles on MSDN regarding the paging pool (aka "pagepool"):
Kernel Blog article explaining the fundamentals (highly recommended): http://blogs.msdn.com/b/ce_base/archive/2008/01/19/paging-and-the-windows-ce-paging-pool.aspx
Pagepool Variable explained and simple methods to measure impact: http://msdn.microsoft.com/en-us/library/aa451041.aspx
-> this is what kitchentools are patching in the kernel
Then some more backup on virtual memory - just to complete on that:
http://blogs.msdn.com/b/ce_base/archive/2006/10/30/what-is-virtual-memory.aspx
http://blogs.msdn.com/b/hegenderfer/archive/2007/08/31/slaying-the-virtual-memory-monster.aspx
http://blogs.msdn.com/b/hegenderfer...aying-the-virtual-memory-monster-part-ii.aspx
And to get back to the debug tools topic of this thread, linked form the first article an introduction to the Remote Kernel Tracker to explain what you can actually see there (and why you cannot see certain things as we have shipped ROM builds and not profiling builds to deal with): http://blogs.msdn.com/b/sloh/archive/2005/05/17/introduction-to-remote-kernel-tracker.aspx
Great insight if you want to get a glimpse of how Windows CE operates under the hood.
...reading a little deeper in the MSDN articles, Sue Loh mentions there when talking about the paging pool size determination:
The best tool I know is that readlog.exe will print you a page fault report if you turn on the “verbose” and “summary” options. If you get multiple faults on the same pages, your pool may be too small (you may also be unloading and re-loading the same module, ejecting its pages from memory, so look for module load events in the log too). If you don’t get many repeats, your pool may be bigger than you need.
Click to expand...
Click to collapse
To avoid dealing with a full setup of the Mobile Development toolsets, could any one (ultrashot - you have been so helpful - could you??) post that mentioned "readlog" tool? If there is something like "CeLogDetach.exe", please add it too.
BTW: you may notice that the paging pool is a central part of the Windows CE memory management when it comes to running executable code from "memory mapped files" (as Sue Loh calls them). In my understanding these are simply what we know as "modules".
A lot of tweaking strategies go around that when building ROMs with OSBuilder. There are several ways how to avoid or optimize the use of the paging pool for certain or all modules in OSB. I think these options deserve an own thread and I am not sure if the one OSB thread we have should be cluttered with discussing this.
don't have any of those.

Categories

Resources