Search found 5 matches

by Undo
Wed Sep 25, 2002 1:58 pm
Forum: Programming
Topic: Fast 2D rotation for 6510
Replies: 19
Views: 22536

Thanks Daryl.
I'm not quite sure how much memory I'll be able to spare but 6kb is quite a nice price to pay for such great speed.

I'll try to fiddle some with the idea later tonight..
by Undo
Tue Sep 24, 2002 8:39 pm
Forum: Programming
Topic: Fast 2D rotation for 6510
Replies: 19
Views: 22536

:)

Can you elaborate more on what you will be doing? Will your rotations always be around the center of your 31x31 display? Will there be a fixed shape in it ( or maybe just a few)? What will be the minimum/maximum angle of rotation per display update?


Yeah, the rotation will always be around ...
by Undo
Sat Sep 21, 2002 1:22 pm
Forum: Programming
Topic: Fast 2D rotation for 6510
Replies: 19
Views: 22536

True it will be a low resolution but since the graphic "screen" I'll be using is only 31*31 vpixels ('vpixel = 4*4 real pixels) 8 bits should be enough.

I got around 11592cycles left per frame to do calculations and other stuff for the rotation and there's around 961 pixels to calculate, that would ...
by Undo
Sat Sep 21, 2002 12:06 am
Forum: Programming
Topic: Fast 2D rotation for 6510
Replies: 19
Views: 22536

thanks for the insight. :)

Well since speed is a priority over accuracy, I won't be using floating point routines at all. If I convert all floating points in the tables to integers using the following method I get a little loss in accuracy but not really that much.

ex.
0,52 * 64 = 33,28 (33 when ...
by Undo
Fri Sep 20, 2002 5:04 pm
Forum: Programming
Topic: Fast 2D rotation for 6510
Replies: 19
Views: 22536

Fast 2D rotation for 6510

Hi
I just started coding on my good ol' friend, c64 again.
I'm trying to code a simple 2d routine using precalulated sin and cos tables. Since multiplication routines are far to slow for my taste, I've used an old method that was common back in the days, but unfortunately lacked accuracy.

the ...