Just another random thought to be thrown up, but don't some of the Rom
functions use lookup tables? Would it be possible to branch to a place in
the function -after- it checked to see if your value was in range and then
it would look up part of the Rom instead of just an ordinary table. Just a
thought.
-stephen