Skip to content

A 6502 CPU/MPU emulator in a small Java library

License

Notifications You must be signed in to change notification settings

laamella-gad/Mpu6502

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mpu6502

A 6502 CPU/MPU emulator in a small Java library. Ported from sid.c in siddump.

  • Mpu6502 is the main class. You can call "tick" on it to make it execute the next instruction. This is fetched from the Bus, with OnlyMemoryBus as a simple implementation. Pretty much everything is public and free to mess with. It was thoroughly tested with this 6502 test suite.
  • Mpu6502Specifications contains a reusable collection of technical data.
  • Assembler is a quick and dirty little assembler that doesn't do much yet. Check out AssemblerTest to see how it's used.
  • Disassembler is not much yet.
  • Monitor is also not much yet. It wraps an Mpu6502 so you can play around with it.

About

A 6502 CPU/MPU emulator in a small Java library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages