I thought that I already posted the "library".
http://www.devrs.com/gp32/files/xlatgp32.s
Close, you mentioned it by filename, no link though.
Yeah, I figured most people knew about Google. I wasn't sure if I should link directly to it.
'Exophase' said:
[Unfortunately this routine only works on 8bit framebuffers, so it won't be universally useful. It's also not quite optimal, although with the write buffer characteristics I found on Wiz I doubt you could improve it very much (there is a one cycle stall in there)... still, if you merge it up to do 4x4 blocks and 32bit writes it'll possibly be faster.
I'm curious now, I'll probably do some benching later. Then if it's better, withhold the source from GPH for a while so they try to fix the problem :/
I didn't expect that xlat routine to be a direct drop-in. I originally threw it out there just to understand if it was a similar issue. I kinda figured that some people around here would remember that whole rotation business (which I thought was a PITA).
I'll be interested to hear what you come up with on the benchmarks. I bet the clear winner will still be "Do it the right way!"