Z80 chip family emulator library written in Rust.
Rust Python
Switch branches/tags
Nothing to show
Clone or download
floooh Merge pull request #4 from wirelyre/examples_heap_allocation
In examples, allocate the frame buffer on the heap
Latest commit 44a4ba4 Feb 6, 2017
Permalink
Failed to load latest commit information.
.vscode
doc
examples
src
tests Use assert_eq where possible Dec 29, 2016
.gitignore
.travis.yml
Cargo.toml
LICENSE
README.md
build-docs.py

README.md

Crates.io Build Status

rz80 (work in progress)

Z80 chip family emulator library written in Rust.

Documentation

Usage

# Cargo.toml
[dependencies]
rz80 = "0.1.1"

Examples

Run the ZEXDOC and ZEXALL conformance tests:

> cargo test --release -- --nocapture --ignored

Run the Z1013 home computer emulator:

> cargo run --release --example z1013

In the Z1013 emulator, start the BASIC interpreter with:

# J 300[Enter]

The BASIC interpreter will startup and ask for MEMORY SIZE, just hit Enter.

Enter and run a simple Hello World program:

>AUTO[Enter]
10 FOR I=0 TO 10[Enter]
20 PRINT "HELLO WORLD!"[Enter]
30 NEXT[Enter]
40 [Escape]
OK
>LIST[Enter]
...
>RUN[Enter]
...
>BYE[Enter]