Hi, I made it compatible with A8:

mode7.a8.original.src.20120909.rar

There was a problem with reading and writing the pixels from/to different bitmap formats in A8. I also made all upper case comments to lowercase and translated german comments. For using your technique with shaders, I think a complete rewrite is necessary. I'll see how far I'll come.