Commit Graph

8 Commits

Author SHA1 Message Date
transistor fet
97aef5d357
Implemented Inspect and Debug traits from emulator-hal (#5)
* Implemented Inspect and Debug traits from emulator-hal

* Updated emulator-hal submodule

* Updated Cargo.lock

* Fixed missing feature flag and clippy

* Fixed tests
2024-03-20 21:00:33 -07:00
transistor
66acc02b7c Downgraded env_logger to compile with MSRV of 1.70 2024-03-17 13:48:22 -07:00
transistor
47ff517771 Updated pixels version 2024-03-17 11:58:02 -07:00
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
transistor
d322805627 Updated wasm-bindgen 2024-02-24 19:29:22 -08:00
transistor
9ff431ebc6 Split clocks into femtos crate 2024-02-24 13:02:09 -08:00
transistor
e959b8df1c Fixed version issue with Pixels frontend and updated to 0.12 2023-05-13 15:14:11 -07:00
transistor
6be36fe816 Added Cargo.lock to fix github actions 2023-05-09 23:10:05 -07:00