2016-12-16 01:21:51 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2019-05-06 01:49:08 +00:00
|
|
|
|
2016-12-16 01:21:51 +00:00
|
|
|
<head>
|
2018-07-26 16:44:09 +00:00
|
|
|
<title>8bitworkshop IDE</title>
|
2018-12-22 13:59:34 +00:00
|
|
|
<link rel="manifest" href="manifest.json">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="application-name" content="8bitworkshop">
|
|
|
|
<meta name="apple-mobile-web-app-title" content="8bitworkshop">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
<meta name="msapplication-navbutton-color" content="#ffffff">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
|
|
<meta name="msapplication-starturl" content="/redir.html">
|
2018-10-03 14:58:59 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes">
|
2016-12-16 01:21:51 +00:00
|
|
|
<style type="text/css" media="screen">
|
|
|
|
body {
|
2018-11-24 16:33:28 +00:00
|
|
|
overflow: hidden;
|
2016-12-30 23:51:15 +00:00
|
|
|
font-size: 11px;
|
2016-12-16 01:21:51 +00:00
|
|
|
}
|
|
|
|
</style>
|
2017-04-29 15:31:11 +00:00
|
|
|
<link rel="stylesheet" href="css/ui.css">
|
2019-05-07 19:37:37 +00:00
|
|
|
|
|
|
|
<!-- google analytics -->
|
|
|
|
<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>
|
2016-12-16 01:21:51 +00:00
|
|
|
</head>
|
2019-05-06 01:49:08 +00:00
|
|
|
|
2019-05-07 19:37:37 +00:00
|
|
|
<!-- firebase libs -->
|
|
|
|
<script defer src="https://www.gstatic.com/firebasejs/5.11.1/firebase-app.js"></script>
|
|
|
|
<script defer src="https://www.gstatic.com/firebasejs/5.11.1/firebase-auth.js"></script>
|
|
|
|
<script defer src="config.js"></script>
|
|
|
|
|
2016-12-16 01:21:51 +00:00
|
|
|
<body>
|
|
|
|
|
2018-06-26 23:57:03 +00:00
|
|
|
<!-- for file upload -->
|
|
|
|
<input type="file" id="uploadFileElem" multiple accept="*" style="display:none" onchange="handleFileUpload(this.files)">
|
|
|
|
|
2018-11-25 12:18:32 +00:00
|
|
|
<div id="controls_top" class="disable-select">
|
2017-12-30 03:12:39 +00:00
|
|
|
<span class="dropdown">
|
2018-07-06 23:12:58 +00:00
|
|
|
<a class="btn btn-secondary dropdown-toggle" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="Menu">
|
2018-11-21 20:58:44 +00:00
|
|
|
<span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>
|
2018-07-07 05:09:15 +00:00
|
|
|
<span class="caret"></span>
|
2017-12-30 03:12:39 +00:00
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
2018-08-23 21:46:25 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_new_file">New Project...</a></li>
|
2018-12-08 00:28:11 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_upload_file">Upload...</a></li>
|
|
|
|
<hr>
|
2018-11-24 20:43:08 +00:00
|
|
|
<li class="dropdown dropdown-submenu">
|
2018-12-08 00:28:11 +00:00
|
|
|
<a tabindex="-1" href="#">File</a>
|
2018-11-24 20:43:08 +00:00
|
|
|
<ul class="dropdown-menu">
|
2018-12-08 00:28:11 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_reset_file">Revert to Original...</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_rename_file">Rename File...</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_delete_file">Delete File...</a></li>
|
|
|
|
<hr>
|
2018-11-24 20:43:08 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_addfile_include">Add Include File...</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_addfile_link">Add Linked File...</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2019-05-06 01:49:08 +00:00
|
|
|
<li class="dropdown dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#">Sync</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_github_import">Import Project from GitHub...</a></li>
|
2019-05-07 19:37:37 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_github_publish">Publish Project on GitHub...</a></li>
|
2019-05-16 14:08:09 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_repo_delete">Delete Local Repository...</a></li>
|
2019-05-06 01:49:08 +00:00
|
|
|
<hr>
|
2019-05-07 15:31:33 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_github_push">Push Changes to Repository...</a></li>
|
|
|
|
<hr>
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_github_pull">Pull Latest from Repository</a></li>
|
2019-05-06 01:49:08 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2018-08-25 18:29:51 +00:00
|
|
|
<li class="dropdown dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#">Download</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_download_file">Download Source File</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_download_rom">Download ROM Image</a></li>
|
2018-08-26 13:19:09 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_download_zip">Download Project as ZIP</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_download_allzip">Download All Changes as ZIP</a></li>
|
2018-08-25 18:29:51 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#">Share</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_share_file">Share Playable Link...</a></li>
|
2019-03-03 20:37:22 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_record_video">Record Video...</a></li>
|
2018-09-25 23:46:24 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_export_cassette">Make Cassette Audio...</a></li>
|
2018-08-25 18:29:51 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2017-01-07 18:05:02 +00:00
|
|
|
<li class="dropdown dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#">Debug</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="#" id="item_debug_expr">Break Expression...</a></li>
|
|
|
|
</ul>
|
2017-05-20 19:13:23 +00:00
|
|
|
</li>
|
2018-03-23 21:05:08 +00:00
|
|
|
<li class="dropdown dropdown-submenu">
|
2018-09-02 14:48:43 +00:00
|
|
|
<a tabindex="-1" href="#">Tools</a>
|
2018-03-23 21:05:08 +00:00
|
|
|
<ul class="dropdown-menu">
|
2018-09-02 14:48:43 +00:00
|
|
|
<li><a class="dropdown-item" target="_8bws_tools" href="./tools/fontgen/">Bitmap Font Generator</a></li>
|
2019-04-26 19:38:34 +00:00
|
|
|
<li><a class="dropdown-item" target="_8bws_tools" href="http://tomeko.net/online_tools/file_to_hex.php?lang=en">Binary File to Hex Converter</a></li>
|
|
|
|
<li class="dropdown dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#">Atari 2600/VCS</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" target="_8bws_tools" href="https://alienbill.com/2600/playerpalnext.html">playerpal 2600</a></li>
|
|
|
|
<li><a class="dropdown-item" target="_8bws_tools" href="https://alienbill.com/2600/playfieldpal.html">playfieldpal 2600</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2018-03-23 21:05:08 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2017-05-20 19:13:23 +00:00
|
|
|
<hr>
|
|
|
|
<li class="dropdown dropdown-submenu">
|
2018-08-18 12:04:13 +00:00
|
|
|
<a tabindex="-1" href="#">Platform</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li class="dropdown dropdown-submenu">
|
2018-08-21 14:16:47 +00:00
|
|
|
<a tabindex="-1" href="#">Game Consoles</a>
|
2018-08-18 12:04:13 +00:00
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="?platform=vcs" id="item_platform_vcs">Atari 2600/VCS</a></li>
|
2019-03-04 14:35:33 +00:00
|
|
|
<li><a class="dropdown-item" href="?platform=nes" id="item_platform_nes">NES</a></li>
|
2018-08-18 12:04:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2018-08-21 14:16:47 +00:00
|
|
|
<li class="dropdown dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#">Computers</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="?platform=apple2" id="item_platform_apple2">Apple ][+</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2018-08-18 12:04:13 +00:00
|
|
|
<li class="dropdown dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#">Arcade Systems</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="?platform=vicdual" id="item_platform_vicdual">VIC Dual</a></li>
|
|
|
|
<li><a class="dropdown-item" href="?platform=mw8080bw" id="item_platform_mw8080bw">Midway 8080</a></li>
|
|
|
|
<li><a class="dropdown-item" href="?platform=galaxian-scramble" id="item_platform_galaxian_scramble">Galaxian/Scramble Hardware</a></li>
|
|
|
|
<li><a class="dropdown-item" href="?platform=vector-z80color" id="item_platform_vector_z80color">Atari Color Vector (Z80)</a></li>
|
|
|
|
<li><a class="dropdown-item" href="?platform=williams-z80" id="item_platform_williams_z80">Williams (Z80)</a></li>
|
|
|
|
<li><a class="dropdown-item" href="?platform=sound_williams-z80" id="item_platform_sound_williams_z80">Williams Sound (Z80)</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2018-10-11 15:33:09 +00:00
|
|
|
<li class="dropdown dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#">Hardware</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="?platform=verilog" id="item_platform_verilog">Verilog</a></li>
|
2019-01-27 22:00:07 +00:00
|
|
|
<li><a class="dropdown-item" href="?platform=verilog-vga" id="item_platform_verilog">Verilog (VGA @ 25 Mhz)</a></li>
|
2018-10-11 15:33:09 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2018-11-22 16:22:54 +00:00
|
|
|
<li class="dropdown dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#">Other</a>
|
|
|
|
<ul class="dropdown-menu">
|
2019-04-03 21:00:05 +00:00
|
|
|
<li><a class="dropdown-item" href="?platform=vcs.mame" id="item_platform_vcs_mame">Atari 2600/VCS (MAME)</a></li>
|
|
|
|
<li><a class="dropdown-item" href="?platform=nes.mame" id="item_platform_nes_mame">NES (MAME)</a></li>
|
2019-04-24 20:56:53 +00:00
|
|
|
<li><a class="dropdown-item" href="?platform=vector-ataricolor" id="item_platform_nes_mame">Atari Color Vector (6502)</a></li>
|
2018-11-22 16:22:54 +00:00
|
|
|
<li><a class="dropdown-item" href="?platform=markdown" id="item_platform_markdown">Markdown</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2018-08-18 12:04:13 +00:00
|
|
|
</ul>
|
2017-05-20 19:13:23 +00:00
|
|
|
</li>
|
2017-01-07 02:09:41 +00:00
|
|
|
</ul>
|
|
|
|
</span>
|
2018-07-02 13:34:20 +00:00
|
|
|
|
2019-05-06 01:49:08 +00:00
|
|
|
<select id="preset_select" name="" title="Project Select" style="width:18em;visibility:hidden">
|
2017-01-07 02:09:41 +00:00
|
|
|
</select>
|
2018-07-02 13:34:20 +00:00
|
|
|
|
2017-04-19 01:18:53 +00:00
|
|
|
<img id="compile_spinner" src="images/spinner.gif" height="20em" style="visibility:hidden;margin-left:8px;margin-right:8px">
|
2019-04-04 02:23:58 +00:00
|
|
|
<span id="toolbar" class="hidden-xs"></span>
|
2018-11-26 12:33:09 +00:00
|
|
|
<span class="btn_group view_group hidden-sm hidden-xs" id="speed_bar" style="display:none">
|
2019-04-02 12:33:13 +00:00
|
|
|
<button id="dbg_slowest" class="btn" title="Slowest"><span class="glyphicon glyphicon-fast-backward" aria-hidden="true"></span></button>
|
|
|
|
<button id="dbg_slower" class="btn" title="Slower"><span class="glyphicon glyphicon-backward" aria-hidden="true"></span></button>
|
2018-09-18 18:09:51 +00:00
|
|
|
<span class="label"><span id="fps_label">60.00</span> fps</span>
|
2019-04-02 12:33:13 +00:00
|
|
|
<button id="dbg_faster" class="btn" title="Faster"><span class="glyphicon glyphicon-forward" aria-hidden="true"></span></button>
|
|
|
|
<button id="dbg_fastest" class="btn" title="Faster"><span class="glyphicon glyphicon-fast-forward" aria-hidden="true"></span></button>
|
2018-09-18 18:09:51 +00:00
|
|
|
</span>
|
2018-09-14 13:10:41 +00:00
|
|
|
<span id="verilog_bar" style="display:none">
|
|
|
|
<span class="label"><span id="settle_label"></span> evals/clk</span>
|
|
|
|
</span>
|
2019-03-03 20:37:22 +00:00
|
|
|
|
2017-12-30 03:12:39 +00:00
|
|
|
<span class="dropdown" style="float:right">
|
2019-04-02 12:33:13 +00:00
|
|
|
<span class="logo-gradient hidden-xs hidden-sm hidden-md">8bitworkshop</span>
|
2018-11-24 22:36:10 +00:00
|
|
|
|
2019-04-02 12:33:13 +00:00
|
|
|
<a class="btn btn-secondary dropdown-toggle hidden-xs" id="booksMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
2018-11-26 21:14:23 +00:00
|
|
|
GET BOOKS <span class="caret"></span>
|
2017-12-30 03:12:39 +00:00
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenuButton">
|
|
|
|
<li>
|
2017-12-30 17:48:30 +00:00
|
|
|
<a class="dropdown-item dropdown-link" target="_book_a2600" href="https://www.amazon.com/gp/product/1541021304/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&tag=pzp-20&camp=1789&creative=9325&linkCode=as2&creativeASIN=B01N4DSRIZ&linkId=04d39e274c06e6c93b93d20a9a977111">
|
2017-12-30 03:12:39 +00:00
|
|
|
<img src="images/book_a2600.png"/>
|
2019-04-02 12:33:13 +00:00
|
|
|
<b>Making Games For The Atari 2600</b>
|
2017-12-30 03:12:39 +00:00
|
|
|
</a>
|
2019-05-07 15:31:33 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-12-30 17:48:30 +00:00
|
|
|
<a class="dropdown-item dropdown-link" target="_book_arcade" href="https://www.amazon.com/gp/product/1545484759/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1545484759&linkCode=as2&tag=pzp-20&linkId=b27709c022d2ebe639e90316d9f4fd5b">
|
2017-12-30 03:12:39 +00:00
|
|
|
<img src="images/book_arcade.png"/>
|
2019-04-02 12:33:13 +00:00
|
|
|
<b>Making 8-bit Arcade Games in C</b>
|
2017-12-30 17:48:30 +00:00
|
|
|
</a>
|
2019-05-07 15:31:33 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-12-17 22:52:26 +00:00
|
|
|
<a class="dropdown-item dropdown-link" target="_book_verilog" href="https://www.amazon.com/gp/product/1728619440/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1728619440&linkCode=as2&tag=pzp-20">
|
2018-12-15 16:10:32 +00:00
|
|
|
<img src="images/book_verilog.png"/>
|
|
|
|
<b>Designing Video Game Hardware in Verilog</b>
|
2017-12-30 03:12:39 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</span>
|
|
|
|
<!--<span id="best_in_firefox" style="display:none;font-size:12px;font-style:italic;float:right;color:#666">Note: Works best in Firefox</span>-->
|
2017-01-07 02:09:41 +00:00
|
|
|
</div>
|
|
|
|
<div id="notebook">
|
2018-11-24 16:33:28 +00:00
|
|
|
<div id="sidebar">
|
|
|
|
<ul id="windowMenuList">
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-04-06 14:28:51 +00:00
|
|
|
<div id="workspace">
|
2016-12-16 01:21:51 +00:00
|
|
|
</div>
|
2019-05-18 15:19:12 +00:00
|
|
|
<div class="emulator disable-select" id="emulator">
|
2018-11-23 18:29:11 +00:00
|
|
|
<div id="replaydiv" class="replaydiv" style="display:none">
|
|
|
|
<div style="display:flex">
|
2019-04-02 12:33:13 +00:00
|
|
|
<button id="replay_min" class="btn" title="Start of replay"><span class="glyphicon glyphicon-fast-backward" aria-hidden="true"></span></button>
|
|
|
|
<button id="replay_back" class="btn" title="Back one frame"><span class="glyphicon glyphicon-backward" aria-hidden="true"></span></button>
|
2018-11-23 18:29:11 +00:00
|
|
|
<span id="replay_frame" style="text-align:center;width:3em;margin-left:1em;color:#ccc">-</span>
|
|
|
|
<input type="range" min="0" max="0" value="0" class="slider" id="replayslider">
|
2019-04-02 12:33:13 +00:00
|
|
|
<button id="replay_fwd" class="btn" title="Ahead one frame"><span class="glyphicon glyphicon-forward" aria-hidden="true"></span></button>
|
|
|
|
<button id="replay_max" class="btn" title="End of replay"><span class="glyphicon glyphicon-fast-forward" aria-hidden="true"></span></button>
|
2018-11-23 18:29:11 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-21 17:06:48 +00:00
|
|
|
<!-- emulator video -->
|
|
|
|
<div id="emuscreen">
|
|
|
|
</div>
|
2019-05-17 04:42:52 +00:00
|
|
|
<!-- control instructions -->
|
2019-05-18 15:19:12 +00:00
|
|
|
<div class="emucontrols-vcs text-center small control-insns" style="display:none">
|
|
|
|
<span class="control-def"><span class="control-key">←↑↓→</span> Joystick</span>
|
|
|
|
<span class="control-def"><span class="control-key small">Space</span> Button</span>
|
|
|
|
</div>
|
|
|
|
<div class="emucontrols-nes text-center small control-insns" style="display:none">
|
2019-05-17 04:42:52 +00:00
|
|
|
<span class="control-def"><span class="control-key">←↑↓→</span> Joypad</span>
|
|
|
|
<span class="control-def"><span class="control-key">X</span> Button A</span>
|
|
|
|
<span class="control-def"><span class="control-key">Z</span> Button B</span>
|
|
|
|
<span class="control-def"><span class="control-key small">Space</span> Select</span>
|
|
|
|
<span class="control-def"><span class="control-key small">Enter</span> Start</span>
|
|
|
|
</div>
|
2019-05-18 15:19:12 +00:00
|
|
|
<div class="emucontrols-vicdual emucontrols-galaxian text-center small control-insns" style="display:none">
|
|
|
|
<span class="control-def"><span class="control-key">←↑↓→</span> Joystick</span>
|
|
|
|
<span class="control-def"><span class="control-key small">Space</span> Button 1</span>
|
|
|
|
<span class="control-def"><span class="control-key small">Shift</span> Button 2</span>
|
|
|
|
<span class="control-def"><span class="control-key">1</span> 1p</span>
|
|
|
|
<span class="control-def"><span class="control-key">2</span> 2p</span>
|
|
|
|
<span class="control-def"><span class="control-key">5</span> Coin</span>
|
|
|
|
</div>
|
|
|
|
<div class="emucontrols-mw8080bw text-center small control-insns" style="display:none">
|
|
|
|
<span class="control-def"><span class="control-key">← →</span> Joystick</span>
|
|
|
|
<span class="control-def"><span class="control-key small">Space</span> Fire</span>
|
|
|
|
</div>
|
|
|
|
<div class="emucontrols-williams text-center small control-insns" style="display:none">
|
|
|
|
<span class="control-def"><span class="control-key">A W S D</span> Move</span>
|
|
|
|
<span class="control-def"><span class="control-key">←↑↓→</span> Fire</span>
|
|
|
|
</div>
|
|
|
|
<!-- -->
|
2018-11-26 21:14:23 +00:00
|
|
|
<div id="javatari-div" style="float:center;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 id="emuoverlay" class="emuoverlay" style="display:none">
|
|
|
|
</div>
|
2017-04-19 01:18:53 +00:00
|
|
|
</div>
|
|
|
|
<div id="mem_info" class="mem_info" style="display:none">
|
|
|
|
</div>
|
2018-09-05 02:28:12 +00:00
|
|
|
<div id="error_alert" class="alert alert-danger alert-dismissable" style="position:absolute;right:0;top:0;display:none">
|
2018-09-15 22:47:40 +00:00
|
|
|
<button type="button" class="close" onclick="$('.alert').hide()" aria-hidden="true">×</button>
|
2018-09-05 02:28:12 +00:00
|
|
|
<div id="error_alert_msg"></div>
|
|
|
|
</div>
|
2016-12-16 01:21:51 +00:00
|
|
|
</div>
|
2018-08-17 02:45:59 +00:00
|
|
|
<!--
|
2016-12-27 02:45:04 +00:00
|
|
|
<div class="twitbtn">
|
2018-08-17 02:45:59 +00:00
|
|
|
<a target="_new" href="https://twitter.com/8bitworkshop" class="twitter-follow-button" data-show-count="false">Follow @8bitworkshop</a>-->
|
2018-05-25 21:14:43 +00:00
|
|
|
<!--<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>-->
|
2018-08-17 02:45:59 +00:00
|
|
|
<!--</div>-->
|
2017-05-25 19:49:30 +00:00
|
|
|
<div id="pleaseWaitModal" class="modal fade">
|
2019-05-14 13:38:11 +00:00
|
|
|
<div class="modal-dialog modal-md" role="document">
|
2017-05-25 19:49:30 +00:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-body">
|
|
|
|
Please wait...
|
2019-05-07 19:37:37 +00:00
|
|
|
<div class="progress">
|
|
|
|
<div class="progress-bar progress-bar-striped active" role="progressbar" id="pleaseWaitProgressBar">
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-25 19:49:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-20 19:13:23 +00:00
|
|
|
<div id="videoPreviewModal" class="modal fade">
|
2019-05-18 22:33:38 +00:00
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
2017-05-20 19:13:23 +00:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h3 class="modal-title">Video Preview - Right-click to save</h3>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<img id="videoPreviewImage">
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-24 03:58:35 +00:00
|
|
|
<div id="embedLinkModal" class="modal fade">
|
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h3 class="modal-title">Share Playable Link</h3>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<p>Here's a direct link to a playable version of your game:</p>
|
|
|
|
<textarea rows="4" cols="80" id="embedLinkTextarea" class="cliptext"></textarea>
|
|
|
|
<button type="button" class="btn btn-primary" data-clipboard-target="#embedLinkTextarea">Copy Direct Link</button>
|
|
|
|
<p>You can also embed it into an IFRAME:</p>
|
|
|
|
<textarea rows="4" cols="80" id="embedIframeTextarea" class="cliptext"></textarea>
|
|
|
|
<button type="button" class="btn btn-primary" data-clipboard-target="#embedIframeTextarea">Copy IFRAME Tag</button>
|
2018-08-25 02:55:16 +00:00
|
|
|
<p id="embedAdviceWarnIE">Note: These links may be too long for IE/Edge browsers.</p>
|
|
|
|
<p id="embedAdviceWarnAll">Note: These links may be too long for some browsers.</p>
|
2018-08-24 03:58:35 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
Choose one (or none) then
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-14 13:38:11 +00:00
|
|
|
<div id="debugExprModal" class="modal fade">
|
|
|
|
<div class="modal-dialog modal-md" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h3 class="modal-title">Break Expression</h3>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<p>Enter a break expression:</p>
|
|
|
|
<p><input id="debugExprInput" size="60"></input></p>
|
|
|
|
<p>Examples:</p>
|
|
|
|
<pre id="debugExprExamples"></pre>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-primary" id="debugExprSubmit">Debug</button>
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-06 01:49:08 +00:00
|
|
|
<div id="importGithubModal" class="modal fade">
|
2019-05-14 13:38:11 +00:00
|
|
|
<div class="modal-dialog modal-md" role="document">
|
2019-03-03 20:37:22 +00:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2019-05-06 01:49:08 +00:00
|
|
|
<h3 class="modal-title">Import Project from GitHub</h3>
|
2019-03-03 20:37:22 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2019-05-06 01:49:08 +00:00
|
|
|
<p>Enter the GitHub repository URL:</p>
|
|
|
|
<p><input id="importGithubURL" size="60" placeholder="https://github.com/user/repo"></input></p>
|
2019-05-10 18:28:09 +00:00
|
|
|
<p>If the project is compatible with 8bitworkshop, it should build automatically.</p>
|
2019-05-20 19:21:38 +00:00
|
|
|
<p>Source files must be in the root folder of the repository.</p>
|
2019-05-06 01:49:08 +00:00
|
|
|
<p><button type="button" class="btn btn-primary" id="importGithubButton">Import Project</button></p>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-07 19:37:37 +00:00
|
|
|
<div id="publishGithubModal" class="modal fade">
|
2019-05-14 13:38:11 +00:00
|
|
|
<div class="modal-dialog modal-md" role="document">
|
2019-05-06 01:49:08 +00:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h3 class="modal-title">Publish Project on GitHub</h3>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2019-05-16 17:04:27 +00:00
|
|
|
<p>This will migrate your existing project to a new GitHub repository.</p>
|
|
|
|
<p>https://github.com/username/ <input id="githubRepoName" size="35" placeholder="Enter a project name"></input></p>
|
|
|
|
<p><input id="githubRepoDesc" size="60" placeholder="Enter a project description"></input></p>
|
2019-05-07 19:37:37 +00:00
|
|
|
<p>Your repository will be <select id="githubRepoPrivate">
|
|
|
|
<option value="public">Public</option>
|
|
|
|
<option value="private">Private</option>
|
|
|
|
</select></p>
|
|
|
|
<p>License: <select id="githubRepoLicense">
|
|
|
|
<option value="">Will decide later</option>
|
2019-05-20 15:38:27 +00:00
|
|
|
<option value="cc0-1.0">CC Zero (public domain, recommended)</option>
|
|
|
|
<option value="mit">MIT (must preserve notices)</option>
|
2019-05-07 19:37:37 +00:00
|
|
|
<option value="cc-by-4.0">CC BY (must attribute)</option>
|
|
|
|
<option value="cc-by-sa-4.0">CC BY-SA (must attribute, use same license)</option>
|
|
|
|
<option value="gpl-3.0">GPL v3 (must publish source)</option>
|
|
|
|
</select></p>
|
|
|
|
<p><button type="button" class="btn btn-primary" id="publishGithubButton">Upload Project</button></p>
|
2019-05-06 01:49:08 +00:00
|
|
|
<p>Your existing file will be moved to a new folder in the IDE.</p>
|
2019-03-03 20:37:22 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-07 19:37:37 +00:00
|
|
|
<div id="pushGithubModal" class="modal fade">
|
2019-05-14 13:38:11 +00:00
|
|
|
<div class="modal-dialog modal-md" role="document">
|
2019-05-07 19:37:37 +00:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h3 class="modal-title">Push Project Changes to GitHub</h3>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<p><input id="githubCommitMsg" size="50" placeholder="Enter a commit message"></input></p>
|
|
|
|
<p><button type="button" class="btn btn-primary" id="pushGithubButton">Push Changes</button></p>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-20 19:13:23 +00:00
|
|
|
|
2019-05-03 13:32:45 +00:00
|
|
|
<script src="jquery/jquery-3.4.1.min.js"></script>
|
2016-12-16 01:21:51 +00:00
|
|
|
|
2016-12-30 23:51:15 +00:00
|
|
|
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
|
|
|
|
<script src="bootstrap/js/bootstrap.min.js"></script>
|
2019-05-12 13:52:09 +00:00
|
|
|
<script src="bootstrap/js/bootbox.all.min.js"></script>
|
2019-05-12 17:33:21 +00:00
|
|
|
<link rel="stylesheet" href="bootstrap-tourist/bootstrap-tourist.css">
|
2019-05-03 21:56:35 +00:00
|
|
|
<script src="bootstrap-tourist/bootstrap-tourist.js"></script>
|
2016-12-18 20:59:31 +00:00
|
|
|
|
2018-07-20 20:55:07 +00:00
|
|
|
<script src="src/codemirror/codemirror.js"></script>
|
2017-01-16 04:47:12 +00:00
|
|
|
<script src="codemirror/mode/clike/clike.js"></script>
|
|
|
|
<script src="codemirror/mode/z80/z80.js"></script>
|
2017-11-11 19:45:32 +00:00
|
|
|
<script src="codemirror/mode/verilog/verilog.js"></script>
|
2018-11-21 16:53:33 +00:00
|
|
|
<script src="codemirror/mode/markdown/markdown.js"></script>
|
|
|
|
<script src="src/codemirror/6502.js"></script>
|
|
|
|
<script src="src/codemirror/bataribasic.js"></script>
|
2016-12-16 01:21:51 +00:00
|
|
|
<link rel="stylesheet" href="css/codemirror.css">
|
2017-01-16 04:47:12 +00:00
|
|
|
<script src="codemirror/addon/edit/matchbrackets.js"></script>
|
2016-12-16 01:21:51 +00:00
|
|
|
<script src="codemirror/addon/search/search.js"></script>
|
|
|
|
<script src="codemirror/addon/search/searchcursor.js"></script>
|
2017-11-20 01:32:58 +00:00
|
|
|
<script src="codemirror/addon/search/jump-to-line.js"></script>
|
2016-12-16 01:21:51 +00:00
|
|
|
<script src="codemirror/addon/dialog/dialog.js"></script>
|
2017-01-08 15:51:19 +00:00
|
|
|
<script src="codemirror/addon/selection/active-line.js"></script>
|
2016-12-16 01:21:51 +00:00
|
|
|
<link rel="stylesheet" href="codemirror/addon/dialog/dialog.css">
|
|
|
|
<script src="javatari.js/release/javatari/javatari.js"></script>
|
2018-08-25 22:01:51 +00:00
|
|
|
<!--
|
|
|
|
<script src="javatari.js/src/main/Javatari.js"></script>
|
|
|
|
<script src="javatari.js/temp/javatari.part.concat.js"></script>
|
|
|
|
-->
|
2019-05-17 03:44:19 +00:00
|
|
|
<script src="src/cpu/z80.js"></script>
|
2019-04-03 20:40:16 +00:00
|
|
|
<script src="jsnes/dist/jsnes.min.js"></script>
|
2019-03-21 01:38:53 +00:00
|
|
|
<script src="src/cpu/6809.js"></script>
|
2018-08-25 22:01:51 +00:00
|
|
|
<!--<script src="jsnes/lib/dynamicaudio-min.js" type="text/javascript" charset="utf-8"></script>-->
|
2017-02-02 19:11:52 +00:00
|
|
|
<script src="FileSaver.js/FileSaver.min.js"></script>
|
2018-06-26 06:56:36 +00:00
|
|
|
<script src="localForage/dist/localforage.nopromises.js"></script>
|
2018-09-12 02:28:30 +00:00
|
|
|
<script src="lib/mousetrap.min.js"></script>
|
2018-09-13 00:54:25 +00:00
|
|
|
<script src="lib/mousetrap-global-bind.min.js"></script>
|
2018-09-12 02:28:30 +00:00
|
|
|
<script src="lib/split.min.js"></script>
|
2017-02-02 19:11:52 +00:00
|
|
|
|
2018-07-08 03:10:51 +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>
|
|
|
|
|
2019-05-08 13:39:57 +00:00
|
|
|
<script src="lib/octokat.js"></script>
|
2018-07-08 03:10:51 +00:00
|
|
|
<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>
|
|
|
|
|
2018-11-19 14:10:13 +00:00
|
|
|
<script src="gen/video/tms9918a.js"></script>
|
2018-08-17 19:13:58 +00:00
|
|
|
<script src="gen/util.js"></script>
|
2018-07-11 00:58:46 +00:00
|
|
|
<script src="gen/store.js"></script>
|
2017-04-19 01:18:53 +00:00
|
|
|
<script src="src/vlist.js"></script>
|
2018-07-11 00:58:46 +00:00
|
|
|
<script src="gen/emu.js"></script>
|
2018-07-11 15:17:37 +00:00
|
|
|
<script src="gen/baseplatform.js"></script>
|
2018-08-17 19:13:58 +00:00
|
|
|
<script src="gen/analysis.js"></script>
|
2018-07-11 00:58:46 +00:00
|
|
|
<script src="gen/audio.js"></script>
|
|
|
|
<script src="gen/cpu/disasm6502.js"></script>
|
2018-08-27 21:31:49 +00:00
|
|
|
<script src="gen/cpu/disasmz80.js"></script>
|
2018-07-08 14:07:19 +00:00
|
|
|
<script src="gen/workertypes.js"></script>
|
2018-07-06 00:13:07 +00:00
|
|
|
<script src="gen/project.js"></script>
|
|
|
|
<script src="gen/windows.js"></script>
|
|
|
|
<script src="gen/views.js"></script>
|
2018-08-22 03:39:34 +00:00
|
|
|
<script src="gen/recorder.js"></script>
|
2018-09-12 02:28:30 +00:00
|
|
|
<script src="gen/waveform.js"></script>
|
2019-03-18 18:39:02 +00:00
|
|
|
<script src="gen/pixed/pixeleditor.js"></script>
|
2019-05-07 19:37:37 +00:00
|
|
|
<script src="gen/services.js"></script>
|
2018-07-08 03:10:51 +00:00
|
|
|
<script src="gen/ui.js"></script>
|
2017-04-20 00:55:13 +00:00
|
|
|
<!-- <script src="src/audio/votrax.js"></script> -->
|
2018-11-26 12:33:09 +00:00
|
|
|
<!-- <script src="local/lzg.js"></script> -->
|
2017-01-25 17:30:05 +00:00
|
|
|
|
2018-11-26 12:33:09 +00:00
|
|
|
<script>
|
|
|
|
// submenus open on click + hover
|
|
|
|
$( ".dropdown-submenu" ).click(function(event) {
|
|
|
|
event.stopPropagation();
|
|
|
|
$(this).parent().siblings().removeClass('open');
|
|
|
|
$(this).parent().toggleClass('open');
|
|
|
|
});
|
|
|
|
</script>
|
2018-08-28 22:11:22 +00:00
|
|
|
|
2017-01-14 16:14:25 +00:00
|
|
|
<script>
|
|
|
|
startUI(true);
|
|
|
|
</script>
|
2016-12-16 01:21:51 +00:00
|
|
|
|
2017-04-29 18:38:50 +00:00
|
|
|
<script>
|
2018-03-23 21:05:08 +00:00
|
|
|
/*
|
2017-04-29 18:38:50 +00:00
|
|
|
var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
|
|
|
|
if (!isFirefox && platform_id != 'vcs') { $("#best_in_firefox").show(); }
|
2018-03-23 21:05:08 +00:00
|
|
|
*/
|
2017-04-29 18:38:50 +00:00
|
|
|
</script>
|
|
|
|
|
2016-12-16 01:21:51 +00:00
|
|
|
</body>
|
|
|
|
</html>
|