PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Deploying to Pocket Frog Emu PPC...

Hi,

After about 1.5 hours reading the forum I can't find an answer to my problem though it seems obvious. I am sure I just did not find the right post. Would someone be so kind as to answer this?

I am an experienced C++ game developer but I have never built anything with eVC4 or PF. I'm now looking at this for the first time.

After installing everything, I can compile everything, including PF and the samples without any problems at all. I can also deploy to the device.

However, what I want to do is run the samples in the emulator (see PF Emu_PPC_2002). I see two problems why I am currently not able to do this:

1.- this emulator (the PF GAPI one) does not show up on eVC4. How does one get the PF emulator to appear in the target drop down? I've already built all libraries...

2.- I've read somewhere that the emulator does not support PPC 2003. Is this true? Is that why? Do I need then to use eVC3 for PF-based games?

thanks for the info
Madvox
I'm very new to PPC programming and programming in a microsoft environment in general so I don't know if this will help. I believe that there are only two emulators available though. PPC 2000 and PPC 2002 and they say that PPC 2002 is more reliable. I was having some linking problems when I tried to compile for the emulator, but I followed some instructions from nemanja dizdarevic and they worked for me. Take a look at this thread http://www.pocketmatrix.com/forums/viewtopic.php?t=21737

Maybe you have already done all this, but maybe it will help. Good luck.
Hi there,

2.- I've read somewhere that the emulator does not support PPC 2003. Is this true? Is that why? Do I need then to use eVC3 for PF-based games?


It does not support it, because it is old :wink:
But seriously: Microsoft is working on a new emulator
for VS 2005. It runs Pocket Windows 2003, SE and
is ARM-based. You can find it right here:

[url]
http://msdn.microsoft.com/mobility/wind ... fault.aspx [/url]

I installed it on my machine a bit more than a month ago. It still has a couple of issues (it does not seem to catch all hardware buttons properly, Hekkus
did not produce sounds), but I was able to test
Mole Position (written in PocketFrog 0.8.1) quite
well on it. You basically connect through ActiveSynce
and it works like a normal PDA.

As far on whether to use EVC: when I started out, I programmed with VS 2003 and .NET compact framework.
I released one game (Space Brawl) that way. C# is
a really nice language, but eventually, I hit a wall.
I was trying to do a constantly scrolling background layer - and although it basically works, every few seconds, it just hangs for a fraction of a second. It could be my code (you never know), but I suspect that it is the garbage collector. So, I switched to PocketFrog, reimplemented the same layer in C++, and everything worked fine...

Best regards,

Jens
madvox · 25 Jul 2005, 23:38 UTC — Thanks
Thank you both. This did take me farther. The article on building the emulator brought me very close. However, the program still loads the PPC 2003 Microsoft emulator instead. I am not sure why. Other than that, everything compiles good and I did build the EMU libraries successfully. But when I run the game, it loads the PPC 2003 Standard emulator which does not support GAPI. No idea why...

Regarding the 2005 Emulator from MS, I certainly did not know that either. I am downloading it right now. Perhaps this is a better option for me given the MS libraries I am using. I do not use .NET for this type of development. I know I could but I will wait for .NET Framework 2.0 to try. Even so, I will probably not do it. I use .NET for business and web development. For games, even though I know well that you can use either the new framework for mobile development and/or DirectX 9.x with managed extensions for C#, I just don't like managed code for my games. I rather do all the managing myself :)

Anyway, thanks again for your help, both of you.
Madvox
madvox wrote:(...) But when I run the game, it loads the PPC 2003 Standard emulator which does not support GAPI. No idea why...

Regarding the 2005 Emulator from MS, (...) I just don't like managed code for my games. I rather do all the managing myself :) (...)
Madvox


I had the same problem with GAPI in the past, when I was still doing C# und .NET CF. However, if you switch to
PocketFrog .8, you can use even the old 2002 emulator. The new PocketFrog uses PocketHal instead of GAPI, and that works very well even in the old emulator.

Btw: I share your position regarding managed code, at least for embedded development. A pity, though - if done right, garbage collection can make development so much easier and faster... :(
I agree with you. And, in my case, to be totally honest, it is just that I am used to working outside of the managed extensions for game code so in reality, it is more of a matter of preference than any particular issues with the framework at all.

BTW - I was finally able to get everything to work within eVC4. Beautiful!

Madvox