Poly6502.Microprocessor
1.0.1
See the version list below for details.
dotnet add package Poly6502.Microprocessor --version 1.0.1
NuGet\Install-Package Poly6502.Microprocessor -Version 1.0.1
<PackageReference Include="Poly6502.Microprocessor" Version="1.0.1" />
<PackageVersion Include="Poly6502.Microprocessor" Version="1.0.1" />
<PackageReference Include="Poly6502.Microprocessor" />
paket add Poly6502.Microprocessor --version 1.0.1
#r "nuget: Poly6502.Microprocessor, 1.0.1"
#:package Poly6502.Microprocessor@1.0.1
#addin nuget:?package=Poly6502.Microprocessor&version=1.0.1
#tool nuget:?package=Poly6502.Microprocessor&version=1.0.1
Poly6502
This is a WIP emulation of the MOS Technologies 6502 microprocessor.
The ultimate goal is to have an accurate emulation with a full suite of comprehensive passing tests.
Building
The emulator is written in .Net 6 and can be built on most operating systems compatible with .net 6.
Download & install the .NET sdk for your system https://dotnet.microsoft.com/en-us/download/dotnet/6.0
Create your own fork of the repository at https://github.com/MrPolymorph/Poly6502.git. Then clone your fork where you wish to have the project, with the command:
git clone https://github.com/<YOUR_USERNAME>/poly6502.git
This will copy the GitHub repository contents into a new folder in the current directory called poly6502. Change into this directory before doing anything else:
cd poly6502
You then need to build the project using the following command
dotnet build
This will start building the Poly6502.slm file.
Your output should be similar to
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
Poly6502.Interfaces -> /Users/Kris/Documents/GitHub/Poly6502/Poly6502.Interfaces/bin/Debug/net6.0/Poly6502.Interfaces.dll
Poly6502.Utilities -> /Users/Kris/Documents/GitHub/Poly6502/Poly6502.Utilities/bin/Debug/net6.0/Poly6502.Utilities.dll
Poly6502.Microprocessor -> /Users/Kris/Documents/GitHub/Poly6502/Poly6502.Microprocessor/bin/Debug/net6.0/Poly6502.Microprocessor.dll
Poly6502.Microprocessor.Tests -> /Users/Kris/Documents/GitHub/Poly6502/Poly6502.Microprocessor.Tests/bin/Debug/net6.0/Poly6502.Microprocessor.Tests.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:05.00
Once the build is complete, you can verify unit tests by running.
dotnet test
Contributing
All contributions are welcome. This is a group effort, and even small contributions can make a difference. Some tasks also don't require much knowledge to get started. .
For more information on getting started, see our Contributing Guide and our Code Review Guidelines to see what code quality guidelines we follow.
Resources
There are lots of great resources out there, here are just a few to help you get started.
| Link | Description |
|---|---|
| https://www.masswerk.at/6502/6502_instruction_set.html | 6502 Instruction Set |
| https://www.princeton.edu/~mae412/HANDOUTS/Datasheets/6502.pdf | Synertek 6502 Data Sheet |
| http://archive.6502.org/datasheets/rockwell_r650x_r651x.pdf | Rockwell 6502 Data Sheet |
| https://www.nesdev.org/wiki/Cycle_counting | Cycle Counting |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 382 | 4/17/2023 |
| 1.0.1 | 302 | 4/5/2023 |
| 0.0.3-pre-alpha | 283 | 3/31/2023 |
| 0.0.2-pre-alpha | 260 | 3/31/2023 |
| 0.0.1-pre-alpha | 255 | 3/30/2023 |