<p dir="ltr">I might suggest you try improving support for SH2 / J2 in Qemu rather than writing your own emulator.</p>
<p dir="ltr">If you feel up to the task, take a look at my branch.</p>
<p dir="ltr"><a href="https://github.com/cfriedt/qemu/branches/all">https://github.com/cfriedt/qemu/branches/all</a></p>
<p dir="ltr">Also take a look at some of the previous mailing list history. You *should* run the boot ROM, as it's a very good way to determine whether or not an emulator correctly mimics the internal state of the SH2 pipeline. Unfortunately, Qemu currently does not.</p>
<p dir="ltr">C</p>