Skip to content

This is an emulator for the 6502 microprocessor written in C++.

License

Notifications You must be signed in to change notification settings

Sid110307/6502-Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

6502 Emulator in C++

This is an emulator for the 6502 microprocessor written in C++.

Getting Started

Prerequisites

Getting the Source

  • Clone the repository

    $ git clone https://github.com/Sid110307/6502-Emulator.git
  • Change directory to the repository

      $ cd 6502-Emulator

Building

  • Configure the project using CMake (only on the first build)

    $ cmake -S . -B bin
  • Build the project

      $ cmake --build bin --target all -j4
  • Run the emulator

  $ ./bin/6502

Usage

$ ./bin/6502 <path/to/program.bin>
  • Note: Don't forget to change the clock cycles at the cpu.execute() call.
  • Build and run the emulator as described above.

License

MIT

About

This is an emulator for the 6502 microprocessor written in C++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published