gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

C/C++ > Fast Division

#2224 - krozen - Fri Jan 31, 2003 11:11 am

Hello,
I have tried and tried to get the assembly fast division code to work, but cannot. I am trying to divide an unsigned int by and unsigned int. Could somebody tell me how to do this in full, or point me to a place which tells in detail how to do this? Sorry for having to be lead by the hand through this, but I just cant get it working, and my knowledge is assembly is too limited to go through it myself!!!
Thank you

#2231 - col - Fri Jan 31, 2003 2:01 pm

This has been discussed over and over and over...

Sooo many times, both here and on the yahoo mailing list:
http://groups.yahoo.com/group/gbadev/

why don't you take some time searching the archives before posting?

cheers

Col.

#2304 - krozen - Sat Feb 01, 2003 9:26 pm

Hello,
Ive seen this discussed on the boards before, but have never being able to gain a satisfactory solution. Thanks for the link by the way!

#2305 - Maddox - Sat Feb 01, 2003 9:46 pm

Do you want to know how to use the BIOS divide or to implement your own software divide?
_________________
You probably suck. I hope you're is not a game programmer.

#2311 - krozen - Sat Feb 01, 2003 11:28 pm

Hello,
I suppose the software divide. What would be the difference? Which would be better to use? Thanks for you help

#2313 - FluBBa - Sun Feb 02, 2003 12:17 am

Hello,
check this thread out! As you seem to need some help to find this almost on top thread.
http://forum.gbadev.org/viewtopic.php?t=356