Skip to content

Commit

Permalink
Fixed just version
Browse files Browse the repository at this point in the history
  • Loading branch information
transistorfet committed Mar 17, 2024
1 parent 8b1891c commit 0361e37
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 24 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ jobs:
- uses: jetli/wasm-bindgen-action@v0.2.0
with:
# NOTE version here must match the emulator/frontends/pixels/Cargo.lock version
version: 0.2.92

- name: Install dependencies
run: |
sudo apt-get install -y alsa-base libasound2-dev libxkbcommon-dev
cargo install just
# NOTE version here is pinned because it must be compilable with MSRV
cargo install just --version 1.22.0
- name: Make build directory
run: mkdir build
Expand Down
28 changes: 11 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion emulator/cpus/m68k/src/moa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl<BusError> From<Error> for M68kError<BusError> {
match err {
Error::Processor(ex) => M68kError::Interrupt(ex as u8),
Error::Breakpoint(_) => M68kError::Breakpoint,
Error::Other(msg) | Error::Assertion(msg) | Error::Emulator(_, msg) => M68kError::Other(msg.to_string()),
Error::Other(msg) | Error::Assertion(msg) | Error::Emulator(_, msg) => M68kError::Other(msg),
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion emulator/cpus/z80/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl From<Error> for Z80Error {
match err {
Error::Processor(ex) => Z80Error::BusError(format!("processor error {}", ex)),
Error::Breakpoint(_) => Z80Error::Breakpoint,
Error::Other(msg) | Error::Assertion(msg) | Error::Emulator(_, msg) => Z80Error::BusError(msg.to_string()),
Error::Other(msg) | Error::Assertion(msg) | Error::Emulator(_, msg) => Z80Error::BusError(msg),
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion emulator/frontends/console/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default-run = "moa-computie"

[dependencies]
log = "0.4"
clap = "4.4"
clap = "=4.4"
simple_logger = "4"
femtos = "0.1"

Expand Down
2 changes: 1 addition & 1 deletion emulator/frontends/minifb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default-run = "moa-genesis"
[dependencies]
log = "0.4"
minifb = "0.25"
clap = "4.4"
clap = "=4.4"
simple_logger = "4"
femtos = "0.1"

Expand Down
2 changes: 1 addition & 1 deletion tests/rad_tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fn init_execute_test(cputype: Z80Type, state: &TestState, ports: &[TestPort]) ->
let io_ram = Device::new(MemoryBlock::new(vec![0; 0x10000]));
let io_bus = Rc::new(RefCell::new(Bus::default()));
io_bus.borrow_mut().set_ignore_unmapped(true);
io_bus.borrow_mut().insert(0x0000, io_ram.clone());
io_bus.borrow_mut().insert(0x0000, io_ram);

let port = BusPort::new(0, 16, 8, system.bus.clone());
let ioport = BusPort::new(0, 16, 8, io_bus.clone());
Expand Down
2 changes: 1 addition & 1 deletion todo.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

* convert the Z80
* implement Inspect/Debug traits
* fix dump_state everywhere, which now requires a writer. Is there an easier way? Is there a way that doesn't require std
* fix it to use the full 68k address space, and maybe see if it's possible to make the address translation cleaner/nicer/simpler/faster
* figure out how to do interrupts, and add them to emulator-hal, implement them in m68k
* convert the Z80
* convert peripherals to use BusAccess and Step
* replace Addressable/Steppable and modify Transmutable to use the emulator-hal traits
* remove the custom moa impls from m68k if possible at this point
Expand Down

0 comments on commit 0361e37

Please sign in to comment.