Use emulated cpu clock to time frames