PocketMatrix forums

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

PocketHAL 0.7.1 released

PocketHAL version 0.7.1 has been released. This is the first multi-platform release of PocketHAL. The supported platforms are:

Any Windows CE device (version 3.00 and above). This includes but is not limited to:

- Pocket PCs, Handheld PCs and Smartphones.
- Desktop PC (Windowed mode only).
- Symbian Serie 60 phones, including the N-Gage.

A "minimal" sample is also provided to show you how a simpel framework can be build for multi-platform development.

The API has been slightly modified to use static constructors.

Get it here: www.droneship.com
Hmm,

Old code doesn't seem to work on emulator or my PPC when recompiled with this new library.

I just get a PHAL_WINDOW title at the top of the today screen when I try to run my code. Runs fine on PH 0.6.6 tho...

Is there something I need to do in this version that I didn't have to do before?

- Alex
That's odd.

1) What device are you testing this on?
2) What orientation are you using?
3) Is it possible for you to send me the code so that I can take a look?

The only change I remember, API-wise, is the new static constructor for class Surface. But this would be a compile-time issue, not a run-time one.
Oh I remember something now...

You *need* to call BeginScene() before calling GetBackBuffer(). Otherwise the returned backbuffer will be NULL.

This is a change in behavior as the 0.6.6 branch would call BeginScene() for you.

Let me now if this is the problem... Otherwise I will need some code to work with.
Ahh, that fixed it! Works flawlessly now :)

Thx Thierry.
i think it's great to see PHAL supporting more and more platforms.

just a question about the symbian port (i didn't try it out yet, so this is a general question not a comment or criticism):

can we expect to see speedups with PHAL as it does on the PPC platform?

thanks,
Daniel
The next release should be significantly faster then 0.7.1. The speed improvement is up to twice as fast on certain devices.