├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── COPYING ├── COPYING.LESSER ├── Cargo.toml ├── Justfile ├── README.md ├── examples ├── README.md ├── embedded │ ├── Cargo.toml │ ├── README.md │ └── embedded.rs ├── ral1243 │ ├── .bundle │ │ └── config │ ├── Cargo.toml │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── exroms │ │ ├── exrom001.bin │ │ ├── exrom002.bin │ │ ├── exrom003.bin │ │ ├── ral1243_exrom001.rb │ │ ├── ral1243_exrom002.rb │ │ └── ral1243_exrom003.rb │ ├── rom │ │ ├── ral1243_rom.rb │ │ └── rom.bin │ └── src │ │ ├── bus.rs │ │ ├── clock.rs │ │ ├── ctc.rs │ │ ├── ctc_trigger.rs │ │ ├── debug.rs │ │ ├── lib.rs │ │ ├── memory.rs │ │ ├── pio.rs │ │ ├── pio_device.rs │ │ ├── runner.rs │ │ └── thread.rs ├── shuffle.rs └── terminal.rs ├── src ├── cpu.rs ├── cpu │ ├── debug.rs │ ├── flags.rs │ ├── parse.rs │ └── registers.rs ├── disasm.rs ├── host.rs ├── lib.rs ├── macros.rs ├── z80.rs └── z80 │ ├── any.rs │ ├── debug.rs │ ├── flavours.rs │ ├── instructions.rs │ ├── internal.rs │ ├── macros.rs │ ├── opcodes.rs │ ├── ops.rs │ ├── serde.rs │ └── tests.rs └── tests ├── cycles_test.rs ├── flav_test.rs ├── mnemonics.txt ├── mnemonics_cycles.txt ├── mnemonics_prefix.txt ├── mnemonics_test.rs ├── shuffle ├── mod.rs ├── shuffle.bin ├── shuffle.meta ├── shuffle.rb ├── shuffle.tap ├── shuffled_0000.bin ├── shuffled_0368.bin ├── shuffled_8000.bin ├── shuffled_BACA.bin ├── shuffled_D9AB.bin └── shuffled_FFFF.bin └── shuffle_test.rs /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/COPYING -------------------------------------------------------------------------------- /COPYING.LESSER: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/COPYING.LESSER -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/Justfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/README.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/embedded/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/embedded/Cargo.toml -------------------------------------------------------------------------------- /examples/embedded/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/embedded/README.md -------------------------------------------------------------------------------- /examples/embedded/embedded.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/embedded/embedded.rs -------------------------------------------------------------------------------- /examples/ral1243/.bundle/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/.bundle/config -------------------------------------------------------------------------------- /examples/ral1243/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/Cargo.toml -------------------------------------------------------------------------------- /examples/ral1243/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/Gemfile -------------------------------------------------------------------------------- /examples/ral1243/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/Gemfile.lock -------------------------------------------------------------------------------- /examples/ral1243/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/README.md -------------------------------------------------------------------------------- /examples/ral1243/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/Rakefile -------------------------------------------------------------------------------- /examples/ral1243/exroms/exrom001.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/exroms/exrom001.bin -------------------------------------------------------------------------------- /examples/ral1243/exroms/exrom002.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/exroms/exrom002.bin -------------------------------------------------------------------------------- /examples/ral1243/exroms/exrom003.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/exroms/exrom003.bin -------------------------------------------------------------------------------- /examples/ral1243/exroms/ral1243_exrom001.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/exroms/ral1243_exrom001.rb -------------------------------------------------------------------------------- /examples/ral1243/exroms/ral1243_exrom002.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/exroms/ral1243_exrom002.rb -------------------------------------------------------------------------------- /examples/ral1243/exroms/ral1243_exrom003.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/exroms/ral1243_exrom003.rb -------------------------------------------------------------------------------- /examples/ral1243/rom/ral1243_rom.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/rom/ral1243_rom.rb -------------------------------------------------------------------------------- /examples/ral1243/rom/rom.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/rom/rom.bin -------------------------------------------------------------------------------- /examples/ral1243/src/bus.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/bus.rs -------------------------------------------------------------------------------- /examples/ral1243/src/clock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/clock.rs -------------------------------------------------------------------------------- /examples/ral1243/src/ctc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/ctc.rs -------------------------------------------------------------------------------- /examples/ral1243/src/ctc_trigger.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/ctc_trigger.rs -------------------------------------------------------------------------------- /examples/ral1243/src/debug.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/debug.rs -------------------------------------------------------------------------------- /examples/ral1243/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/lib.rs -------------------------------------------------------------------------------- /examples/ral1243/src/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/memory.rs -------------------------------------------------------------------------------- /examples/ral1243/src/pio.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/pio.rs -------------------------------------------------------------------------------- /examples/ral1243/src/pio_device.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/pio_device.rs -------------------------------------------------------------------------------- /examples/ral1243/src/runner.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/runner.rs -------------------------------------------------------------------------------- /examples/ral1243/src/thread.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/ral1243/src/thread.rs -------------------------------------------------------------------------------- /examples/shuffle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/shuffle.rs -------------------------------------------------------------------------------- /examples/terminal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/examples/terminal.rs -------------------------------------------------------------------------------- /src/cpu.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/cpu.rs -------------------------------------------------------------------------------- /src/cpu/debug.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/cpu/debug.rs -------------------------------------------------------------------------------- /src/cpu/flags.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/cpu/flags.rs -------------------------------------------------------------------------------- /src/cpu/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/cpu/parse.rs -------------------------------------------------------------------------------- /src/cpu/registers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/cpu/registers.rs -------------------------------------------------------------------------------- /src/disasm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/disasm.rs -------------------------------------------------------------------------------- /src/host.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/host.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/macros.rs -------------------------------------------------------------------------------- /src/z80.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80.rs -------------------------------------------------------------------------------- /src/z80/any.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/any.rs -------------------------------------------------------------------------------- /src/z80/debug.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/debug.rs -------------------------------------------------------------------------------- /src/z80/flavours.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/flavours.rs -------------------------------------------------------------------------------- /src/z80/instructions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/instructions.rs -------------------------------------------------------------------------------- /src/z80/internal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/internal.rs -------------------------------------------------------------------------------- /src/z80/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/macros.rs -------------------------------------------------------------------------------- /src/z80/opcodes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/opcodes.rs -------------------------------------------------------------------------------- /src/z80/ops.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/ops.rs -------------------------------------------------------------------------------- /src/z80/serde.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/serde.rs -------------------------------------------------------------------------------- /src/z80/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/src/z80/tests.rs -------------------------------------------------------------------------------- /tests/cycles_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/cycles_test.rs -------------------------------------------------------------------------------- /tests/flav_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/flav_test.rs -------------------------------------------------------------------------------- /tests/mnemonics.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/mnemonics.txt -------------------------------------------------------------------------------- /tests/mnemonics_cycles.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/mnemonics_cycles.txt -------------------------------------------------------------------------------- /tests/mnemonics_prefix.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/mnemonics_prefix.txt -------------------------------------------------------------------------------- /tests/mnemonics_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/mnemonics_test.rs -------------------------------------------------------------------------------- /tests/shuffle/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/mod.rs -------------------------------------------------------------------------------- /tests/shuffle/shuffle.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffle.bin -------------------------------------------------------------------------------- /tests/shuffle/shuffle.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffle.meta -------------------------------------------------------------------------------- /tests/shuffle/shuffle.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffle.rb -------------------------------------------------------------------------------- /tests/shuffle/shuffle.tap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffle.tap -------------------------------------------------------------------------------- /tests/shuffle/shuffled_0000.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffled_0000.bin -------------------------------------------------------------------------------- /tests/shuffle/shuffled_0368.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffled_0368.bin -------------------------------------------------------------------------------- /tests/shuffle/shuffled_8000.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffled_8000.bin -------------------------------------------------------------------------------- /tests/shuffle/shuffled_BACA.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffled_BACA.bin -------------------------------------------------------------------------------- /tests/shuffle/shuffled_D9AB.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffled_D9AB.bin -------------------------------------------------------------------------------- /tests/shuffle/shuffled_FFFF.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle/shuffled_FFFF.bin -------------------------------------------------------------------------------- /tests/shuffle_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royaltm/rust-z80emu/HEAD/tests/shuffle_test.rs --------------------------------------------------------------------------------