About 6502 emulator
I'd like to point you to this blog article about "cycle stepped" 6502 emulator. It is well described and can be a neat read for xmas vacation.
Also author's main project is all about
A toolbox of 8-bit chip-emulators, helper code and complete embeddable system emulators in dependency-free C headers (a subset of C99 that compiles on gcc, clang and cl.exe).which can inspire you new project to integrate!
Do not forget to take a look also at my 8bit free book.