2018-08-24 03:58:35 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>8bitworkshop IDE</title>
|
|
|
|
<style type="text/css" media="screen">
|
|
|
|
#emulator {
|
|
|
|
position:absolute;
|
|
|
|
left:0;
|
|
|
|
top:0;
|
|
|
|
width:100%;
|
|
|
|
height:100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2019-05-21 20:49:48 +00:00
|
|
|
#emuscreen {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2018-08-24 03:58:35 +00:00
|
|
|
.emuvideo {
|
2020-07-09 12:03:09 +00:00
|
|
|
width: calc(100% - 70px);
|
2018-08-24 03:58:35 +00:00
|
|
|
border-radius:20px;
|
|
|
|
border: 4px solid #222;
|
|
|
|
outline-color: #666;
|
|
|
|
padding: 30px;
|
|
|
|
background: #000;
|
|
|
|
}
|
2019-08-22 14:30:33 +00:00
|
|
|
.emuvideo:focus {
|
|
|
|
outline:none;
|
|
|
|
border-color:#888;
|
|
|
|
}
|
2018-08-24 03:58:35 +00:00
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
|
|
|
if (window.location.host.endsWith('8bitworkshop.com')) {
|
|
|
|
ga('create', 'UA-54497476-9', 'auto');
|
|
|
|
ga('set', 'anonymizeIp', true);
|
|
|
|
ga('send', 'pageview');
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="emulator">
|
2019-05-21 17:06:48 +00:00
|
|
|
<!-- emulator video -->
|
|
|
|
<div id="emuscreen">
|
|
|
|
</div>
|
2018-08-24 03:58:35 +00:00
|
|
|
<div id="javatari-div" style="margin:10px; display:none">
|
|
|
|
<div id="javatari-screen" style="margin: 0 auto; box-shadow: 2px 2px 10px rgb(60, 60, 60);"></div>
|
|
|
|
<div id="javatari-console-panel" style="margin: 0 auto; box-shadow: 2px 2px 10px rgb(60, 60, 60);"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-07-16 19:47:28 +00:00
|
|
|
<script src="jquery/jquery.min.js"></script>
|
2018-08-24 03:58:35 +00:00
|
|
|
|
|
|
|
<script src="javatari.js/release/javatari/javatari.js"></script>
|
2019-10-26 01:55:50 +00:00
|
|
|
<script src="src/common/cpu/z80.js"></script>
|
2019-04-03 21:00:05 +00:00
|
|
|
<script src="jsnes/dist/jsnes.min.js"></script>
|
2019-10-26 01:55:50 +00:00
|
|
|
<script src="src/common/cpu/6809.js"></script>
|
2019-05-01 14:46:57 +00:00
|
|
|
<script src="FileSaver.js/FileSaver.min.js"></script>
|
2019-08-22 14:30:33 +00:00
|
|
|
<script src="lib/mousetrap.min.js"></script>
|
|
|
|
<script src="lib/mousetrap-global-bind.min.js"></script>
|
2018-08-24 03:58:35 +00:00
|
|
|
|
|
|
|
<script>
|
|
|
|
var exports = {};
|
|
|
|
function require(modname) {
|
|
|
|
if (modname == 'jquery') return $;
|
|
|
|
else if (modname.startsWith('.')) return exports;
|
|
|
|
else { console.log("Unknown require()", modname); return exports; }
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script src="tss/js/tss/PsgDeviceChannel.js"></script>
|
|
|
|
<script src="tss/js/tss/MasterChannel.js"></script>
|
|
|
|
<script src="tss/js/tss/AudioLooper.js"></script>
|
|
|
|
<script src="tss/js/Log.js"></script>
|
|
|
|
|
2019-10-26 01:55:50 +00:00
|
|
|
<script src="gen/common/video/tms9918a.js"></script>
|
|
|
|
<script src="gen/common/util.js"></script>
|
|
|
|
<script src="gen/common/emu.js"></script>
|
|
|
|
<script src="gen/common/baseplatform.js"></script>
|
|
|
|
<script src="gen/common/audio.js"></script>
|
|
|
|
<script src="gen/common/recorder.js"></script>
|
|
|
|
<script src="gen/common/devices.js"></script>
|
|
|
|
<script src="gen/common/cpu/MOS6502.js"></script>
|
|
|
|
<script src="gen/common/cpu/ZilogZ80.js"></script>
|
2019-08-25 16:15:22 +00:00
|
|
|
<script src="gen/machine/vdp_z80.js"></script>
|
2019-10-26 01:55:50 +00:00
|
|
|
<script src="gen/ide/embedui.js"></script>
|
2019-08-25 00:53:57 +00:00
|
|
|
|
2018-08-24 03:58:35 +00:00
|
|
|
<script src="lib/liblzg.js"></script>
|
|
|
|
|
|
|
|
<script>
|
2019-04-30 17:44:29 +00:00
|
|
|
// are we not in an iframe?
|
|
|
|
if(self === top) {
|
|
|
|
document.body.style.backgroundColor = '#555';
|
|
|
|
}
|
2018-08-24 03:58:35 +00:00
|
|
|
startEmbed();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|