/nate-rust

[Codegolf] Just a minimal 8086 emulator written in Rust

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Noob rustacean version of Nate.

NaTE - Not a True Emulator (Rust version)

A codegolf challenge captured my attention, Emulate an Intel 8086 CPU.

Here is the result:

rust_nate

Project Files

mca8086.rs is the core that fulfill the "fetch and decode" step (inspired by NaTE).

cpu.rs offers a basic CPU initialization.

cpu_exec.rs emulates an instruction previously disassembled by mca8086.

Please note that the video memory is not properly emulated; features such as segments and interrupts are not supported.

LICENSE

The program is licensed under GPL v.3.