PocketMatrix forums

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

pocket quake port

hi,

i'm interested in porting quake to a non-intel platform, does anyone know how to get it to compile using the c-only code and not the x86 asm ?

thanks,

bobby
Pocket Quake uses absolutely no x86 asm.
PocketQuake is also compiled for a non-intel platform already. ARM is ARM, not x86, and SH 3 and MIPS are also not x86. MIPS and SH3 have nothing to do with Intel.
I don't know anyone who uses an Intel platform. I use MS windows xp. That's a microsoft platform, and I have a AMD Athlon slot A processor, which is not made by intel either. My computer is intel free.
Not true. Your Athlon CPU contains x86 code licensed to AMD by Intel.
bobby · 05 Mar 2002, 11:44 UTC — quake source port
hi,

i'm sorry, i probably wasnt that clear the first time round.

what i'm asking is if anyone knows how to compile the "origional" quake source without the asm.

if the source to pocketquake is available (i wasnt aware that it was) that would of course be better!

thanks,

bobby
yeah its around her somewhere. its either on the pocketquake site or in a thread on this board.
You would need to rewrite the asm parts into plain, vanilla C. Even if you managed to compile it without the asm, it most probably wouldn't work. It's like saying, "Hmm.. I wanna drive my car without using the rubber fanbelt..." - It would be possible, but you would have to replace the fanbelt with an alternative onject that did the same job, like a big elastic band (!). Find out what the original asm code did, then write replacements in C. The assembler is there for a reason :wink: , compiling the C code alone wouldn't do much when run on the target platform, even if it did execute. I think this is what you're trying to ask.

BTW What platform are you trying to port to?
id Software provided C version of all ASM routines. I think there is a define in quakedef.h to trigger the ASM routines, so you may try looking there.

Dan East
bobby · 06 Mar 2002, 15:55 UTC — any pointers
i'm thinking of a port to the GP32.

it's a 66Mhz ARM9T with 8MB ram and a smartcard interface. http://www.gp32.com

if anyone could give me pointers about the source, what i need to change and where to start, that would be cool.

i think the actual hardware is very similar (the ARM9T is very similar to the strongarm core) so it might be quite easy to build on the work of pocketquake and do this port.

rob :lol:

ps. i realise that it (probably) will never achive full framerate, even after heavy optomisation. but i've been working on arm processors, so if i have enough time i could probably rewrite most of the critical sections in asm.