How do emulators work and how are they written? · HackerTrans