Fastest way to wrap angle values (ASM)

Share your advanced PureBasic knowledge/code with the community.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Psychophanta wrote:However, good news to know PB is so fast :wink:
But you didn't use PB you used ASM :twisted: :P
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Well, i hope there is no speed difference between ASM and PB4.0Final. :twisted:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
griz
Enthusiast
Enthusiast
Posts: 167
Joined: Sun Jun 29, 2003 7:32 pm
Location: Canada

Post by griz »

Hey Psychophanta,

Always nice to see more assembly functions from you. Thanks man! Perhaps you would have the time to comment each line for us learning ASM on the PC? I've done very little ASM on the PC and am making the leap from my old 6502 experiences. I get to skip all that 16 bit crap!

BTW I get : 250,270,271,260, 521 and I'm using an AMD Athlon XP 2400.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Hi, thanx!
Updated to 4.0B7 and commented.
But i warn: it is easier to understand without comments!! :)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
griz
Enthusiast
Enthusiast
Posts: 167
Joined: Sun Jun 29, 2003 7:32 pm
Location: Canada

Post by griz »

Wow, I see what you mean! :P

Again, thanks for the effort.
Post Reply