Thread: Tinyus Tech
View Single Post
Old 09 February 2021, 13:14   #19
pink^abyss
Registered User
 
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
Quote:
Originally Posted by aros-sg View Post
No, with the approach in the link it would only take half of that. And no duplicate blits.I probably did not explain it well enough.

Think of 3 normal sized buffers inside a 3xheight master buffer where during y-scrolling the buffers move/travel down in memory (a bit similar to horizontal scrolling) and only ever one of them will cross the bottom edge of the master buffer and split/wrap over to the top of the master buffer.

If i understand right then this means

- for updating the background tiles you would need 2 blits, instead of 4
- for restoring you would always need splited blits
- for everything else you can do normal blits
- the restore buffer is always a 'splitted' buffer

Is this what you describe?

If yes, the pros and cons are
+The scrolling needs 50% less blitting (tho not much time anyway)
+You save 50% chipmem (thats good!)
-The restoring gets more complicated and may have more blits
pink^abyss is offline  
 
Page generated in 0.07589 seconds with 11 queries