Well, I have almost finished my own ZX Spectrum emulator with full Z80 CPU emulation, debugging, BASIC to text (and vice verse) conversion, TAP support and much more, all done from ground.
And working similar for C64, even there is quite a bit of mature emulators for both, retro nostalgic is so strong in my case, that I couldn't resist to reinvent the wheel...