PocketMatrix forums

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

PocketHAL is dead...

I hereby put PocketHAL to the test.

Is this forum dead, or not? Kzinti, you are clearly Thierry, and we've not heard from you for a good while.

You have made some incredible achievements here in your time making fast framebuffer access achievable on PDA devices, your mark is recognised, for many years (since 2002 I believe). Seeing your post rate at 1.62 over this time period demonstrated your sheer commitment to supporting a growing community, so credit to you.

However, devices constantly change, and there have been a number of posts which reflect that PocketHAL is not keeping up.

Notably
* VGA Square (480x480) crashes

Also, you have yourself commented that you ought to spend more time back on this project, but that's usually as far as you go.

This reinforces my belief that you are not looking after this community any more, intentionally or otherwise.

Perhaps your allegiance and/or motives have changed - great, this is fine, but please recognise that many developers have become dependent on your library as a free source for game development upon a blazing fast HAL library. Now, I ask you to explain what the future should be here.

If you are stopping work on this library, for whatever reason, I believe you should at least state this. I've PM'd you recently, and you don't answer. People looking to donate will have zero confidence in doing so (and I recommend you don't until we hear an answer).

Please choose, you either support and contact, or Escrow and release the source, or you tell everyone to solve their own problems as they are now on their own.

And before anyone flames me for this, I've taken precautious and sensitive steps over the past few weeks to allow plenty of time for response.

On a side-note, I personally have spent 3 years developing a GUI library on top of PocketHAL / PocketFrog. I might be willing to release this as open-source, if it will re-ignite an enthusiasm in this great setup. If anyone is interested, let me know. If Kzinti is interested, let me know.

ml
PointOfLight · 13 Mar 2007, 13:39 UTC
I would definitely be interested in your GUI library, and I am also very curious as to the answers for the questions posed in this thread. I have spent the past 2 1/2 years helping ArianeSoft refine PPL, whose core game components are based off of PocketFrog / PocketHAL. I'd hate to see the library fizzle, as it is in my opinion one of the greatest strengths of PPL. I hope your "doom & gloom" is for naught.
I also hope your doom and gloom is for naught. I use PF for all of my games and have a lot of respect and appreciation for Thierry for creating it for us. He never had to do that. :)

But I also agree that it would be nice to hear Thierry's thoughts for PHAL. There haven't been very many innovations in PPCs lately, but I hope that changes with WM6 coming out soon. I don't think there are currently any 480x480 devices out yet either, but there will be for WM6, as well as 320x320.

http://blogs.msdn.com/windowsmobile/arc ... sited.aspx

-John
haven't been very many innovations in PPCs lately, but I hope that changes with WM6 coming out soon.

I hope they won't :). I wish all my games to work without updates on WM6, WM7, et cetera, et cetera :).

I don't know what to do with this GUI lib for pockethal, but I'd definately want to check it out :).

As far as I remember, Thierry promised to support pocketHAL with critical updates, like this hx4700 issue. I hope he will.
I donated last week and got a reply (including the registered version) just a few days later.

While I wish that Thierry would still be more active in this group, I understand that his focus has shifted.

Still, my experience is that whenever there is a problem reported it was fixed soon. Isn't that true?

Daniel
I donated last week and got a reply (including the registered version) just a few days later.

While I wish that Thierry would still be more active in this group, I understand that his focus has shifted.

Still, my experience is that whenever there is a problem reported it was fixed soon. Isn't that true?


Well, to be honest it would be nice if Thierry would pop by to put our minds at rest. If you have managed to contact him, can you tell him there are several people wondering the same thing as I am?

OK, he doesn't owe us anything, and has given a lot.
Maybe it's now time for me to go away and buy a GD or Edge license. I don't need their graphics libraries - I'd rather put this money towards support on PocketHAL, but if there's silence at the end of the line then I don't want to risk this. There needs to be a guarantee of some sort that the foundations won't crumble.

I just think it's a bit poor that he doesn't recognise that problems are stacking up and he's nowhere to be seen - if the time is now for PocketHAL to die, why can't he just let us know at the very least?

The fact he hasn't commented against this thread or any other in the last month makes me think he's gone for good - software developers can't put their lives on hold in case he turns up one day. A week, fine, over a month - makes you wonder what's going on.
I'm sorry to say that I've donated to Thierry and sent him an e-mail on 10 march 2007 and got nothing in response. :(

May be we just do not support Thierry enough that he has lost interest in this project? :)
OK, so I have to say I resent my PM message, got a reply urging me to send direct mail to TT's droneship address, and later received the latest version of PocketHAL.

Thankyou TT. :)

However, there is complete disregard to my questions of the future of PHAL, and still no answer in these forums.

I just don't understand why someone would not respond to these questions, unless the motive was to lock people in and feel clever about it; If he had time to respond to me, he has time to visit this forum and set people's mind at rest, or make a statement for the future.

I don't want to belive it, but it seems TT seems now to be silently enjoying watching everyone else feel locked in - unless for some reason he cannot view these forums in which he has been so active for a long time, what would prevent this?

He doesn't have to respond of course, but what does this tell you?

I guess otherwise, it might help to suggest I've got the latest registered version of PHAL (7e) - TT if you're not around in the next week, what other choice do you leave us but to pass this around until we register with another game library?

TT, for the good of this community, please respond.

Personally, I just don't get what you're up to. :x
Maybe he's been paid off by the Edge library guys ;)

