Jump to content
IGNORED

"blitter" vs CPU


Recommended Posts

i did some quick tests of drawing via "sprites" is faster with CPU or with Suzy... and ironicly I found out:

 

- Poly drawing is faster with sprites

- sprite objects are faster with hardware (yeah obvious)

- pixel effects like drawing 1 x y size slices are slower than done only by CPU (like 40x chained together)

 

that was quite a suprise but I guess the SCB overhead is causing that... I personally thought that the 16mhz "blitter" will outperform the 4mhz 65sc02... but highly optimised code seems to outperform in some cases.

 

What is your experience?

 

for clear screen or paste logos etc I still use suzy... and the maths operations in suzy are running "parallel" to cpu so massive gain here, too.

 

 

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

I'm assuming you did these tests on real hardware and not emulation.. do you have the actual timings you could post? Would be interesting to see the deltas.

 

I'm in the process of writing my Lynx engine and one of the questions I had was around accessing the display buffer while SUZY was doing it's sprite rendering.

Link to comment
Share on other sites

  • 2 months later...

It'd be interesting to know what tests you applied for the 1 x y case; can you provide any more information on that? How many different values of y were tested? Was your CPU routine drawing masked sprites, with a full read/modify/write? Were you scaling? Did you compare speeds if also using a collision buffer?

Link to comment
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...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...