Commit Graph

374 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
5cd1111fc7 Switched docs deploy to use stable rustc instead of MSRV 2024-03-17 13:51:52 -07:00
transistor
66acc02b7c Downgraded env_logger to compile with MSRV of 1.70 2024-03-17 13:48:22 -07:00
transistor
0361e37e1d Fixed just version 2024-03-17 13:44:06 -07:00
transistor
8b1891cf63 Pinned version of clap to meet rust minimum version 2024-03-17 12:34:10 -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
47ff517771 Updated pixels version 2024-03-17 11:58:02 -07:00
transistor fet
d7c7fecd61
Updated deploy-docs github action (#4) 2024-03-17 11:38:21 -07:00
transistor
979c51a3ca Run deploy 2024-03-17 11:26:13 -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 fet
a2372d1355
Merge pull request #2 from transistorfet/transistor/integrate-emulator-hal
Integrate emulator-hal traits
2024-03-16 18:49:50 -07:00
transistor
661a4302ef Added workspace exclusion for emulator-hal 2024-03-16 18:48:33 -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
e0330d41a5 Added some fixes 2024-03-09 23:58:07 -08:00
transistor
ec74b64984 Added stats 2024-03-08 23:38:51 -08:00
transistor
8b274f72cc Modified to use emulator-hal traits 2024-03-08 19:41:36 -08:00
transistor
b4a35641e4 Refactored to separate out the BusPort, to eventually replace it 2024-03-03 22:57:27 -08:00
transistor
54ebcce94c Fixed m68k tests after refactor 2024-03-03 13:26:15 -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
83289d6b8e Modified Z80 to use a custom error type 2024-03-02 10:57:16 -08:00
transistor
e13c172364 Added custom error type 2024-03-01 23:08:28 -08:00
transistor
55efc4f406 Split some parts of moa-core into libraries/ 2024-03-01 21:17:09 -08:00
transistor
5653cf47a1 Removed missing workspace member 2024-02-24 19:37:45 -08:00
transistor
d322805627 Updated wasm-bindgen 2024-02-24 19:29:22 -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
2a0918d8bd Moved femtos to its own repository 2024-02-24 15:03:31 -08:00
transistor
9ff431ebc6 Split clocks into femtos crate 2024-02-24 13:02:09 -08:00
transistor
3965a95c8c Updated links to point to past commits 2024-02-19 11:20:18 -08:00
transistor
6a6ab426a6 Added option to moa-computie to select a rom file to boot 2023-11-27 19:19:40 -08:00
transistor
ba1d9f0bc1 Updated 2023-08-06 21:31:14 -07:00
transistor
2552645a60 Modified genesis coprocessor banking to use a Cell instead of Signal 2023-06-10 23:28:40 -07:00
transistor
2d3463867d Added AddressTranslator 2023-06-10 23:19:10 -07:00
transistor
f9d613b3b9 Fixed some Z80 instruction timings 2023-06-10 21:55:25 -07:00
transistor
cbcfb26f49 Updated todo list 2023-06-10 20:32:34 -07:00
transistor
be91118bac Added function to create the CPU BusPorts based on the CPU type 2023-06-10 20:28:40 -07:00
transistor
83307d5b33 Changed Error type into an enum 2023-06-10 19:29:54 -07:00
transistor
e3861f33b5 Fixed tests and clippy warnings 2023-06-10 17:39:20 -07: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
18d1912f9a Added debuggables list to system 2023-06-07 21:08:28 -07:00
transistor
fdca8970f2 Added new Device type to replace TransmutableBox
It's mostly just sugar, but it now includes a unique ID
2023-06-07 20:44:14 -07:00
transistor
3db52cbef6 Changed the Addressable trait's len() to size()
This is to avoid the need for the clippy override
2023-06-07 19:56:00 -07:00
transistor
4d6e3af567 Updated harte tests 2023-06-04 22:47:06 -07:00
transistor
708e7706f3 Fixed many of the undocumented tests
Now it's up to 99% tests passing, 15362 are still failing, but many
of those are the unimplemented IN/OUT instructions, which the Genesis
doesn't seem to use
2023-05-22 21:12:05 -07:00
transistor
8c1a89a1fe Refactored memory access a bit to try to isolate it 2023-05-21 23:14:26 -07:00