long story short, I've been looking far and wide for the RMT source code for a possible rewrite (I am not going to do it, but maybe if someone else got such a brilliant idea they've had an easier time).
Before you ask, no, Google did not help.
So I'm turning to You, fine people of AtariAge.