It was good while it lasted and I'd like to thank Thierry for making it possible for me to easily write Pocket PC games. I'll carry on using PF and PH until I hit an insurmountable obstacle, hopefully that won't be for a long while.
I am still doing email support to existing "customers" and I am still fixing critical problems. I also update people with the latest version when requested by email.

Reality is that I've been really busy in the past year in my new position, leaving little time for PocketHAL's development (ie: none). I hope to resume work on PocketHAL at one point, but cannot (yet) make any promise. I do not have the time to monitor these boards anymore, so please do use emails.

I've always maintained that the day I give up on PocketHAL, I will provide existing users with a solution (probably access to the source code). This is still true.

Note that the latest version was tested on the 480x480 square emulator, and is working properly. I don't have access to real 480x480 devices, but I expect it to work there too.

Thanks,
TT
It's also probably worth pointing out that I set up PocketFrog on SourceForge a while back, and while I haven't had much time since then to work on it, that shouldn't stop anyone else from doing so... if there is anyone reading this that has an interest in maintaining that code, let me know and I'll add you as an admin to the project and you can have at it... at least that way one part of the equation will be officially open-sourced and supported in a well-known environment.
Hi - does this version handle portrait/landscape with correct button/stylus mapping in all situations?

I'm having a nightmare trying to
A) build an app which recognises landscape mode and runs with it happily, with correct button and stylus

B) build an different app which recognises landscape mode, switches it back to portrait mode, and runs with it with correct button and stylus

I also want to confirm that PocketHAL itself does *not* run correctly in any VS2005 device emulator in landscape mode, I always get a 240x320 screen, which wraps the landscape display of the emulator and overlaps itself. (This is running the minimal example).

I don't have a landscape device, so I'm absolutely stuck for testing!
It does not... what you'll find in CVS is basically the last version of PF, refactored a little to separate it from PHal... my reasoning was that I wanted it to be as easy as possible to upgrade one or the other... I'm not sure that was the best decision in the long run, but in any case, that's what's there now.
There are some problems with PHal (if someone believes they are solved, let me know.. if not, please forward them to PHal author):

1.Some devices report as 320x240 even thru I set the Portrait mode (Samsung I600 and HTC Excalibur , they have got some strange rotations as well - one reporting 0deg, the other one 90deg)

2.On the key/stylus note. PocketHal starts with the correct keys setup, but it goes bad once screen is changed (portrait/landscape)

What I do is as follows:
Code:

a)Get starting orientation :

startrotation=GetOrientation();
actualrotation=GetOrientation();

b)In each frame:
-read rotation (code presented in earlier topic on this forum )

int MinimalGame::GetOrientation()
{

int orientacja=0;

//sprawdzenie ekranu

typedef LONG (CALLBACK* LPFNDLLFUNC1)(LPCTSTR, LPDEVMODE_WM5, HWND, DWORD, LPVOID);

LPFNDLLFUNC1 lpfnDllFunc1;
HINSTANCE h = LoadLibrary(_T("CoreDLL.dll"));
if (h != NULL)
{

lpfnDllFunc1 = (LPFNDLLFUNC1)GetProcAddress(h,_T("ChangeDisplaySettingsEx"));
if (lpfnDllFunc1) {
/*DEVMODE */DEVMODE_WM5 devmode = {0};
devmode.dmSize = sizeof(DEVMODE_WM5);
devmode.dmFields = /*DM_DISPLAYORIENTATION*/0x00800000L;
lpfnDllFunc1(NULL, &devmode;, 0, /*CDS_TEST*/0x00000002, NULL);

if (devmode.dmDisplayOrientation==0 /*DMDO_0*/)
orientacja=0;
else if (devmode.dmDisplayOrientation==1 /*DMDO_90*/)
orientacja=90;
else if (devmode.dmDisplayOrientation==2 /*DMDO_180*/)
orientacja=180;
else if (devmode.dmDisplayOrientation==4 /*DMDO_270*/)
orientacja=270;
}
FreeLibrary(h);
}

#ifdef LOGAPPUI
sprintf(buf,("orientacja=%d %d %d"),orientacja,(int)h,(int)lpfnDllFunc1);
iLog->SaveLog(buf);
#endif

return orientacja;
}

b)if rotation(from getorientation) != lastrotation (from last frame) , clear keys buffor (as key numbers change with different rotation)

c)GetKeyList(keys,m_config.m_orientation);

d)revert starting rotation

if (startrotation==0)
{
tempup=keys->vkUp;
tempright=keys->vkRight;
tempdown=keys->vkDown;
templeft=keys->vkLeft;
}
else if (startrotation==90)
{
tempup=keys->vkRight;
tempright=keys->vkDown;
tempdown=keys->vkLeft;
templeft=keys->vkUp;
}
else if (startrotation==180)
{
tempup=keys->vkUp;
tempright=keys->vkRight;
tempdown=keys->vkDown;
templeft=keys->vkLeft;
}
else
{
tempup=keys->vkLeft;
tempright=keys->vkUp;
tempdown=keys->vkRight;
templeft=keys->vkDown;
}
keys->vkUp=tempup;
keys->vkRight=tempright;
keys->vkDown=tempdown;
keys->vkLeft=templeft;

This seems to work on all devices with portrait mode set in PHal (i rotate screen manually when rotation is 90 or 270degrees)
I will investigate the orientation issues shortly.