PocketMatrix forums

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

Pocket Frog 0.8.1 Screen Resolution

I am developing an interface for an HP iPaq hx4700. It has a screen resolution of 480X640. I would like to take advantage of the extra screen resolution but the only size I am able to get is 240X320. I attempted to use the program linked to by this post.http://www.pocketmatrix.com/forums/viewtopic.php?t=18236&highlight;=480x640

When the iPaq was in trueVGA mode the appearance of the application did not change. All of the bitmaps where in the same position as when it was not in trueVGA mode. The only thing that did change was that the stylus taps where off. The stylus was returning values for a screen which was of the size 480X640.

When I called GetSystemMetrics() with SM_CXSCREEN and SM_CYSCREEN I got 480 and 640 respectivly, but when I called GetDisplay()->GetWidth() and GetDisplay()->GetHeight() I got the values 240 and 320 respectivly. I am wondering what needs to be done to change the display's resolution to macth that of the screen while in trueVGA mode. Any help would be appreciated.
Jobu · 09 Jun 2005, 16:17 UTC — PocketHal 0.8.0 ALPHA
In trying to fix this problem I have come across information on VGA support in PocketHal 0.8.0. I attempted to recompile the PocketFrog 0.8.1 Library with the new PocketHal Library and I get an error. Hopefully there is a simple work-around. I would really like to see PocketFrog supporting 480X640. Here is the error I get when I am building PocketFrog

Deleting intermediate files and output files for project 'PocketFrog - Win32 (WCE ARMV4) Release'.
--------------------Configuration: PocketFrog - Win32 (WCE ARMV4) Release--------------------
Compiling...
display.cpp
c:\ceimrseg\pocketfrog\source\display.cpp(50) : error C2039: 'Create' : is not a member of 'Display'
c:\ceimrseg\pocketfrog\pockethal\display.h(55) : see declaration of 'Display'
c:\ceimrseg\pocketfrog\source\display.cpp(50) : error C2440: '=' : cannot convert from 'class Frog::Display *' to 'class PHAL::Display *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
image.cpp
pocketpc.cpp
rasterizer.cpp
rect.cpp
surface.cpp
memfile.cpp
raster2d.cpp
game.cpp
Error executing clarm.exe.

PocketFrog_ARM.lib - 2 error(s), 0 warning(s)

The error is coming from line 50 in display.cpp(For Pocket Frog). I was wondering if PHAL::Display::Create(...) has been removed or changed in the new PocketHal library?