(Glide64) Refactor uc5_tridma