Skip to content

Instantly share code, notes, and snippets.

@tluyben
Created October 15, 2016 14:07
Show Gist options
  • Save tluyben/176281a23039f4b26b95ec63ddc1ac08 to your computer and use it in GitHub Desktop.
Save tluyben/176281a23039f4b26b95ec63ddc1ac08 to your computer and use it in GitHub Desktop.
webmsx - stepping + slowing
var si = setInterval(function() {WMSX.room.machine.systemPause(false);WMSX.room.machine.videoClockPulse(); console.log(WMSX.room.machine.cpu.toString());WMSX.room.machine.systemPause(true);}, 200);
@tluyben
Copy link
Author

tluyben commented Oct 15, 2016

var si = setInterval(function() {WMSX.room.machine.systemPause(false);WMSX.room.machine.videoClockPulse(); console.log(WMSX.room.machine.cpu.saveState().PC);WMSX.room.machine.systemPause(true);}, 100);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment