PocketMatrix forums

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

Palm Quake

DeepPhreeze · 18 May 2004, 00:44 UTC
I've been a Palm user ever since the M100 came out. Windows CE was great, but Palm is really a faster OS as there are fewer components in its monolithic kernel. Newer Palms use ARM and OMAP processors (the latter is fully ARM-compliant, the 2nd AMDs of PDAs if you will), and for a long time there have been rumors about Quake for Palm hardware. We've been taunted with the thought of playing Quake on cheaper hardware. Of course these rumors are all false, but our hopes aren't!

Now I got my Tungsten E (126MHz, but I run it at 192MHz) and it would be REALLY nice for Quake to find it's way to Palm. Please, when you have some spare time, please start a Palm port!

Oh yeah and nice work on Pocket Quake, it worked great on my (now deceased) H1940! Keep up the good work!
There's a lot of limitations to the PalmOS that'll make PQ a very hard port. The reason why the PPC ver was easier was because it was based off of WinQuake.
Ah but there is a Linux version, and as we know Linux is a very adaptable platform.
But the Palm OS isn't
DeepPhreeze · 18 May 2004, 04:00 UTC
Okay see that's exactly what I mean. PPC users are all so stuck up, and they immediately assume Palm is so held back. Well guess what guys, you're wrong. Palm is close to Mac which is just pretty BSD which is what Linux is based around. SO Quake for Palm is possible, you just need to get your heads out of your asses.
I was simply stating the fact that it's easier to port a windows program to a windows platform. Relax. I don't even own a PocketPC.
DeepPhreeze · 18 May 2004, 04:45 UTC
Okay good. Yes, it is easier to port from W32 to PPC but the fact is that if you can port all that coding, you might as well go the extra mile and port it so everybody can enjoy it. I know I wouldn't buy a $300 PDA to play Quake, but I would pay $25 to play Quake on a Palm.
Palm OS may function like the Mac, but it's APIs are nowhere even close. Same with BSD. Palm is NOT based off of Mac at all, it's a completly new OS, and is NOT BSD, or any *nix based OS, so I don't know where that comparison comes from.

Go ahead and ask the PDAMill people about their porting experience to Palm OS, I bet they'll say porting was a pretty painful experience.
DeepPhreeze · 18 May 2004, 22:35 UTC
Hmmm... There wouldn't be that much code-work, but I see what you mean about it being a brand new OS. Luckily for you PPC users it's all just W95 with stripped down APIs.
Do you have any PalmOS programming experience?
DeepPhreeze · 19 May 2004, 02:13 UTC
Only in VB for the Booster addon, but I've been toying around with C.
DeepPhreeze wrote:Hmmm... There wouldn't be that much code-work, but I see what you mean about it being a brand new OS. Luckily for you PPC users it's all just W95 with stripped down APIs.


Actually, Windows CE was based off of NT. With Windows CE 3.0 Microsoft rewrote substantial parts of the operating system to specifically optimize for the type of hardware Windows CE runs on. So at this point Windows CE is truly a unique OS, not really derived from any other OS (although it bears more incommon with the more stable NT->200->XP family than 95->98->ME)

I'm no expert on PalmOS, but I do know that it did not even offer a normal filesystem, which would be critical to porting Quake. Things may have changed to some degree, but the amount of work (ie substantial programming required to replace nonexistant or sub-standard aspects of the OS) to port Quake to PalmOS would be much greater than for Pocket PC.

Yes, it is easier to port from W32 to PPC but the fact is that if you can port all that coding, you might as well go the extra mile and port it so everybody can enjoy it.


I don't quite follow you. When I ported Quake to Pocket PC I should have gone some extra magical mile that would allow my port to run on every portable device in existance so everybody can enjoy it?

