Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commodore 6502 emulator

License

NotificationsYou must be signed in to change notification settings

leslie255/emu6502

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A reference sheet for the MOS 6502 instruction set can be found at:https://www.masswerk.at/6502/6502_instruction_set.html

How to Use

There is aMemWriter struct and it's associated functions inmain.c to write things into the emulator memory. Write the program into the memory, and then build and run the project by:

$ mkdir bin$ make all&& ./bin/emu6502

There is also a--dbg option for instruction-by-instruction running while printing the entire stack, values of registers, etc.

Note that the emulator likely won't work in big endian platforms.

Future Plans

All the instructions have been implemented by now, but there are still some extra work to do to make the emulator actually useful, namely:

  • IO & Interrupts(CurrentlyBRK andRTI instructions technically work, but the emulator cannot be recovered from an interrupt)
  • Clockspeed limiter
  • Loading from memory/disk snapshots
  • An assembler

LICENSE

This project is licensed under GPLv3, earlier versions that did not have theLICENSE.txt is licensed under ALL RIGHTS RESERVED.

About

Commodore 6502 emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp