moa/emulator/frontends/pixels
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
..
assets/moa-genesis Connected the web ui controller inputs to sim 2023-05-07 14:57:45 -07:00
src Split some parts of moa-core into libraries/ 2024-03-01 21:17:09 -08:00
Cargo.lock Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
Cargo.toml Refactoring m68k to use a temporary cycle struct 2024-03-02 23:48:19 -08:00
justfile
README.md Added pixel encoding, requested by frontend 2023-03-25 10:51:46 -07:00
sonic.bin Added bin 2023-04-30 22:59:59 -07:00

Moa Frontend using Pixels

This is a frontend for the moa emulator that uses the pixels crate as the rendering library, and which can be compiled to wasm and run in a web browser.

To start the server with Sega Genesis emulation, run:

just serve moa-genesis