Dan East
I bet Jeff "Skeezix" could port PocketQuake to Palm OS overnight. He says "porting is a walk in the park". He's proved it, also. The amount of work he's done is fantastic. Whenever someone pisses him off with the comment, "Palm OS doesn't have anything", he ports or writes a new emulator or game.
Dan East wrote:
I'm no expert on PalmOS, but I do know that it did not even offer a normal filesystem, which would be critical to porting Quake. Things may have changed to some degree, but the amount of work (ie substantial programming required to replace nonexistant or sub-standard aspects of the OS) to port Quake to PalmOS would be much greater than for Pocket PC.


Palm OS has a file system like everything else, except it's internal, which means you can only access it through a storage card or 3rd party app. But yeah, it's fairly simple to work around, as several Palm OS developers have demonstrated.
DeepPhreeze · 20 May 2004, 03:07 UTC
Palm OS uses FAT, at least POS :P 5.2.1 does. Where can I find this guy so I can tell him Palm has no Quake and that it's worthless :D ? And I see what you mean about porting Quake. My rage is over since I'm getting an A620BT.
Porting an emulator is an entirely different beast than porting a Windows app. Porting emulators is no big deal in comparison.
DeepPhreeze · 20 May 2004, 04:36 UTC
Luckily for Quake it has so many platforms of code for it!
It shows which calls can be ported and which ones must be re-written.
DeepPhreeze, what I'm hearing right now is that there is apparently no one in the Palm community that has the experience or expertise to port Quake to Palm, so you're coming to a PocketPC forum to bug a developer to port his program to a device that he does not own.

Maybe you should try your campaign on a Palm forum.
DeepPhreeze · 20 May 2004, 14:00 UTC
All the palm guys are programmings newbies, like me...
exit_head@zodiacgamer.com · 26 Jul 2004, 05:01 UTC — we might get Quake just yet...
Skeezix is looking into porting PocketQuake to the zodiac. it would be cool if we(palm and PPC users) sould play a little BT Deathmatch. decide whos OS is better with a little blood and lead :)

NOTE: this is a post of peace, not to anger anyone
Meh, I own used both the Zodiac and PPC, and think the interface is godawful. Feels so hacked at.
From my small amount of Palm OS programming experiance, I cringe at thinking about porting ANYTHING to the Palm os. Something like Quake would require major hacking of the palm os and tha is not fun at all.


This of couse is based on my experiancres with palm os >3.5
exit_head@zodiacgamer.com · 27 Jul 2004, 04:38 UTC
actually with the new os5(and os6 soon) its much easyer. BTW programming os 3.5 and os 5.21(5.21 is what the zodiac uses)is vastly different. alot of featurs have been streamlined and simpified(uh like color :lol: )
and i guess skeezix does it again, he is porting quake to the zodiac alright he already got the pak to load.
From my small amount of Palm OS programming experiance, I cringe at thinking about porting ANYTHING to the Palm os.


I second that. PalmOS 5 programming is really awful. It really is no fun doing multi segment programming on top of a not conform libc implementation.*shiver*

But hey, whatever floats their boat :)
hansschmucker · 05 Aug 2004, 10:15 UTC
I'm myself just an newbie to gcc and especially to gcc for palm, but here's what I found out about programming on PalmOS:

Say goodbye to using any structured way for drawing. If you want it drawn fast, you just have to throw your software rendered image into vidmem.

Get your own routines for virtual memory. PalmOS won't help you on this, that's something you have to do (And with dynamic heap ranging anywhere from 512kb to 8MB this really is an important topic).

VFS is not as strange as it looks. It's basically the same as normal file access on win or lin...a few #define s could already get a basic app to work.

What I don't know about yet is how armlets work exactly, however the basic idea is to have interface and init stuff runniing in 68k emulation mode and from there start a ARM compiled CODE resource within the current PRC file (It's pretty much the same as drawing an image: Get Resource, Lock Resource, Run Resoure)

Just to give people an overview as to why porting to Palm is not easy, but possible
ZQuake will run very easily on Palm OS as well; ie: ZQuake, out of my annoyances with CW the last few days, has been made into more Zodiac specific, not because its had to be, but just out of trying various alternate ports, mathlibs, etc.

