PocketMatrix forums

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

PocketQuake for iPaq 38xx Fixed!

I'd just gotten finished fixing PocketSNES for my new iPaq 3835 and I figured the same GAPI fix might work for PocketQuake as well. By golly, it did! Just my way of saying "thank you" to Dan East and everybody who's put so much time into developing PocketQuake. Keep up the good work guys! Note, this build will work on the iPaq 38xx series ONLY. I haven't made it all nice and pda-autodetecting yet. I'll post the updated source and binary once I do, it shouldn't take long.

Get the file here: http://students.washington.edu/sramsby/PocketQuake-38xx.zip

Scott
Huzzah!!!
Now, if I only had a 38xx... ;-D
Seriously, great! Let me thank you in the name of PM!
Qwik, great job and thanks for contributing. Perhaps Dan or someone else can also apply this to the wolf3d code upon its release.
I posted a new version of PocketQuake for ARM on my web site [L]http://students.washington.edu/sramsby[/L] . This version will work on any ARM-based PocketPC, including the H38xx series. It is quite slower than on the 36xx right now, but I'm trying to see if I can improve that. Dan: please look and see if you can make it faster, pretty please! I'm working on the same problem in PocketSNES right now, I'll try and see if any discovery there can be applied here as well.

Oh, the modified source distribution is available from my web site as well.

Scott
Hi Scott. Thanks for performing the needed modifications. I took a look at the source and can find nothing about the code that should cause it to run slower on the 38xx iPaqs than the earlier models. The runtime check you perform to determine if the device is a 38xx need be done only once at startup, storing the result in a global variable for future use. It is a relatively time consuming process, considering it involves string comparison. However, for ARM builds the screen buffer is not released every frame, so your code in VID_GetScreenBuf is really only called on startup or when PQ regains activation from another app.

I can only presume that the 38xx hardware is in some way slower than the earlier models. How are you aware that it is substantially slower on those devices? Do you have a PQ benchmark yet?

Thanks again for the modification. It will make it into the Pocket Wolf port, probably for tomorrow's 0.2 release.

Dan East
I considered putting it into a global variable (like I did in PocketSNES) but since there are multiple source files where it needs to be checked I decided to just do the check where needed. Like you said it's only called once when started and once when ending so it shouldn't affect actual game performance. I'm getting about 8.3fps running "timedemo demo1" in PocketQuake on my 3835 with the default autoexec.cfg not overclocked. What kind of values are people ringing up on the 36xx's with the default settings?
I have heard of an issue with the 38** that does slow down the framerate of games... there is a fix out there (saw on another message board) where you have to write directly to the video chipset and not the api *or something like that* I'm not a programmer... link to the message board is below:
http://discussion.brighthand.com/showthread.php?threadid=35445

thanks for the great work guys!
That is the modification Scott performed to the PQ source.

Dan East
In PocketSNES I was able to optimize the video blitting a bit for the landscape mode because the cyPitch value for the new iPaq 38xx is 2. This way I can copy 32bit values (2 pixels) at a time at the same CPU cost as just 16bits (1 pixel). But I'm not sure how the blitting in PocketQuake works exactly, and it wouldn't really work that well to have it set up in landscape mode I don't think, although I could try it. Is the whole quake part of the screen blitted to the video buffer each frame or is the video buffer just constantly updated directly by the quake engine?

Oh, I haven't uploaded the new optimized PocketSNES in case you were wondering. Still have few things to tidy-up on it. It's good to be programming again. Learning new stuff is the best thing ever.

Scott
I've done extensive profiling of Pocket Quake during my optimizations. Even with no blitting at all, the FPS is almost unchanged. That is because 99% of all the work occurs in the 3D rendering. Any optimization to the blitting would not result in a perceivable difference.

Dan East
Moose or Chuck · 07 Dec 2001, 18:52 UTC
All optimizations are good optimizations, I say. Well, leave the less useful ones to last atleast... but still, perfection is good.
just curious if ye have a link update the one on page is eith down or wrong :( any help i just bought the 3835 and would love to install Quake!!
Get the binary and source at http://students.wahsington.edu/sramsby/. It should be PocketQuake-XXXXX.zip. Then you need to get the pak0.pak.gz from the main PocketQuake web site http://quake.pocketmatrix.com. Make sure to follow the installation instructions on the PocketQuake web site. I'll be making my own REAL web page during Winter Break that will have more info.
why the hell is the pq site so messed up? it redirects to a 'quake' folder which doesnt even exist...

i changed the index.html in the 'old' folder and it hasnt changed when i visit the site. which file do i change?!

i'm definitely going to do something this weekend.
heres all we need to do:
Scott Ramsby's modification of Pocket Quake, which supports iPaq 38xx devices, is now available for download here at the official PQ site. Thanks Scott!

StrongARM Processor:
[iPaq 38xx]
<a href="http://students.washington.edu/sramsby/PocketQuake-0.62.1-ARM.zip">Download</a> (242k)
The directory is \subdomain-quake\quake. Also, instead of linking to a file hosted on another site, copy the file into that dir so it is hosted locally.

Dan East
yeah i was going to upload it but i'm not sure where anymore.

"The directory is \subdomain-quake\quake" - what?! where is the index file i need to change?
quake.pocketmatrix.com/quake/index.html

i dont understand where the quake folder is, it used to be quake.pocketmatrix.com/index.html didnt it?
http://quake.pocketmatrix.com  is a virtual subdomain. It maps to http://pocketmatrix.com/subdomain-quake/quake . When you ftp, that is where you need to go. The index.html file is in that dir.

Dan East

Buggy Board: Last modification: Dan East - 12/13/01 at 07:00:15
no wonder! i can only ftp into the quake directory - i dont have free reign over pocketmatrix.com...

at least i dont think i do. chris?
well what do you think paul?;)
you guys dont let me do anything. first you shut off my ftp account and make me change my password then you move all the pq stuff to a folder i cant access...

ah well, i still have library girl... to look at.
Image