https://github.com/dispatchcode/nate-rust
[Codegolf] Just a minimal 8086 emulator written in Rust
https://github.com/dispatchcode/nate-rust
codegolf cpu8086 rust
Last synced: 5 months ago
JSON representation
[Codegolf] Just a minimal 8086 emulator written in Rust
- Host: GitHub
- URL: https://github.com/dispatchcode/nate-rust
- Owner: DispatchCode
- License: gpl-3.0
- Created: 2020-06-19T23:21:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-08T11:49:51.000Z (about 3 years ago)
- Last Synced: 2024-03-23T19:22:27.601Z (about 1 year ago)
- Topics: codegolf, cpu8086, rust
- Language: Rust
- Homepage:
- Size: 19.5 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
*Noob rustacean* version of [Nate](https://github.com/DispatchCode/NaTE).
## NaTE - Not a True Emulator *(Rust version)*
A codegolf challenge captured my attention, [Emulate an Intel 8086 CPU](https://codegolf.stackexchange.com/questions/4732/emulate-an-intel-8086-cpu).
Here is the result:

## 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.