Skip to content

A emulator for the 8080 CPU written in Rust

License

Notifications You must be signed in to change notification settings

andrewhop/rusty8080

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rusty8080

A emulator for the 8080 CPU written in Rust. Based on the guide from Emulator 101. Handy links:

Usage

$ cargo run -- -e -f invaders.atari -l log4rs.yaml
Opening: invaders.atari
0000 NOP               pc:     0 sp:    0 a:  0 b:  0 c:  0 d:  0 e:  0 h:  0 l:  0 ConditionCodes { z: false, s: false, p: false, cy: false, ac: false, pad: false }
...

$ cargo run -- -h
rusty8080 0.1.0
Andrew Hopkins <[email protected]>
Emulates programs for the Intel 8080

USAGE:
    rusty8080 [OPTIONS] --file <PATH_TO_FILE> <--emulate|--disassemble>

FLAGS:
    -d, --disassemble    Disassemble the file for numOps commands
    -e, --emulate        Emulate the program
    -h, --help           Prints help information
    -V, --version        Prints version information

OPTIONS:
    -f, --file <PATH_TO_FILE>    The file to emulate
    -l, --logFile <FILE>         Sets the log config
    -n, --numOps <numOps>        Number of operations to disassemble [default: 10]

About

A emulator for the 8080 CPU written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%