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?

What's the difference between PF, PH, PF(PH ed)?


What's the difference between PF, PH, PF(PH ed)?

Postby Guest » Sep 5, 2004 @ 11:47am

Hello!

Sorry guys for my newbie's question. But I still(!) 8O do not understand what's the difference beetween PocketFrog 7.x, PocketHAL and PocketFrog 8.x(HAL edition) and in what cases should I use the specific sdk to develop an app for pocket pc and serie 60 devices...

Looks like I can write a prog in any of those sdks? But why do I need 3 sdk(!) not 1 cross-platformed sdk? :roll: What's the difference between those?
Please enlighten me. Thanks
Guest
 


Postby Presto » Sep 5, 2004 @ 3:08pm

PocketFrog 0.7.0 uses GAPI.

PocketHAL is a replacement for GAPI (much faster).

PocketFrog 0.8.0 uses PocketHAL.

:)
User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby fast_rx » Sep 5, 2004 @ 3:38pm

also, phal is just a framebuffer - you have to write code on a pixel basis.

Pf is a graphics library which can do bitmap based things.

hope that makes sense.
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby fzammetti » Sep 5, 2004 @ 9:15pm

The two explanations given are accurate and quite clear, but for the newbies, let me expand a little bit...

As fast_rx said, PocketFrog is a library of graphics functions. Things like drawing circies, blitting bitmaps, rotating surfaces, collision detection, etc. All of that is contained in PocketFrog (any version, PocketHAL edition or otherwise).

PocketHAL, as Presto said, is a replacement for GAPI. In other words, PocketHAL will give you a pointer to an area of memory where you write out graphics for display. When using PocketHAL, *YOU* will have to write all the functions named above, and whatever else you want.

PocketFrog 0.8.x is the best of both worlds... It's the library component of PocketFrog, but it uses PocketHAL instead of GAPI under the covers. If you are using PocketFrog, you will 98% of the time not care (from a programming standpoint) whether it's using GAPI or PocketHAL, the code you write will be the same. You of course WILL care in terms of performance because PocketHAL is so much faster than GAPI, and in some situations you might care from a code standpoint, like direct surface nanipulations (which should be a lot easier with PocketHAL because it's linear).

I don't think there's any reason to be using PocketFrog pre-0.8.x. The only reason I can think of is if you want a completely free product (PocketFrog based on PocketHAL is "donateware", more or less... Not sure if Thierry has a different name for it :) ). If you are interested in writing your own library from scratch, PocketHAL will make that task easier and help maximize potential performance.
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby fast_rx » Sep 6, 2004 @ 2:08am

I don't think there's collision detection built-in...

Maybe this should be a sticky post? Weren't there some stickies a while back?

edit: I guess the Rect and Point code can be used for collision... I was thinking of the per pixel collisions when I originally posted...
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby Guest » Sep 6, 2004 @ 2:40pm

Thanks guys! Now it's clear to me.
Guest
 


Postby rapidlord » Jul 21, 2005 @ 4:36pm

The only reason I can think of is if you want a completely free product (PocketFrog based on PocketHAL is "donateware", more or less...


Can you say something more about this, is it a must to donate if you use it in commercial application, or is it your choyse to donate or not.
rapidlord
pm Member
 
Posts: 1
Joined: Jun 11, 2005 @ 2:28pm


Postby BIGBEN » Jul 21, 2005 @ 4:52pm

Correct me somebody if I'm wrong.

But for the last time I heard of it the conditions were the following:

You can use it in non-com/commercial product, BUT if you want to make it logo free (PocketHAL logo), you should donate some. :wink:
User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby Kzinti » Jul 21, 2005 @ 5:05pm

Donations are just that: donations. So no, you don't have to make one.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby jaguard » Jul 21, 2005 @ 8:27pm

But you don't get a banner-free pockethal then :).
jaguard
pm Member
 
Posts: 230
Joined: Mar 2, 2004 @ 6:45pm


Postby Haddes » Apr 23, 2008 @ 8:31am

Hello,

How does pocket frog integrate the latest release of pocket hal? do you have to replace some code files / libs ? (because PH is ahead of PF with several years?!)

Thanks.
Haddes
pm Member
 
Posts: 2
Joined: Apr 23, 2008 @ 8:21am


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