This site is no longer active and is available for archival purposes only. Registration and login is disabled.

what kind of processor do u need to run PQ


Re: what kind of processor do u need to run PQ

Postby SonicSilicon » May 21, 2001 @ 1:25pm

Thanks, Dan. You'll just have to pardon my clouded mind.<br><br>That definately means that I'll be using EasyCE if I ever do a WinCE 2.x port. Speaking of which, could you e-mail some specifics of the I/O problem with GZIP in WinCE 2.x?
User avatar
SonicSilicon
pm Member
 
Posts: 204
Joined: Mar 7, 2001 @ 1:36pm


Re: what kind of processor do u need to run PQ

Postby SonicSilicon » May 21, 2001 @ 1:36pm

I went to Symbol's site and only could find information on the ppt7000 series. Unfortuantely even that didn't state the bit-depth of the display, just that it is 240x320 and monochrome. Since these have barcode readers built in to them, my guess is that the display is more likely than not incapable of supporting PocketQuake.
User avatar
SonicSilicon
pm Member
 
Posts: 204
Joined: Mar 7, 2001 @ 1:36pm


Re: what kind of processor do u need to run PQ

Postby Dan East » May 21, 2001 @ 3:15pm

I'll just post here for the sake of others. :) CE 2.11 does not support full stdio file IO, specifically functions like fopen, fclose, fread, fwrite, fseek, etc. The zlib routines use those functions for their file IO (they provide "enhanced" versions of those functions, which allows drop-in gzip support. So instead of using fopen, you use gzopen for opening a compressed file, etc.) I would recommend creating your own wrapper functions for the needed stdio routines that thunk down to the Win32 API. So, your versions of the following functions would wrap the associated Win32 API functions:<br><br>fopen -> CreateFile<br>fread -> ReadFile<br>fwrite -> WriteFile<br>fseek -> SetFilePointer<br>fclose -> CloseHandle<br><br>etc.<br><br>It would take a little work, but implementation really wouldn't be bad. Create a Static Library project, then create your stdio functions there. Then you can statically link any application to your resulting stdio library, instead of having to insert and build the code in every future project. As a hint, the fopen function will take the most work (you will have to check the open flag string to see if the file is for reading, writing, should be created, etc). The rest of the functions should only contain a couple lines of code.<br>You may look around first. I've heard of people attempting such a replacement library, but I never actually came across one. Note that HPC-Pro devices also have (almost) full stdio support built in, like Pocket PC.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: what kind of processor do u need to run PQ

Postby Dan East » May 21, 2001 @ 3:18pm

Quake also uses those stdio library functions for its file IO (when using non-gzipped pak files). That is certainly further reason to create the stdio routines in a static library, so PQ can link to it as well.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Previous

Return to Pocket Quake 1 and 2


Sort


Forum Description

Discuss Pocket Quake 1 and 2 by Dan East

Moderators:

Dan East, sponge, James S

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum