1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-24 11:16:38 +00:00

williams: added test for 6809; fiddled with atari7800

This commit is contained in:
Steven Hugg
2019-08-11 10:23:56 -04:00
parent 4dfab17e7b
commit 4d5c6b9063
11 changed files with 830 additions and 486 deletions
+9 -1
View File
@@ -15,6 +15,7 @@ dom.window.Audio = null;
global.Image = function() { }
global['$'] = require("jquery/jquery-2.2.3.min.js");
includeInThisContext('src/cpu/z80.js');
includeInThisContext('src/cpu/6809.js');
global['buildZ80'] = global.window.buildZ80;
includeInThisContext("javatari.js/release/javatari/javatari.js");
Javatari.AUTO_START = false;
@@ -232,7 +233,14 @@ describe('Platform Replay', () => {
});
});
it('Should run williams', () => {
it('Should run williams 6809', () => {
var platform = testPlatform('williams', 'vidfill.asm.rom', 72, (platform, frameno) => {
if (frameno == 62) {
keycallback(Keys.VK_LEFT.c, Keys.VK_LEFT.c, 1);
}
});
});
it('Should run williams-z80', () => {
var platform = testPlatform('williams-z80', 'game1.c.rom', 72, (platform, frameno) => {
if (frameno == 62) {
keycallback(Keys.VK_LEFT.c, Keys.VK_LEFT.c, 1);