Register
Site Login
Site Search
Forums
Advertisement
Welcome to PocketMatrix. PocketMatrix is dedicated to providing the best online community for mobile device developers and enthusiests. What's new?

Fisrt steps in debugging a HAL/PF game using all latest patc


Fisrt steps in debugging a HAL/PF game using all latest patc

Postby Conan » Nov 9, 2005 @ 9:50am

On my Axim X51v WM5 device (having built with the imaging factory fixes) the game starts, Hekkus begins to play, the first screen appears and then the game falls over. On the X5 I don't even see or hear anything, it just fails.

Interestingly I don't see and of my 3D which comes to PF from PocketGL so I will follow that angle up myself.

Does anyone have any insights into obvious reasons why I get crashes bearing in mind the regular PF .7 version without HAL runs fine on the X5 and other older devices.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Kzinti » Nov 9, 2005 @ 7:28pm

In what way(s) does it fail? Do you get a callstack at all? What happens? Screen is black? Pink?
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby fast_rx » Nov 9, 2005 @ 9:04pm

Once, when I had a similar problem, in gameinit - I put multiple getDisplay,clear to a specific color, and update.

For instance, at top of gameinit, clear to red. then to yellow after a few things get loaded, etc...

That way, I could see how far the code was getting before it quit.
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby Conan » Nov 9, 2005 @ 9:18pm

The game just exits. No info onscreen. I'm going to assume that it's at the point of PocketGL starting to draw stuff that it goes haywire. I will test tomorrow if I get time.

I did get the game working with HAL some months ago just for fun so who knows what's happening.

I'm not going to spend too long as I just wanted my game to work on my new X51v but it's not really important. I'm working my way into doing the next game really.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Kzinti » Nov 10, 2005 @ 1:28am

Just use the debugger and trace the code?
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Conan » Nov 10, 2005 @ 7:31am

I don't have a functioning debugger as my eVC 3 tools don't like activesync 4
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Kzinti » Nov 10, 2005 @ 7:15pm

Shouldn't you be using EVC4 or VS2005 with the Axim x51?
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Conan » Nov 10, 2005 @ 7:33pm

well I have all the stuff downloaded and got the VS2005 DVDs from M$ but no time to install at present. Will do soon.

ok. Ran the eVC4 install. It installed the new platform mgr, rebooted & now the install wort carry on. Restarting gives an error. I'm copying the install to my laptop to try.

update: My desktop was missing a file autoexec.nt so the install was failing. Restored this file & have now installed the eVC4 system + the SP4
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby abiemann » Nov 10, 2005 @ 10:12pm

Conan wrote:well I have all the stuff downloaded and got the VS2005 DVDs from M$ but no time to install at present. Will do soon.

ok. Ran the eVC4 install. It installed the new platform mgr, rebooted & now the install wort carry on. Restarting gives an error. I'm copying the install to my laptop to try.

update: My desktop was missing a file autoexec.nt so the install was failing. Restored this file & have now installed the eVC4 system + the SP4


Are you using WinXP SP2? VS2005 requires SP2. If you are using SP2 then I'm surprised eVC4 installed so easily for you.
abiemann
pm Member
 
Posts: 73
Joined: Jul 9, 2004 @ 11:26pm


Postby Conan » Nov 10, 2005 @ 10:21pm

yes, XP sp2 however it was not easy. It took me about 2hrs 30 mins inc the service pack and an sdk. It's building and running on my X51v so I'm happy for now but none of the PF/HAL stuff is working just yet.

update: I built a couple of the v.8 samples with the 2003 2nd edition sdk, downloaded & they hang the Axim. The ordinary Windows samples build & run ok. obviously something I'm doing wrong???
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby fast_rx » Nov 10, 2005 @ 11:03pm

Did you rebuild all including the pf library? (and make sure the lib is where you expect it do be)
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby Conan » Nov 11, 2005 @ 8:22am

I had not done a rebuild all. I did this now on PF and one of the samples also checked the include and lib files location but my X51v still freezes so I will check everything methodically later this morning.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Guest » Nov 11, 2005 @ 4:22pm

I'm having a similar issue. I have PF 8.1 (without the patches). When I build the blit demo, it runs fine on a X30 but when I try it on a X51v it locks up the X51. I recompile all on everything and it's still a no go. I'm also using EVC3.0, but this shouldn't be a problem. If you figure anything out Conan, please let us know. Likewise if I figure anything out I'll post here. Anyone else had any experience with the X51 yet?
Guest
 


Postby Conan » Nov 11, 2005 @ 4:45pm

Got it all working. It's just a case of doing a rebuild all on PF and the apps. So far only the release version seems to run on WM5. I also deleted all previous PF arm libs just to be sure I was linking the correct one.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Guest » Nov 11, 2005 @ 8:08pm

Well this is interesting. I still can't get the blit sample to work, but if I try to plasma or the rotate, they work fine. Likewise, my project is locking the X51. So there is something in the blit and my project that is locking up the X51. I don't quite understand it. I'll debug some more.
Guest
 


Next

Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

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
You cannot post attachments in this forum