PocketMatrix forums

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

Run IPAQ games on the 720

I am thinking about making a program that allows you to play any arm pocketpc game on your 720. Would you be interested? Would you be willing to pay for it?
Courtney White · 16 Feb 2002, 01:42 UTC
OMG.. thats the best idea i ever heard of. Where did you get such a great idea?

think about it. All the great games of the ipaq, on the 720.

if you pull it off, you would achieve total CE zen-hood.
Mike Wagstaff · 16 Feb 2002, 02:07 UTC
I only hope that the differences between the iPAQ's and 720's graphics systems don't render this project an impossible dream. One of the main problems that strikes me immediately is that the 720 only has 240 pixels to play with vertically versus the 320 for the iPAQ (with portrait-mode games), an issue that realistically can only be solved by rotating the image. I wonder how that will affect performance? :?
How do you plan to pull it off?
Well, I am giving no garantee's, but I think that I can do it. I have done some simple testing, and I have 2 e200 programs running on my 720. Neither use GAPI, but this was just perliminary testing. I have looked at this for a long time, and I know it is possible.
Courtney White · 16 Feb 2002, 03:26 UTC
Well ... I would use it more for landscape games. I'm not going to hold my 720 on its side.

these are the games I'm most interested in
1. snails (even though a 720 version is coming)
2. Everything else that's landscape.

Actually, I bet Rob would probably write a program to emulate the .DLL's that make the Ipaq display landscape, so that they work on the 720.
Next, probably something to emulate the buttons of the Ipaq.
Last, something that mathematically changes stylus position so that the program thinks its input is from a landscape Ipaq.
I really believe rob could do this ... its just a matter of fooling the Os. How do I know this? Because you CAN run Ipaq programs on the 720, but the screen-size crashes the program ... I wrote a 720 driver for the Iomega "Pocket Zip" drive. I used the old 2.11 iomegaware as a bases, then imported files from the Ipaq driver.
simonjacobs · 16 Feb 2002, 12:02 UTC
If it is any help I can write fast ARM assembler code to rotate the image if needed (or do whatever format conversion needs doing between screen layouts).

Why not have the option of displaying the screen rotated OR cut off the lower pixels and display them at the side. Some games have a main display area and a control section, and cutting the screen would work fine.
What you are doing would be implemented in exactly the same way as Thomas Wilburn's replacement gx.dll which allows rgb 565 games to run on grayscale iPaqs. You would also encounter the same problems and limitations (ie, games that don't call GXEndDraw every frame will never work quite right, and require you to automatically draw the frame a certain number of times per second).

Dan East
Courtney White · 16 Feb 2002, 19:44 UTC
well, i really don't think rob would have to worry about that.

the replacement gx.dll is only one part of the work rob would have to do. a grayscale ipaq is still a ipaq, where as a 720 is only slightly related.

you would have to emulate the keyboard as the buttons of the ipaq, maybe the input of the ipaqs vertual keyboard could be emulated through the keyboard.

In all reality, think of the 720 as two ipaq screens put end to end. (820 would be 4 ipaqs)

I think that this "Utility" would be very useful, maybe Rob could even licence it as a shell to game companies..
Actually, that is exactly what Rob would have to do as far as GAPI is concerned. He would also have to provide a very simple DLL or two with do-nothing replacement functions (like showing and hiding the SIP, etc). The existing keyboard should map exactly across. As has been said, alternatives for a handful of hardware buttons would have to be provided. Implementation would be very simple, and consist of sending WM_KEYDOWN and WM_KEYUP messages in response to a substitute hardware key or onscreen virtual key.

Rob, I would recommend supporting external config files for each app. When your DLL is initialized you can determine which app is using it, and load a config file of the same name (ie: PocketWolf.exe -> PocketWolf.gapicfg). For some games, it may be better to rotate the display (like Snails and PocketWolf since they are landscape in the first place). For other games, the config file could specify a split point at which the screen could be divided. Many Pocket PC games have some sort of control panel, etc at the bottom of the display. That would be a very logical split point. The config file could also specify keybindings to use for the hardware key substitutes.

Dan East
Courtney White · 17 Feb 2002, 00:01 UTC
The landscape programs call a DLL to rotate the screen, so it would still be vertical on the 720.

You would have to let it rotate via the Ipaq landscape, then rotated again to fit normally on the 720. The point 10x10 on the Ipaq in portrait mode, would be 310x10 (I think) in landscape, and the same for the 720 ... unless the image is centered on the 720, then being 470x10. I'm not sure, but I think that the Ipaq would still take the landscape coordinates as portrait ... so 470x10 would still have to be 10x10.

Correct me if I'm wrong.

Also, I think that the program SHOULD be a shell.
A shortcut would call "\robemu.exe" ipaqgame.exe.
or something like that. I like the idea for separate config files for each game.
I think it should have an "open" dialouge.
Courtney White · 17 Feb 2002, 00:07 UTC
well, maybe a shortcut maker.
if it isn't a shell, then a open funtion would probably be helpful:)

it's still up to rob how he does it, in fact he hasn't decided to even make it yet.
Courtney White wrote:
The landscape programs call a DLL to rotate the screen, so it would still be vertical on the 720.

