@mdcatdad
You can use MacOnLinux, not sure how well it runs, we do not have anything similar for AmigaOS4.
Basilisk II and SheepShaver is technically the same source code however, SheepShaver did run on MSDOS, can be run in DOSBOX perhaps, but I guess it will defeat the point.
On AmigaOS4, you pretty much stuck on 680x0 MacOS7.6.1 or MacOS8.x. as far as I know MacOSX requires a more advanced emulator then MacOS9. MacOS9 can perhaps be made to run, but you need a simple JIT compiler, something to virtualize the address space, so that does conflict with host OS. Basically, it only needs to emulate the reads and writes, everything else can be passed on unchanged.
And believe you need to hack branches and return from jumps. To jump into the correct JIT cache block. Illegal opcode can be used, not sure if needed, changing opcode somewhat easier, as does not change codes relative position, however. All that is nice but will there is register conflict with host OS that’s the next question, so basically it can be done, but it’s not without challenges.
If there will be register conflicts, then there will be more code changes needed, to the JIT cache.
Difficulty somewhere between medium to extremely difficult, time consuming, perhaps not worth it, high level of uncertainty.
If someone did it however, then the same code, can perhaps also be used in EUAE, to improve support for Biazzard PPC / CyberStorm PPC. GameCube etc.
The “dolphin” code does have PowerPC interpreter, advantage of using a interpreter, is it won’t conflict with the host OS, it can be a short cut to getting MacOS9 running, disadvantage it will run lot slower, can’t take advantage of native opcodes.
https://github.com/dolphin-emu/dolphin ... /Core/PowerPC/Interpreter
Edited by LiveForIt on 2024/7/24 7:38:19
Edited by LiveForIt on 2024/7/24 7:40:44
Edited by LiveForIt on 2024/7/24 7:41:24
Edited by LiveForIt on 2024/7/24 7:53:50
Edited by LiveForIt on 2024/7/24 7:59:01
Edited by LiveForIt on 2024/7/24 8:02:30