Hello all, I'm trying to get Ken Krugler's .2 microsecond timer implemented
using gcc. Not sure what he was using in the examples (all from
ftp://www.transpac.com/timer) but I'm getting some compilation errors. I
fixed up most of them, but one thing is sticking:
#pragma parameter __D0 WordMul(__D0, __D1)
ULong WordMul(Word a, Word b) = {0xC0C1}; // mulu.w d1,d0 => long result in
d0
Which was in the TimerUtils.h -- I know what it is trying to accomplish but
my gcc always gives back:
TimerUtils.h:78: function `WordMul' is initialized like a variable
TimerUtils.h:78: invalid initializer for `WordMul'
Not too familar with what m68k gcc expects out of me here. Any hints?
-brian