notes of building emulators