smf wrote:
About the fixed point notation you've by orring it with 0xffff made the value -1/65536 which divided by 1 (which 0x10000 fixed point is) is indeed 0.
I know, it was a contrived example to show you that the fixed point number -1.ffff could only be converted to -1 by shifting and not dividing.
But it is not -1.ffff it is -0.0001 Thats why it won't work, the whole idea behind fixed point is to just make all the numbers factor of 2 bigger, this also goes for negative numbers, so that you can still use normal integer operands including divide.
Regards,
Hans
_______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame