Atari coding BBS
|5 instr mapper|
Posted by: MKM/Lamers
I have a question about famous "5 instr texture mapper". It is described often on both atari and amiga sites... and I almost got it working, but have one doubt. If we have standart:
uu__VVvv (d0 - current value, d3 - step)
______UU (d2 - current value, d4 - step)
(I guess I don't need to describe more as it is common pattern)
I obviously works when UUuu step is positive. But for me it seems not to be working when UUuu step is negavite. All values will be computed correctly appart of the fact that Extend flag will be added to d2 when it should be substracted in negative case.
So, it seems for me I need separate code path with subx.b for negative case, but on the other hand fact that all "5 instr mapper" posts I found does not mention it, seems to get me wonder that I am missing something there. Am I?
[All messages in this thread]