To end this series on transcoding the z80 code to the 6809 I thought I should included my c program called z80_to_6809_15_Pacman.c it is what I used to help with the transcode. It takes a z80 disassembly as input and outputs what it thinks is a compatible 6809 instruction in place. It keeps the z80 source code to the right which makes it easier when you are manually going though the code. It’s not a very complicated program but it get’s the job done. The formatting of the text input file must have the correct spacing which you will have to play with if you want to use the program.
You can find it here.
I hope these posts were helpful for anyone interested in the CoCo 3 or transcoding.