ZQuake (my source base of it) is standard Palm OS PNOlet stuff, and works on all Palm OS devices (with sufficient RAM to run this size app in of course).

PNolets are *NOT* that mysterious, but people tend to steer the hell away from them :/ ARM coding in OS5 does not use any segmenting or goofy stuff like that .. thats 68k only, from years ago.

VFS is extremely easy.. it maps 100% to stdio pretty much; my stdlib.c is stdio wrappers free to anyone to use, and they're only a few dozen lines of code for each stdio funciton wrapped, just to make the right return values and map seek-relative constants and such.

People should not be afraid of PNOlets.. just get in and do them. I've released dozens of samples of serious apps :P

(You don't think something as big and beefy as CaSTaway is going to be written with segments and cap like that do you? :)

People not porting Quake to Palm OS is mostly mystified fears, not prevented by any technological rational.

jeff
exit_head@zodiacgamer.com wrote:Skeezix is looking into porting PocketQuake to the zodiac. it would be cool if we(palm and PPC users) sould play a little BT Deathmatch. decide whos OS is better with a little blood and lead :)

NOTE: this is a post of peace, not to anger anyone


Now thats something :) BT multiplayer between OSes.. yum!

jeff

caeser: Porting to Palm OS 5 is not too hard; OS6 is even sensible ;) But for OS5.. well, my Columbo emu (ColEm port) took only an HOUR (one hour!) to get going at its basic level; in total its only a few hours work total for instance. A single night!

(sorry, seeing this thread just means I hjave to debunk and demystify things ;)

The real question is.. why are there so few peopel doign this stuff? (ie: Pretty much me, is that it?! :/)
Well skeezix, it only takes a spark ... to get a fire going. Be that spark, skeezix! Be that spark for ALL potential Palm Programmers! That is your commission, my brother.
Actually, multi over BT over diff platforms isn't really that hard. BT operates over a COM port , no? So why not fix null modem in the PPC, and just use that? As for doing it over differenet platforms, it sounds big, but really isn't - they're built off the same code, so the protocol hasn't changed.
To the guy who thinks that Palm devices aren't held back.

What the HELL are you talking about. You obviously do not know the current specs of Pocket PCs. Perhpas you were reading old news or such. 200 MHz? Standard pocket pcs already double that. We aren't even factoring the video chipset that is in almost all pocket pcs now. What does the Palm have? Sure and ARM proc, but new Palms are using ARM procs that 2 year old pocket pcs are using.

Seriously, Palm should stick to what it does best: Personal Information Management (PIM), and let Pocket pc do everything else: video, 3d and 2d games, graphics, vnc, server access, flash, internet, photos, mp3s.

Honestly, Palms are dying.
Nowadays, the hardware is up for the test, but the OS isn't.
Guest II · 07 Feb 2005, 21:50 UTC — Dying???
Anonymous wrote:To the guy who thinks that Palm devices aren't held back.

What the HELL are you talking about. You obviously do not know the current specs of Pocket PCs. Perhpas you were reading old news or such. 200 MHz? Standard pocket pcs already double that. We aren't even factoring the video chipset that is in almost all pocket pcs now. What does the Palm have? Sure and ARM proc, but new Palms are using ARM procs that 2 year old pocket pcs are using.

Seriously, Palm should stick to what it does best: Personal Information Management (PIM), and let Pocket pc do everything else: video, 3d and 2d games, graphics, vnc, server access, flash, internet, photos, mp3s.

Honestly, Palms are dying.


Man, this was da most stupid comment i've ever seen it in my fuc*** Life....
Palms r dying????

HAHAHAHAAHHAHAHAHAHAHA

they r da future dumbass!


cyall!


ps. by da way.....port quake to palm its a good idea, since its da most portable device nowdays!!

peace!
If Palms are the device of the future, why do they have less market share than the past?

Then again, judging by the way you write, I don't expect any coherent arguments.
Agreed... palms are... inferior.