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

fiddling with z80asm/sccz80

This commit is contained in:
Steven Hugg
2018-06-24 01:01:38 -04:00
parent d808cd0833
commit 2f6f426ecc
4 changed files with 88 additions and 20 deletions
+12 -8
View File
@@ -1,13 +1,17 @@
"use strict";
global.window = global;
require('../../../src/cpu/z80.js');
var _global = window;
_global.buildZ80({
applyContention: true
});
if (true) {
global.window = global;
require('../../../src/cpu/z80.js');
var _global = window;
_global.buildZ80({
applyContention: true
});
} else {
var wtu = require('../workertestutils.js');
global.includeInThisContext('src/cpu/z80fast.js');
var _global = {Z80:Z80_fast};
}
var Memory = function(dump) {
var self = {};