moa/emulator
transistor cff6a48cc7 Refactoring m68k to use a temporary cycle struct
I'm trying to extract the memory/bus interface, and pass it in at
the start of each cycle instead of having the BusPort permanently
embedded, which will allow migrating to emulator-hal.

The functional way would be argument drilling; passing an extra argument
to each function in the entire execution core.  The problem is that it's
messy, so a solution that is still functional is to implement all of the
execution logic on a newtype that contains a reference to the mutable
state and the owned cycle data, and at the end of the cycle, decompose
the M68kCycleGuard that holds the reference, and keep the cycle data for
debugging purposes.
2024-03-02 23:48:19 -08:00
..
core Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
cpus Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
frontends Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
libraries Split some parts of moa-core into libraries/ 2024-03-01 21:17:09 -08:00
peripherals Split some parts of moa-core into libraries/ 2024-03-01 21:17:09 -08:00
systems Split some parts of moa-core into libraries/ 2024-03-01 21:17:09 -08:00