From e808d817f0d3313f9d9f00732303af541a7e682d Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Thu, 23 Aug 2018 16:02:13 -0400 Subject: [PATCH] fixed replay; use nextFrame/preFrame/postFrame/advance; repeatable random noise() --- css/ui.css | 4 +++ index.html | 9 +++++- src/baseplatform.ts | 17 +++++++++--- src/emu.ts | 16 ++++++++++- src/platform/apple2.ts | 51 +++++++++++++++++++--------------- src/platform/galaxian.ts | 7 +++-- src/platform/mw8080bw.ts | 3 +- src/platform/nes.ts | 7 ++--- src/platform/vcs.ts | 2 +- src/platform/vicdual.ts | 3 +- src/platform/williams.ts | 3 +- src/recorder.ts | 51 +++++++++++++++++++++------------- src/ui.ts | 50 +++++++++++++++++++++++++-------- test/cli/testplatforms.js | 49 +++++++++++++++++++++++++------- test/roms/apple2/cosmic.c.rom | Bin 0 -> 21577 bytes 15 files changed, 187 insertions(+), 85 deletions(-) create mode 100644 test/roms/apple2/cosmic.c.rom diff --git a/css/ui.css b/css/ui.css index 505ed5e0..d22eb759 100644 --- a/css/ui.css +++ b/css/ui.css @@ -296,3 +296,7 @@ div.replaydiv { width:50%; background-color: #666; } +.slider { + margin-left: 1em; + margin-right: 1em; +} diff --git a/index.html b/index.html index a91c419d..77e082fb 100644 --- a/index.html +++ b/index.html @@ -139,7 +139,7 @@ if (window.location.host.endsWith('8bitworkshop.com')) {