An extensible hardware simulation framework with MC68K support