https://github.com/dispatchcode/nate
[Codegolf] Just a minimal 8086 emulator
https://github.com/dispatchcode/nate
8086-emulator c codegolf
Last synced: 5 months ago
JSON representation
[Codegolf] Just a minimal 8086 emulator
- Host: GitHub
- URL: https://github.com/dispatchcode/nate
- Owner: DispatchCode
- License: gpl-3.0
- Created: 2019-08-17T01:18:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-08T11:48:44.000Z (about 3 years ago)
- Last Synced: 2024-03-23T19:22:27.329Z (about 1 year ago)
- Topics: 8086-emulator, c, codegolf
- Language: C
- Size: 22.5 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NaTE - Not a True Emulator
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
`ild.c` is the core that fulfill the "fetch and decode" step. It has been extracted from a personal project that will be soon available.
`cpu.c` offers a basic CPU initialization.
`cpu_exec.c` emulates an instruction previously disassembled by ild.
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.