PocketMatrix forums

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

0.06 Source

I was just wondering when this going to be released... Any updates?

Once it is, an SH3 build is just a matter of disabling optimization for a few functions, and hitting build.

--Yoda
PlanetUnreal
Moose or Chuck · 21 Apr 2001, 20:49 UTC
If you tell Dan what to do I'm sure he'd have an SH3 build with every new release. And he might know how to fix it.
Moose or Chuck · 22 Apr 2001, 04:09 UTC
ya, umm hes been asking for the compiling specifications you haven't given it yet ...
Alright, here's what you have to do.

Add these lines to quakedef.h:

#ifdef SH3
#define DISABLE_OPTIMIZATION optimize("g",off)
#define ENABLE_OPTIMIZATION optimize("g",on)
#else      
#define DISABLE_OPTIMIZATION
#define ENABLE_OPTIMIZATION
#endif

Then in d_polyse.c add:

#pragma DISABLE_OPTIMIZATION

right before:

void D_PolysetRecursiveTriangle (...)

and:

#pragma ENABLE_OPTIMIZATION

after the closing bracket.

Do the same for R_ClipEdge in r_draw.c, and Mod_SetParent in model.c

This will allow you to compile a Release build, with whatever optimization settings you wish.

--Yoda
PlanetUnreal

Doh, I forgot to login before posting that.

--Yoda
PlanetUnreal
Thanks. Jay Mattis sent me the same list of changes last week, but the exe I sent him did not work. Looking it back over it I see I implemented one of the mods incorrectly. Jay and Yoda, check your email...

Dan East
So we'll finally have an SH3 version? woohoo!
We've had some problems integrating the SH3 changes into the main source base. It'll be ironed out very soon.

Dan East
Moose or Chuck · 23 Apr 2001, 09:31 UTC
if i had a sh3 device i'd be happy, because now you get a release as soon as us cool casio ppl do.