Commit Graph

29 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 0361e37e1d Fixed just version 2024-03-17 13:44:06 -07:00
transistor 04fae5edc6 Updated crates 2024-03-17 12:26:00 -07:00
transistor a46d59b191 Updated Cargo.lock 2024-03-17 12:02:32 -07:00
transistor fet 7dac32d844
Added github actions for PRs (#3)
* Added github actions for PRs

* Added some rustfmt::skip attributes

* Applied formatting

* Added rustfmt component in action

* Configured to use rustfmt version 2 which fixes some comment formatting

* Removed ready_for_review condition for github actions

Since it has the synchronize condition, it will update after each
commit, whether in draft or not, so I think this should be alright
2024-03-17 11:03:52 -07:00
transistor d0037c8125 Fixed tests and clippy warnings 2024-03-16 13:15:34 -07:00
transistor c20d7afe6e Fixed some tests 2024-03-15 23:01:41 -07:00
transistor 59306bceff Fixed alloc in harte_tests that was taking all the time 2024-03-14 22:35:02 -07:00
transistor 545f339fe2 Separated moa-core dependency into an optional feature flag 2024-03-13 21:49:04 -07:00
transistor af1c660dc0 Modified to use submodule for emulator-hal 2024-03-10 00:06:22 -08: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 55efc4f406 Split some parts of moa-core into libraries/ 2024-03-01 21:17:09 -08:00
transistor a161dcda8a Renamed modules to use kebab case 2024-02-24 19:26:28 -08:00
transistor 671517aab7 Modified to use crates.io version of femtos 2024-02-24 19:16:46 -08:00
transistor 9ff431ebc6 Split clocks into `femtos` crate 2024-02-24 13:02:09 -08:00
transistor 3bd4c24ea8 Modified debugger so the input is in the frontend
The debug loop that reads a command and does something is part of the
frontend's main loop, so that it can potentially update, even though
it doesn't actually work for minifb because the command input is a
blocking call.  It's also not implemented in the pixels frontend.
At some point I'll make a web frontend.
2023-06-10 15:28:21 -07:00
transistor e959b8df1c Fixed version issue with Pixels frontend and updated to 0.12 2023-05-13 15:14:11 -07:00
transistor f8083db181 Added raddad772/jsmoo's Z80 test runner
Special thanks to raddad772 https://github.com/raddad772

Also added some fixes to the Z80 for panicking math operations, but
it still won't complete due to an unimplemented instruction
2023-05-09 21:50:42 -07:00
transistor 8b30750924 Changed package names to not conflict with binary names 2023-04-30 21:32:33 -07:00
transistor b243aa9910 Added a not-yet-properly-working version of the phase generator 2023-04-28 20:22:33 -07:00
transistor 69c94fa3af Removed cpu timer and moved audio wave generators to libraries 2023-04-23 19:52:19 -07:00
transistor f298d1b341 Moved parser to its own library 2023-04-23 12:40:34 -07:00
transistor e6614f3e15 Refactored to allow dummy audio for console frontend 2023-03-14 20:05:29 -07:00
transistor 0b27ac04e7 Minor fixes to audio 2022-10-11 10:28:59 -07:00
transistor 925a4e0750 Added log crate 2022-10-09 09:40:20 -07:00
transistor 82644db3fc Added dummy audio device to disable audio while still simulating the devices 2022-09-29 19:55:12 -07:00
transistor 083f3607ba Major reorganization into crates
I wanted to make this a bit more modular, so it's easier in theory to
write external crates that can reuse bits, and selectively compile in
bits, such as adding new systems or new cpu implementations
2022-09-24 23:14:03 -07:00
transistor c53253c050 Added more options to run select tests to harte test runner 2022-09-10 14:08:01 -07:00
transistor d0b5d9047e Added Cargo.lock to fix issue with clap 2021-12-22 19:24:59 -08:00