Basic direct threaded emulator.