Skip to content

Commit 5c269ca

Browse files
committed
Readme
1 parent acd9ce1 commit 5c269ca

14 files changed

+15
-3068
lines changed

.clang-format

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/tests_runner.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ members = [
55
name = "z80"
66
authors = ["kirjavasciprt"]
77
version = "0.0.0"
8-
publish = false
98
edition = "2021"
10-
autobins = false
119

1210
[lib]
1311
name = "z80"
@@ -16,3 +14,6 @@ crate-type = ["staticlib", "rlib"]
1614

1715
[dependencies]
1816
c2rust-bitfields= "0.3"
17+
18+
[profile.test]
19+
opt-level = 3

Makefile

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1-
# The Jolly Good Z80
1+
# Z80
22

3-
The Jolly Good Z80 is a fast and accurate instruction-stepped Z80 emulator written in C11.
3+
a fast and accurate instruction-stepped Z80 emulator written in C11 and ported to Rust with c2rust and manual refactoring.
44

5-
The emulator currently passes both zexdoc and zexall Z80 instruction tests.
6-
It has also been verified correct against VisualZ80.
5+
This emulator passes both the ZEXDOC and ZEXALL Z80 instruction tests. It has also been verified correct against VisualZ80, and is known to run the entire ColecoVision, SG-1000, Master System, and Game Gear libraries. Additionally, it has been successfully integrated into Mega Drive/Genesis and Neo Geo emulators with unknown (but likely high or perfect) compatibility.
76

8-
You can run the tests by running `make && ./z80_tests`, which outputs:
7+
## Licensing
8+
9+
This project is under the MIT license, except the files in `roms` which are provided for convenience to test the z80 core implementation. These files authors' and licenses can be seen in the source files (.z80/.src files).
10+
11+
This emulator is a fork of [carmiker/jgz80](https://github.com/carmiker/jgz80)
12+
13+
## Tests
14+
15+
You can run the tests by running `cargo test --release -- --no-capture`, which outputs:
916

1017
```
1118
*** TEST: roms/prelim.com
@@ -157,12 +164,6 @@ Tests complete
157164
*** 5764169747 instructions executed on 46734978649 cycles (expected=46734978649, diff=0)
158165
```
159166

160-
## Licensing
161-
162-
This project is under the MIT license, except the files in `roms` which are provided for convenience to test the z80 core implementation. These files authors' and licenses can be seen in the source files (.z80/.src files).
163-
164-
This emulator is a hard fork of [superzazu/z80](https://github.com/superzazu/z80)
165-
166167
## Resources
167168

168169
- [Z80 CPU User Manual](http://z80.info/zip/z80cpu_um.pdf)

compile_commands.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

porting-notes

Lines changed: 0 additions & 7 deletions
This file was deleted.

rust-toolchain.toml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)