Jump to content
Sign in to follow this  
Joel D. Park

Routine for Multiplying by Odd Numbers

Recommended Posts

Sounds like you're in safe hands now Joel. If anyone can do it on 2600, Thomas can.

 

Thanks Fox for that explanation. I actually managed to follow that for once! Don't suppose you know any good tricks for division as well ?  

:)

There was a very informative thread about this on the Stella Mailing List too. The maths where based on logarithmic tables.

 

Search for Polar and Cartesian.

Share this post


Link to post
Share on other sites

Hvn is right.

For perspective calculation (which involves division), I quickly compute fixed point 1/x (with help of some lookup tables) and then multiply.

:)

Share this post


Link to post
Share on other sites

Of course.....a 1/x table.... I did know that really if I'd thought about it a bit before asking...:oops:

 

Sounds like I must check the Stella mailing list, Thomas. I'm always on the lookout for new coding tips and algorithms. Thanks.

 

Might give some of these ideas a go if I have enough memory left. Space Harrier can get away doing hardly any real division, so it's not a big problem, but I'm always interested in faster ways of doing things!

 

Cheers

:)

Share this post


Link to post
Share on other sites

I forgot to bring the Adventure code to the office again.. I'm sorry. I'll try and remember tommorow.. This has been a very busy week.

Share this post


Link to post
Share on other sites

fox, i love your stats:

 

"Fox, Atari Newbie" :D

 

hve

 

ps. when do we see an official vector demo "outside" the Taquart members???

Share this post


Link to post
Share on other sites
fox, i love your stats:

 

"Fox, Atari Newbie" :D

 

so do I :D

 

ps. when do we see an official vector demo "outside" the Taquart members???

 

I think that one of Numen effects could be called "official vector demo". :)

And Numen will be released at LL 2k2 (first weekend of August).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...