Background First:
I am attempting to get a port of EmuTOS with some extras to run almost native on the Raspberry Pi 2/3. I say almost native as it is running on a emulated 68030 (mostly, no MMU yet), though the drivers are GEM, BIOS, XBIOS and TSR on the 68030 side. The exception being that the core USB driver is on the ARM side and loaded before the 68030 emulation (at least for now), as the Keyboard and Mouse are USB.
The 68030 core I am implementing is going to allow the multi core usage (one per ARM core, so 4 68030 cores).
The trouble 1 Exceptions:
I seem to be having some trouble with the 68030/68020 exception stack, not sure which portion is the trouble maker, though it is there.
I have no trouble at all if I just compile for 68000 and use the 68000 style exception stack.
As such I am wondering if there would be any problem if I implement the CPU emulator using a 68000 style exception stack while supporting the 68030 instruction set and full 32 bit addressing?
Trouble 2 Emulation Model:
Using a lazy JIT emulation I am thus far getting slower results than using a simple hand optimized ARM Assembly software emulation.
Is it worth it to keep on attempting to get the lazy JIT up to speed, or should I just focus on the software emulation?
Thank you in advance:
I thank anyone for there input in advance.