PocketMatrix forums

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

PHal Smartphone + Landscape

Does PHal support landscape on the smartphone? I have a tester using a Mio 8390 and he cannot rotate the screen. The same program on the pda rotates properly.

This occurs if I use phal, or phal gapidraw combined. The phal/gapidraw combination givews the GDERR_INVALIDMODE = ((HRESULT)0xC8660100) error when trying to switch to landscape.

Thanks

Sean
it's PHAL limitation due to the way it does it's blitting atm in groups of 16

obviously the 320x240 resolution of the ppc is divisible by 16 in both directions, so no problems

but the smartphone at 176x220 is only divisible in the one direction, and it's that direction that PHAL can work correctly in
Thanks. That makes (unfortuantely) sense. Back to the drawing board.
PocketHAL will only allow orientation changes if the screen width and height are multiple of 16 pixels.

I am aware that Smartphones uses 176x220, but never though that someone would want to change the orientation on a phone. If this is needed, it can be added.
If it is not too much effort, it would be good.

If it is difficult thou, don't bother on my account. I have a reasonable work around, stay in portrait mode and rotate the camera 90 degrees. This is not perfect as the menus don't rotate, but it is good enough for now.