2021-07-12 17:29:50 +00:00
|
|
|
--- index.html 2021-07-11 18:38:37.000000000 -0500
|
2021-07-10 19:28:02 +00:00
|
|
|
+++ electron.html 2021-07-10 13:34:48.000000000 -0500
|
2020-08-27 01:42:18 +00:00
|
|
|
@@ -3,18 +3,7 @@
|
2020-08-11 17:29:31 +00:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>8bitworkshop IDE</title>
|
|
|
|
-<link rel="manifest" href="manifest.json">
|
2020-12-08 17:58:40 +00:00
|
|
|
-<meta name="googlebot" content="noindex" />
|
2020-08-11 17:29:31 +00:00
|
|
|
-<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">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes">
|
2020-08-27 01:42:18 +00:00
|
|
|
-<link rel="apple-touch-icon" href="/images/icon.png">
|
2020-08-11 17:29:31 +00:00
|
|
|
<style type="text/css" media="screen">
|
|
|
|
body {
|
2020-08-27 01:42:18 +00:00
|
|
|
overflow: hidden;
|
2020-12-08 17:58:40 +00:00
|
|
|
@@ -22,22 +11,6 @@
|
2020-08-11 17:29:31 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<link rel="stylesheet" href="css/ui.css">
|
|
|
|
-
|
|
|
|
-<!-- 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);
|
|
|
|
-}
|
|
|
|
-</script>
|
|
|
|
-<script async src='https://www.google-analytics.com/analytics.js'></script>
|
|
|
|
-
|
|
|
|
-<!-- firebase libs -->
|
2021-04-29 20:25:29 +00:00
|
|
|
-<script defer src="https://www.gstatic.com/firebasejs/8.3.2/firebase-app.js"></script>
|
|
|
|
-<script defer src="https://www.gstatic.com/firebasejs/8.3.2/firebase-auth.js"></script>
|
2020-08-11 17:29:31 +00:00
|
|
|
-<script defer src="config.js"></script>
|
|
|
|
-
|
2020-12-08 17:58:40 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2020-08-11 17:29:31 +00:00
|
|
|
|
2020-12-08 17:58:40 +00:00
|
|
|
@@ -65,26 +38,6 @@
|
2020-08-11 17:29:31 +00:00
|
|
|
<hr>
|
|
|
|
<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>
|
|
|
|
- <hr>
|
|
|
|
- <!--
|
|
|
|
- <li><a class="dropdown-item" href="#" id="item_switch_https" style="display:none">Switch to HTTPS...</a></li>
|
|
|
|
- -->
|
|
|
|
- <li><a class="dropdown-item" href="#" id="item_request_persist">Request Local Storage Permissions</a></li>
|
|
|
|
- </ul>
|
|
|
|
- </li>
|
|
|
|
- <li class="dropdown dropdown-submenu">
|
|
|
|
- <a tabindex="-1" href="#">Sync</a>
|
|
|
|
- <ul class="dropdown-menu">
|
|
|
|
- <li><a class="dropdown-item" href="#" id="item_github_login">Sign in to Github...</a></li>
|
|
|
|
- <li><a class="dropdown-item" href="#" id="item_github_logout">Log out</a></li>
|
|
|
|
- <hr>
|
|
|
|
- <li><a class="dropdown-item" href="#" id="item_github_import">Import Project from GitHub...</a></li>
|
|
|
|
- <li><a class="dropdown-item" href="#" id="item_github_pull">Pull Latest from Repository</a></li>
|
|
|
|
- <hr>
|
|
|
|
- <li><a class="dropdown-item" href="#" id="item_github_publish">Publish Project on GitHub...</a></li>
|
|
|
|
- <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_repo_delete">Delete Local Repository...</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown dropdown-submenu">
|
2021-07-12 17:29:50 +00:00
|
|
|
@@ -110,35 +63,6 @@
|
2020-08-11 17:29:31 +00:00
|
|
|
<li><a class="dropdown-item" href="#" id="item_debug_expr">Break Expression...</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
- <li class="dropdown dropdown-submenu">
|
|
|
|
- <a tabindex="-1" href="#">Tools</a>
|
|
|
|
- <ul class="dropdown-menu">
|
|
|
|
- <li><a class="dropdown-item" target="_8bws_tools" href="https://8bitworkshop.com/dithertron/">Dithertron Image Converter</a></li>
|
|
|
|
- <li><a class="dropdown-item" target="_8bws_tools" href="https://8bitworkshop.com/bitmapfontgenerator/">Bitmap Font Generator</a></li>
|
|
|
|
- <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</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>
|
|
|
|
- </ul>
|
|
|
|
- </li>
|
|
|
|
- <hr>
|
|
|
|
- <li class="dropdown dropdown-submenu">
|
|
|
|
- <a tabindex="-1" href="#">About</a>
|
|
|
|
- <ul class="dropdown-menu">
|
2021-07-12 17:29:50 +00:00
|
|
|
- <li><a class="dropdown-item" target="_8bws_about" href="https://8bitworkshop.com/">Website</a></li>
|
2020-08-11 17:29:31 +00:00
|
|
|
- <li><a class="dropdown-item" target="_8bws_about" href="https://twitter.com/8bitworkshop">Twitter</a></li>
|
2021-07-12 17:29:50 +00:00
|
|
|
- <li><a class="dropdown-item" target="_8bws_about" href="https://8bitworkshop.com/docs/blog.html">Latest News</a></li>
|
2020-08-11 17:29:31 +00:00
|
|
|
- <li><a class="dropdown-item" target="_8bws_about" href="https://github.com/sehugg/8bitworkshop/issues/new">Report an Issue</a></li>
|
2021-07-12 17:29:50 +00:00
|
|
|
- <li><a class="dropdown-item" target="_8bws_about" href="https://8bitworkshop.com/docs/docs/ide.html">User Manual</a></li>
|
2020-08-11 17:29:31 +00:00
|
|
|
- </ul>
|
|
|
|
- </li>
|
|
|
|
- <!--
|
|
|
|
- <hr><li><a class="dropdown-item" href="/redir.html">Use Latest Version</a></li>
|
|
|
|
- -->
|
|
|
|
</ul>
|
|
|
|
</span>
|
|
|
|
|
2021-07-12 17:29:50 +00:00
|
|
|
@@ -234,41 +158,8 @@
|
2020-08-11 17:29:31 +00:00
|
|
|
<span class="label"><span id="settle_label"></span> evals/clk</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
- <!-- BOOKS menu -->
|
|
|
|
- <span class="dropdown pull-right">
|
2020-12-08 17:58:40 +00:00
|
|
|
- <a class="btn dropdown-toggle hidden-xs hiddem-sm toolbarMenuButton" id="booksMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
2020-08-11 17:29:31 +00:00
|
|
|
- <span class="glyphicon glyphicon-book" aria-hidden="true"></span>
|
2020-12-08 17:58:40 +00:00
|
|
|
- Books <span class="caret"></span>
|
2020-08-11 17:29:31 +00:00
|
|
|
- </a>
|
|
|
|
- <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="booksMenuButton">
|
|
|
|
- <li>
|
|
|
|
- <a class="dropdown-item dropdown-link book-vcs" 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">
|
|
|
|
- <img src="images/book_a2600.png"/>
|
|
|
|
- <span class="book-title">Making Games For The Atari 2600</span>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a class="dropdown-item dropdown-link book-arcade" 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">
|
|
|
|
- <img src="images/book_arcade.png"/>
|
|
|
|
- <span class="book-title">Making 8-bit Arcade Games in C</span>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a class="dropdown-item dropdown-link book-verilog" 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&linkId=7237a25861cb6b49a4128ba53d84c3e2">
|
|
|
|
- <img src="images/book_verilog.png"/>
|
|
|
|
- <span class="book-title">Designing Video Game Hardware in Verilog</span>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a class="dropdown-item dropdown-link book-nes" target="_book_nes" href="https://www.amazon.com/gp/product/1075952727/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1075952727&linkCode=as2&tag=pzp-20&linkId=633176e8b36fea7f927020e2c322d80a">
|
|
|
|
- <img src="images/book_nes.png"/>
|
|
|
|
- <span class="book-title">Making Games For The NES</span>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- </ul>
|
|
|
|
- </span>
|
|
|
|
<!-- 8bitworkshop logo -->
|
2020-12-08 17:58:40 +00:00
|
|
|
- <span class="logo-gradient hidden-xs hidden-sm pull-right" style="margin-left:auto" onclick="window.open('/','_8bitws');">8bitworkshop</span>
|
|
|
|
+ <span class="logo-gradient hidden-xs hidden-sm hidden-md pull-right" style="margin-left:auto" onclick="window.open('/','_8bitws');">8bitworkshop</span>
|
2020-08-11 17:29:31 +00:00
|
|
|
|
2020-12-08 17:58:40 +00:00
|
|
|
</div><!-- controls_dynamic -->
|
|
|
|
</div><!-- controls_top -->
|
2021-07-12 17:29:50 +00:00
|
|
|
@@ -452,73 +343,6 @@
|
2020-08-11 17:29:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
-<div id="importGithubModal" class="modal fade">
|
|
|
|
- <div class="modal-dialog modal-md" role="document">
|
|
|
|
- <div class="modal-content">
|
|
|
|
- <div class="modal-header">
|
|
|
|
- <h3 class="modal-title">Import Project from GitHub</h3>
|
|
|
|
- </div>
|
|
|
|
- <div class="modal-body">
|
|
|
|
- <p>Enter the GitHub repository URL:</p>
|
|
|
|
- <p><input id="importGithubURL" size="60" placeholder="https://github.com/user/repo"></input></p>
|
|
|
|
- <p>If the project is compatible with 8bitworkshop, it should build automatically.</p>
|
|
|
|
- <p>Otherwise, some work may be required -- make sure you've selected the correct platform.</p>
|
|
|
|
- <p>Source files must be in the root folder of the repository.</p>
|
|
|
|
- <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>
|
|
|
|
-<div id="publishGithubModal" class="modal fade">
|
|
|
|
- <div class="modal-dialog modal-md" role="document">
|
|
|
|
- <div class="modal-content">
|
|
|
|
- <div class="modal-header">
|
|
|
|
- <h3 class="modal-title">Publish Project on GitHub</h3>
|
|
|
|
- </div>
|
|
|
|
- <div class="modal-body">
|
|
|
|
- <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>
|
|
|
|
- <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 / all rights reserved</option>
|
|
|
|
- <option value="cc0-1.0">CC Zero (public domain, remix-friendly)</option>
|
|
|
|
- <option value="mit">MIT (must preserve notices)</option>
|
|
|
|
- <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>
|
|
|
|
- <p>Your existing file will be moved to a new folder in the IDE.</p>
|
|
|
|
- </div>
|
|
|
|
- <div class="modal-footer">
|
|
|
|
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-</div>
|
|
|
|
-<div id="pushGithubModal" class="modal fade">
|
|
|
|
- <div class="modal-dialog modal-md" role="document">
|
|
|
|
- <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>
|
|
|
|
|
|
|
|
<script src="jquery/jquery.min.js"></script>
|
|
|
|
|
2021-07-12 17:29:50 +00:00
|
|
|
@@ -613,28 +437,5 @@
|
2021-07-10 19:28:02 +00:00
|
|
|
startUI();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
-<!-- Sentry error reporting -->
|
|
|
|
-<script
|
|
|
|
- src="https://browser.sentry-cdn.com/6.4.1/bundle.min.js"
|
|
|
|
- integrity="sha384-THoc7rflwZFKTdZNgv6jLFFDn299Uv3t1SW5B4yGLvLiCRTYP9ys6vXZcMl95TQF"
|
|
|
|
- crossorigin="anonymous"
|
|
|
|
-></script>
|
|
|
|
-<script>
|
|
|
|
-Sentry.init({
|
|
|
|
- dsn: 'https://bf329df3d1b34afa9f5b5e8ecd80ad11@o320878.ingest.sentry.io/1813925',
|
|
|
|
- beforeBreadcrumb(breadcrumb, hint) {
|
|
|
|
- if (breadcrumb.category === 'xhr' && typeof breadcrumb.data.url === 'string') {
|
|
|
|
- if (breadcrumb.data.url.startsWith('http')) return null; // discard external scripts
|
|
|
|
- }
|
|
|
|
- return breadcrumb;
|
|
|
|
- },
|
|
|
|
- beforeSend(event, hint) {
|
|
|
|
- const error = hint.originalException;
|
|
|
|
- if (error instanceof EmuHalt) return null; // ignore EmuHalt
|
|
|
|
- return event;
|
|
|
|
- },
|
|
|
|
-});
|
|
|
|
-</script>
|
|
|
|
-
|
|
|
|
</body>
|
|
|
|
</html>
|