RPARTI works. gcc optimisation switch dropped (-O0) till I find a way to make it not mess things up. RSETMAP also implemented but not tested.