Skip to content

claudevandort/C6502

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C6502

Overview

This is a software emulator for the 6502 microprocessor, written in good old C99.

The 6502 was widely used in early home computers and game consoles like the Commodore 64 and the Nintendo Entertaiment 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 (still in progress).
  • Testing of capabilities using CUnit.

Getting started

Compile

The main function in this project just runs the tests:

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.

make debug-build

About

6502 microprocessor emulator

Topics

Resources

Stars

Watchers

Forks