What you could probably do is allow all non-priviledged instructions run normally, catching access to hardware. Priviledged code would have its own sandbox with only the privileged instructions emulated. Exception stack frames would therefore be written by the hypervisor as 68000 stack frames.mikro wrote: ↑Mon Jul 11, 2022 8:27 am^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ THIS!stephen_usher wrote: ↑Sun Jul 10, 2022 9:47 pm
Might be useful to allow a full ST emulation on a TT or Falcon though for games.
To make it a bit more specific, there are two huge areas of interest to explore:
- cycle non-exact (Win)UAE (i.e. taking m68k instructions as they are) (think of modern AGA demos)
- cycle non-exact Hatari (with, say, cache disabled and perhaps some stack frame fixes) (think of dirty games overwriting memory, using disk images etc)
I'm following this project with great interest but MacOS is totally alien to me. Amiga/Atari OS on the other hand...
Remember, this isn't an emulation like UAE or Hatari, it's a virtual machine running the code on a real CPU, like VMware or VirtualBox on an Intel box.