https://osdk.org/index.php?page=articles&ref=ART19
Feel free to ask question or comment

I guess that would have to have some limits, like only be able to move at the byte level, not actual pixel level, else handling attributes would not work.ibisum wrote: ↑Sun Feb 06, 2022 1:25 pm This was really interesting and definitely educational... left me wanting more, perhaps how you'd handle optimising a blitter function that copies blocks quickly in HIRES mode, including attribute-handling and so on .. maybe you'd consider that for your next article?
Yes, this would still be quite useful in the same context as this tutorial - optimising a function for OSDK C.I guess that would have to have some limits, like only be able to move at the byte level, not actual pixel level, else handling attributes would not work.
Would it not be worth it to have an 'attribute mixup' path, post-blit (or during) that applies different semantics to the operation - i.e. _NOFIX - don't bother with attributes, _PAD_RIGHT - scan to the right to 'fix' the attribute overload, _BLACK - set attributes to 0, etc.I'm not quite sure how attributes could be handled though, other than being copied with the rest like normal bytes, because you don't really know what appears on the right of where you copy things.