Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claudevandort/c6502
6502 microprocessor emulator
https://github.com/claudevandort/c6502
6502 c99 emulator
Last synced: about 1 month ago
JSON representation
6502 microprocessor emulator
- Host: GitHub
- URL: https://github.com/claudevandort/c6502
- Owner: claudevandort
- Created: 2024-04-16T00:57:56.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-22T07:05:18.000Z (8 months ago)
- Last Synced: 2024-10-12T17:21:02.499Z (3 months ago)
- Topics: 6502, c99, emulator
- Language: C
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 54
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C6502
## Overview
This is a software emulator for the [6502](https://en.wikipedia.org/wiki/MOS_Technology_6502) microprocessor, written in good old [C99](https://en.wikipedia.org/wiki/C99).
The 6502 was widely used in early home computers and game consoles like the [Commodore 64](https://en.wikipedia.org/wiki/Commodore_64) and the [Nintendo Entertaiment System](https://en.wikipedia.org/wiki/Nintendo_Entertainment_System).
I chose C99 since I want as little language abstractions as possible, and also, there's something about emulating a vintage system using vintage C.
## Features
- CPU/memory model, and basic operations.
- Implementation of [opcodes](http://www.6502.org/tutorials/6502opcodes.html) (still in progress).
- Testing of capabilities using [CUnit](https://cunit.sourceforge.net).## Getting started
### Compile
The main function in this project just runs the tests:
```shell
make test
```### Debug
Additionally, you can choose to debug the test execution, for that you can make a debug build and then debug using GDB or LLDB.
```shell
make debug-build
```