This site is no longer active and is available for archival purposes only. Registration and login is disabled.

ipaq 38xx screen layout


ipaq 38xx screen layout

Postby jht2000 » Jul 16, 2002 @ 4:01pm

Were Compaq on something when they designed the totally illogical video memory layout for the 38xx?

Having conducted some initial tests, I can confirm that my graphics application currently runs at 20fps with correct conversion from an off-screen buffer to the video memory, and 30fps with a direct memcpy (and therefore displaying a rearranged representation of my buffer on the screen).

Has anyone had any experience with writing specialised graphics functions (polygon blitters and so on) to "natively" write to the 38xx screen layout, therefore allowing a direct memcpy from the offscreen buffer to display memory?

I'm slightly concerned that the overhead caused by the overhead of the extra functionality in my graphics functions will negate the benefit of being able to perform a memcpy between the offscreen buffer and the display memory. Especially given that my application makes use of alpha transparencies and therefore a certain amount of overdraw.
jht2000
 


Postby MirekCz » Jul 16, 2002 @ 4:33pm

With best regards,
Mirek Czerwinski
User avatar
MirekCz
pm Member
 
Posts: 269
Joined: Sep 18, 2001 @ 6:42pm
Location: Poland,city Poznań


Postby britcode » Jul 16, 2002 @ 7:28pm

>Were Compaq on something when they designed the totally illogical video memory layout for the 38xx?


This topic comes up a lot - the ipAQ 38xx has the LCD upside down. GAPI suppports this but apparently some dumb games hardcoded the iPAQ 36xx/37xx memory layout directly without querying GAPI pitch values.

So to combat this problem Compaq chose to expose a buffer the same as the 36xx and 37xx, and then flip it using a very slow copy (15ms or something I think).

If you want someone to blame, there are three main parties:
1) The authors of the games written for the iPAQ 36xx and 37xx who hardcoded their graphics so naively it wouldn't even work with the next model. It's really not too hard to support the 38xx, Jornada or any future PPCs by using the correct pitch values. I don't have a Cassiopeia, but I am writing my routines to support the screen layout because even though it's a smaller market I don't have any reason not to and it's only a few extra lines of code to use a pitch of 512 instead of 480.
You should mainly blame the old authors before the 38xx came out, because the damage is done now, but people are still doing it I imagine.
2) Whoever decided the flip the iPAQ 38xx LCD - why why why?
3) Compaq, for exposing a Ram buffer and flipping it rather than allowing direct access, as per the GAPI spirit.

Anyone know which way round the 39xx is?
britcode
 


Postby MirekCz » Jul 16, 2002 @ 10:14pm

With best regards,
Mirek Czerwinski
User avatar
MirekCz
pm Member
 
Posts: 269
Joined: Sep 18, 2001 @ 6:42pm
Location: Poland,city Poznań


Postby brendan » Jul 17, 2002 @ 3:42am

mmm, why were on the 38xx problems, does anyone know if easyce works with the wierd screen problems? as I'm using easyce 2.0 in my current game!

-Brendan
User avatar
brendan
pm Insider
 
Posts: 451
Joined: Oct 23, 2001 @ 2:51am
Location: Hobart, Australia


Postby brendan » Jul 17, 2002 @ 3:46am

Please ignore last post, I checked the code, there is a 38xx "option" in there for updating the wierd screen ;-)

which begs the Q, what about the 39xx ipaqs ?

-Brendan
User avatar
brendan
pm Insider
 
Posts: 451
Joined: Oct 23, 2001 @ 2:51am
Location: Hobart, Australia


[previously jht2000, now registered]

Postby jont » Jul 17, 2002 @ 12:45pm

User avatar
jont
pm Member
 
Posts: 122
Joined: Jul 16, 2002 @ 5:12pm
Location: Leeds, England


Postby MirekCz » Jul 17, 2002 @ 12:49pm

With best regards,
Mirek Czerwinski
User avatar
MirekCz
pm Member
 
Posts: 269
Joined: Sep 18, 2001 @ 6:42pm
Location: Poland,city Poznań


Postby jont » Jul 17, 2002 @ 1:11pm

User avatar
jont
pm Member
 
Posts: 122
Joined: Jul 16, 2002 @ 5:12pm
Location: Leeds, England


Postby Dan East » Jul 18, 2002 @ 3:24am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

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

cron