You would have to let it rotate via the Ipaq landscape, then rotated again to fit normally on the 720. The point 10x10 on the Ipaq in portrait mode, would be 310x10 (I think) in landscape, and the same for the 720 ... unless the image is centered on the 720, then being 470x10. I'm not sure, but I think that the Ipaq would still take the landscape coordinates as portrait ... so 470x10 would still have to be 10x10.

Correct me if I'm wrong.

Huh? All gx.dll does is give the programmer a pointer to a buffer. That's it. The orientation, pitch, color depth, etc, of that buffer varies from device to device. It is up to the game to rotate its display to match that of the hardware. If a game supports both Portrait and Landscape, then it's because the game programmer did the extra coding to support it. The iPaq's display is rotated, so games that run in landscape mode would already be somewhat "native" to the 720's display (assuming its buffer is not rotated - the physical "normal" position of the display has nothing to do with the programmatic access and orientation of the display's hardware buffer).

Courtney White wrote:
Also, I think that the program SHOULD be a shell.
A shortcut would call "\robemu.exe" ipaqgame.exe.
or something like that. I like the idea for separate config files for each game.


That's fine to require that programs be launched in that manner - if you want to provide additional confusion and hassle for the end user. They would have to create custom shortcuts for every game they wish to play, etc. Even if you called a custom loader which in turn executes the game, Rob would still have to provide all the replacement DLLs needed by the game. The same system routines are used to start a new process regardless if a custom loader called them or not. If any DLLs, or any routines inside those DLLs, are missing, then the load will fail.

Dan East
Courtney White · 17 Feb 2002, 02:03 UTC
Oh... your just mad because I made fun of dans :)

No, I just thought a shell would be good so you wouldn't have to open a program in order to open a program. You could just shortcut straight to the program you wanted to use.
hi rob

just know that i am one of those who would pay for your program , please try to make it , you would be my god lol

greetings !
indeed.............. :roll:
lol , i suppose this is what jornada 720 users are waiting for a long time no ?

i don't think im a poor lamer who only wait for others to make programs . I m just giving my support to rob or any one who can make this possible .

sorry to have posted in anonymous but i forgot to post my nickname :)

go go go go rob !
why not register??
jejefeds · 10 Apr 2002, 19:18 UTC — done
yes you are right i should have donr this before posting but i was in haste :)

i repeat : gogogogogo rob ! :)))
Well, the people have spoken. I will give it a go this weekens, sorry, I've been really bussy, and tell you the low down on monday.
hi rob , im really new in pocket pc world but i saw on this forum that you ( and others ) are hardly working for jornada 720 compatibility and it's good to see that ! hope you will not stop too early to help this machine :)

greetings
correct me if im wrong :roll: but i heard that many apps not compatible with jornada 720 failed loading cause of the screen size , is it true ? :?:

if yes , i suppose ( cos im not a programmer at all ! :P ) that it can be " :? " easily " :? " fixed at least for some apps or games .

thx for an aswer

have all a nice week end
are working hard, what you said means the opposite :)
hehe , my english really sucks some times and i apologize :)))
The main thing preventing Pocket PC software from running on HPC 2000 is missing libraries. The gx.dll library is used for direct screen access. There are libraries that provide Pocket PC-specific APIs, like controlling the SIP, displaying full screen dialogs, showing the OK button on the title bar, etc.

Dan East
Exactly. The gx.dll library will be fairly easy to do (at least get working, not bug free of course). The most difficult part will probably emulating the aygshell.dll library, which is included in 99% of the ppc aplications made.
jejefeds · 17 Apr 2002, 21:11 UTC — i hope you won't give up ...
i hope you will keep us informed on the status of your project rob :) pleassse don't give up :)

i invite all who have a j720 to writte a word here !
come on ! :)

good luck
I have a prototype (works partially for now GAPI games (doing aygshell emulation first)), but have not gotten much time to work on it. I am going on a UN program this summer, and then going to Ohio State to take some courses, so my summer will be packed. For this reason, I have to get a lot of my readying out of the way, right away, in order to get it done by next fall. I will continue to work on it, but it will probably progress pretty slowly.
Well, this could be just what the doctor ordered:
http://www.hp-expo.com/uk/eng/products/jornada/jornada728.asp
Courtney White · 17 Apr 2002, 21:25 UTC
the only difference is its a different color.. everything else is the very same.
eh, thought you handheld fellas would be interested. guess not.
Courtney White · 17 Apr 2002, 21:29 UTC
it might have a larger memory, which would be nice.. but its not an x-scale, which im waiting for.
well word on the street is that HP will have a xScale machine for sale in June. Which would be quite cool. But since it has been only 5 months since I bought the 568, I will have to bide my time.
I will have to wait untill the second wave of next gereration handhelds comes out before I upgrade. I just got my e200, and it is too soon to pitch it. My biggest dellema is whether or not to get the pc card slot for it. I could use it, but is one year worth $100+?
R0B wrote:
I could use it, but is one year worth $100+?


Ever asked this question before buying a new graphics card? :wink:

100$ for a whole year is not too much, especially in the hardware area.