PocketMatrix forums

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

PocketHAL 0.0.1 has been released

A technology preview of PocketHAL, the next generation library for Pocket PC game development has been released.

Get it fresh at: http://pockethal.droneship.com

PocketHAL can currently be seen as an alternative to GAPI and GAPI-based libraries. You though GAPI was the fastest way to do graphics on your Pocket PC? Think again. PocketHAL can often run twice as fast as GAPI and further optimizations are in the work.

Documentation will follow shortly (within the next week), but experienced developers should have no problem jumping right in.
Looks great! Congrats on getting the release ready!

Um. Will you be moving the forum to http://www.droneship.com/forums/ or will you be keeping both forums?
Johan wrote:
Looks great! Congrats on getting the release ready!


Thanks! There isn't as much as I wanted to for the first release, but I figured out that people might be interested in an early version. This can also be seen as some kind of beta-testing phase.

Johan wrote:
Um. Will you be moving the forum to http://www.droneship.com/forums/ or will you be keeping both forums?


I will keep both. The forums at www.droneship.com are mainly meant for announcements and tech support. The developper community here is strong and filled with talented and fun people, I have no intention of closing this forum =)
OMG!
huge news!
too bad i´m on college right now and can´t try it out

congratulations thierry!
due to time constraints I cannot give the HAL a try just yet. Once it reaches the point of working with PF I will take a look.
This is excellent! Just the kind of game library I've been wanting. Supa-fly fast that supports the GDI.

Keep up the awesome work Thierry!
Thanks Thierry,
I'll try it out right away

Joost
Thierry,

I'm in the process of porting some demo code to the new environment, but what happened to the Game class?
is there an alternative, I have to get rid of my GameLoop somewhere?
I must have overlooked something, but can't find how to hook up the loop.

regards, Joost
JoostB wrote:
I'm in the process of porting some demo code to the new environment, but what happened to the Game class?
is there an alternative, I have to get rid of my GameLoop somewhere?
I must have overlooked something, but can't find how to hook up the loop.


I think that you are mixing PocketHAL with PocketFrog.

PocketHAL is a low-level library meant to replace GAPI (and do much more).

PocketFrog is the high-level library with raster functions and the class "Game" that you are looking for.

The current release of PocketFrog doesn't use PocketHAL (but soon will).
:oops: of course (stupid question from my side ),
I can still continue the port of the demo since I was writing pixels directly in the backbuffer, I didn't use any of the pfrog blitting functions. It should not be that hard to get it running directly on PocketHal.
I'll post it as soon as it's ready
JoostB wrote:
I can still continue the port of the demo since I was writing pixels directly in the backbuffer, I didn't use any of the pfrog blitting functions. It should not be that hard to get it running directly on PocketHal.
I'll post it as soon as it's ready


Great! I'm eager to see your demo!

You should have no problem integrating PocketHAL in your existing Game class.
This HAL was precisely what I was waiting for :-)

I didn't have time nor access to all required devices to implement this myself and on the other hand, while I like GapiDraw, I didn't like its "pre-rotated surfaces" approach since it severely limits performance of custom renderers ( or alternatively forces people to write rotation aware code.).

Frankly, since I already have my own code for various blitters ( written in ARM asm for Sharp Zaurus devices) I don?t really need ?the Frog? part of the library.
HAL is all I need :-)

Great work.
Is PocketHAL going to have a PC/DirectX implementation? Or is this intended to be handled at a higher level (in PF)?

It'd be nice to be able to do PC builds with PocketHAL alone

(I really, really dislike the PPC2002 and Smartphone 2002 emulators.... and try to go straight from a PC build to an ARM/real hardware build)
warmi wrote:
This HAL was precisely what I was waiting for :-)
(...)
Frankly, since I already have my own code for various blitters ( written in ARM asm for Sharp Zaurus devices) I don?t really need ?the Frog? part of the library. HAL is all I need :-)

Great work.


Thanks Warmi. I figured out some people might have a need for such a low level library. In the past we had EasyCE, but Jacco didn't continue supporting it.

I also have the need for such a library and I am glad to see it is useful to others.
bluescrn wrote:
Is PocketHAL going to have a PC/DirectX implementation? Or is this intended to be handled at a higher level (in PF)?


Not sure... My intent was to have DirectX support in PocketFrog...

bluescrn wrote:
It'd be nice to be able to do PC builds with PocketHAL alone


I agree. I would also like to be able to do that. The thing is that you can simply create a DIB and use that.


bluescrn wrote:
(I really, really dislike the PPC2002 and Smartphone 2002 emulators.... and try to go straight from a PC build to an ARM/real hardware build)


No kidding... =)
Kzinti · 08 Oct 2003, 04:30 UTC — Documentation now available for PocketHAL
Documentation is now available online for PocketHAL. Let me know what is missing or could be improved.

http://pockethal.droneship.com/documentation.html
Hello Thierry,

Could you give a very simple sample project using PocketHAL ?

I think this could help some non-OO devs like me using your lib.

Could you give a very simple sample project using PocketHAL ?

I think this could help some non-OO devs like me using your lib.


StephC,
you might try the post at 'pockethal sample code' I did earlier this morning. Let me know if you get something out of that.
joost
Mr X · 10 Oct 2003, 19:55 UTC — Partial frame swap?
Would it be possible to do a partial frame swap?

On a 2215, almost 50% of the processor time is spent doing the frame swaps...
Kzinti · 10 Oct 2003, 20:30 UTC — Partial frame swap?
Mr X wrote:
Would it be possible to do a partial frame swap?

On a 2215, almost 50% of the processor time is spent doing the frame swaps...


Yes, viewports will be one of the first features I will add. The low-level code already supports it, I just didn't get around to testing it yet.

So the plans right now are:

1) Fix the mouse coordinates
2) Fix the iPAQ 3800 issue

And then:

3) Improve the performances
4) Add viewports
Great news.

Being able to use dirty rects on the framebuffer itself would be very useful, especially for the slower mediaQ based devices where framebuffer transfer is whats causing the slow down.