Page 1 of 1

ipaq 38xx screen layout

PostPosted: Jul 16, 2002 @ 4:01pm
by jht2000
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.

PostPosted: Jul 16, 2002 @ 4:33pm
by MirekCz

PostPosted: Jul 16, 2002 @ 7:28pm
by britcode
>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?

PostPosted: Jul 16, 2002 @ 10:14pm
by MirekCz

PostPosted: Jul 17, 2002 @ 3:42am
by brendan
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

PostPosted: Jul 17, 2002 @ 3:46am
by brendan
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

[previously jht2000, now registered]

PostPosted: Jul 17, 2002 @ 12:45pm
by jont

PostPosted: Jul 17, 2002 @ 12:49pm
by MirekCz

PostPosted: Jul 17, 2002 @ 1:11pm
by jont

PostPosted: Jul 18, 2002 @ 3:24am
by Dan East