moa/emulator/cpus/m68k/src
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
..
bin Changed Error type into an enum 2023-06-10 19:29:54 -07:00
assembler.rs Fixed tests and clippy warnings 2023-06-10 17:39:20 -07:00
debugger.rs Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
decode.rs Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
execute.rs Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
instructions.rs Refactored shift intsructions to not use direction 2023-05-20 15:01:10 -07:00
lib.rs Split some parts of moa-core into libraries/ 2024-03-01 21:17:09 -08:00
memory.rs Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
state.rs Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
tests.rs Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
timing.rs Refactored memory access a bit to try to isolate it 2023-05-21 23:14:26 -07:00