Author Topic: Quake On The Z5600 - Any Ideas On Optimization ?  (Read 3842 times)

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Quake On The Z5600 - Any Ideas On Optimization ?
« on: November 21, 2004, 10:52:16 pm »
Managed to get it up and running on the 5600 but it is slow.  Any tips on how to get it running faster.  I compiled from the pdaxrom source.  Thanks.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

weasel123

  • Newbie
  • *
  • Posts: 41
    • View Profile
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #1 on: November 22, 2004, 10:40:49 am »
Quote
Managed to get it up and running on the 5600 but it is slow.  Any tips on how to get it running faster.  I compiled from the pdaxrom source.  Thanks.
i have compiled quake for the sl 5500 running oz3.5.1 with the -msoft-float optimisation and it is fast as hell. The floating point emulation by the software layer is very fast indeed.

Bill Essig

  • Newbie
  • *
  • Posts: 27
    • View Profile
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #2 on: November 22, 2004, 06:47:16 pm »
multiplayer?

weasel123

  • Newbie
  • *
  • Posts: 41
    • View Profile
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #3 on: November 22, 2004, 07:11:11 pm »
Quote
multiplayer?
quake segmentation faults under oz 3.5.1 if you  dont run it with the -noudp switch, which i assumes disables network play and hence multiplayer.

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #4 on: November 22, 2004, 10:57:26 pm »
I get a lot of unresolved symbols when using the -msoft-float option at link time.

I googled a bit and read that I must link with libfloat but adding the -lfloat option results in  'cannot find lfloat'

Any hints?
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

weasel123

  • Newbie
  • *
  • Posts: 41
    • View Profile
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #5 on: November 24, 2004, 09:34:24 am »
Quote
I get a lot of unresolved symbols when using the -msoft-float option at link time.

I googled a bit and read that I must link with libfloat but adding the -lfloat option results in  'cannot find lfloat'

Any hints?
First some things,
1. you need to run a soft-float enabled rom, so i use oz 3.5.1
2. I use open embedded configured for soft-float enabled tool chain, just download open embedded and configure it for your machine and make sure you put
TARGET_FPU=soft
into the file OE_DIR/build/conf/local.conf

then i just build a package using say "oemake scummvm", then the gcc copiler and all the libraries are built in the oe directory.

now i  grab the cvs sources from handheldquake then after editing the Makefile to point to the new qt libraried i execute
PATH=/mnt/ss/oebk/build/tmp/work/gcc-cross-3.4.2-r0/image/mnt/ss/oebk/build/tmp/cross/bin:$PATH  make

and then it compiles ok.

here is the sample executable
<http://sinhalasearch.com/quake.gz>

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #6 on: November 27, 2004, 07:50:23 pm »
Thank you very much.

Your binary will not run on my system so I  had to build my own toolchain. I managed to compile a soft float enabled binary which runs " fast as hell".  Still a work in progress.  I want it to  work with Qtopia eventually.  I would have not ventured in this direction had you not pointed me there.

   
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

g333

  • Full Member
  • ***
  • Posts: 196
    • View Profile
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #7 on: December 14, 2004, 09:03:45 pm »
If this is freeware can you add a link I want to download it.  
SL-C3000, Sharp ROM 1.11 JP, AirEdge AH-S405C...

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #8 on: December 14, 2004, 11:14:43 pm »
the ipk is in the website referenced on my signature
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

MrSquishy

  • Full Member
  • ***
  • Posts: 159
    • View Profile
    • http://
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #9 on: December 16, 2004, 02:30:06 pm »
It's Stupid Question time!

Will this work on a 5500?  Or do the xscale "stuffs" mess it up.
When I get home and have access to my Quake 1 CD, i'll let you know my results.

Any pointers on what files it wants, and if this will work for the full version (I dont see why it wouldnt).

Time to break out some old Quake mods.

Edit:
Ok, it just wants to pak0.pak and pak1.pak files in the id1 directory (Quake calls these PAK0.PAK and PAK1.PAK, so dont forget to rename them non-caps).
It does work with the full version.

I was unable to get the QT version for the 5600 working.  Not suprising since I dont have an xscale.  The other non-QT version displays 2 small screens side by side that are washed out and green.
The 5500 version works in Opie, but the keys are weird, and I havent made an autoexec.cfg yet.

I've been doing this in 3.5.2, and I'll try it under 3.5.1 to see if anything changes.
« Last Edit: December 16, 2004, 07:19:11 pm by MrSquishy »

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Quake On The Z5600 - Any Ideas On Optimization ?
« Reply #10 on: March 04, 2005, 02:42:45 pm »
Quote
The 5500 version works in Opie, but the keys are weird, and I havent made an autoexec.cfg yet.
Did you or anyone else ever get the keys figured out for the binary that weasel123 made? I've made an autoexec.cfg for my crosshairs but I can't seem to find the fire button.

Greg