PocketMatrix forums

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

PocketHAL: Firework VGA

Hi,

Is there a way to have firework sample running in VGA (480x640) ?
I own a Toshiba e800 with windows mobile 2003 SE and SE_VGA (result is like having wm2003fe, GetSystemMetrics(SM_CXSCREEN) = 480 etc..) and i can't manage to make it run in this resolution.
I tried to change source code, add HI_RES_AWARE resource etc... but nothing works :/
Does someone has a clue ?
Thierry is working on this right now.
clintsinger · 10 Nov 2004, 05:36 UTC — I was able to get it to work...
Hi,

I tried the fireworks sample using pockethal 7.4 and did not have any problem at all on on the Toshiba e805. My system is Windows 2003 SE using SE_VGA set to "Real VGA".

Could you give more details as to what "nothing works" means?

Cheers,
Clint
i got the same conf.
what i mean by "nothing works" is it doesn't work in real vga (480x640) but in qvga/se vga (240x320).

In short, try to draw pixel at (300,600) for example.
If you get something on screen you are lucky ;)

For now PHAL can't handle real vga, but it seems that Thierry is working on it, as HTK (and thierry himself) said.
Hmmm i realize i wasn't clear, excuse me :)

The sample runs very well with tosh e800 + se + se_vga... but :)
GetDisplay()->GetParameters().m_width returns 240, and blabla.m_height returns 320.

that's what i mean in my first post and try to explain, badly, in my second one.
I've got proper VGA support working right now in the(yet unreleased) 0.8.x branch.

I want to finish the Symbian port (should take an hour or so) and the Palm port (a few more hours).

Then I will have a beta posted here.
Thierry..... you're the one !! ;)

That's an excellent news. YOUPI ! :cry: (cry of joy inside)
Have you done some benchmark in VGA ? Does it reduce PHAL overall speed ??
I don't have any numbers yet, but it is definitely slower. There is 4 times as much pixels to copy compared to QVGA.

Is it slower then scaling QVGA to VGA? I don't know yet, but it probably is. It is still fast enough for most game needs.
ok, thanks.
I'm really impatient to test it.
I'm curious if, on these new devices, it might make sense to branch off PHal to use very specific ARM code or API calls for their video chips rather then doing PHals current system for blits. Maybe this is exactly what Theirry is doing though. Or perhaps to get access to the API info you gotta pay a licensing fee to Intel, something they've done in the past :\

Does the current version of PHal work alright with the new VGA screens? What does the user need to do to make PHal games work on the Axims and such? I can't afford one of these devices at the moment so any info would be greatly appreciated.

Been out of the scene for several years. Please excuse my ignorance on this. Last time I did PPC dev PPC 2002 was the latest greatest new fandango.
Right now PocketHAL behaves exactly like GAPI does on VGA devices.

The next release will have better VGA support and optimizations will be possible on most of them. I unfortunately do not have access to an Axim 50v for testing/optimizing the 2700G.
AndrewW · 07 Jan 2005, 09:42 UTC — so... is a 240x320 backbuffer on a vga device possible?
So, does this mean that PocketHAL will set up a 240x320 backbuffer on a vga device and do what GAPI was SUPPOSED to do in the fallback emulation mode?

I ask this because we're trying to get our (older) game G-Prime to run on 480x640 vga devices... currently it just won't run.. we never can get a bg buffer address from GAPI.

Our game has to run in a 240x320 window..

I've downloaded the Alpha 3 build and it looks great.. I just don't have a 480x640 device to see what it does with it :)

Thanks for the info. PocketHAL looks very impressive.

Andrew