Mpu6502
A 6502 CPU/MPU emulator in a small Java library. Ported from sid.c in siddump.
Mpu6502is the main class. You can call "tick" on it to make it execute the next instruction. This is fetched from theBus, withOnlyMemoryBusas a simple implementation. Pretty much everything is public and free to mess with. It was thoroughly tested with this 6502 test suite.Mpu6502Specificationscontains a reusable collection of technical data.Assembleris a quick and dirty little assembler that doesn't do much yet. Check outAssemblerTestto see how it's used.Disassembleris not much yet.Monitoris also not much yet. It wraps anMpu6502so you can play around with it.