mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-04-06 17:39:40 +00:00
fixed nesasm3 error parsing; started github republish
This commit is contained in:
parent
95b5e797bc
commit
80c02a98d5
@ -161,6 +161,7 @@ TODO:
|
||||
- support projects with subdirectories, file list?
|
||||
- switching platform of a repo?
|
||||
- make sure to flatten subdirs
|
||||
- re-publish repo (bug: doesn't put all files in local repo after publishing)
|
||||
- astrocade
|
||||
- keyboard shortcuts
|
||||
- ctrl+alt+l on ubuntu locks screen
|
||||
|
@ -147,9 +147,10 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
|
||||
<a tabindex="-1" href="#">Game Consoles</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="?platform=vcs">Atari 2600</a></li>
|
||||
<li><a class="dropdown-item" href="?platform=nes">NES</a></li>
|
||||
<hr>
|
||||
<li><a class="dropdown-item" href="?platform=astrocade">Bally Astrocade</a></li>
|
||||
<li><a class="dropdown-item" href="?platform=coleco">ColecoVision</a></li>
|
||||
<li><a class="dropdown-item" href="?platform=nes">NES</a></li>
|
||||
<li><a class="dropdown-item" href="?platform=sms-sg1000-libcv">Sega SG-1000</a></li>
|
||||
<li><a class="dropdown-item" href="?platform=sms-sms-libcv">Sega Master System</a></li>
|
||||
<li><a class="dropdown-item" href="?platform=atari7800">Atari 7800</a></li>
|
||||
|
@ -509,8 +509,8 @@ function _importProjectFromGithub(e) {
|
||||
|
||||
function _publishProjectToGithub(e) {
|
||||
if (repo_id) {
|
||||
alertError("This project (" + current_project.mainPath + ") is already bound to a Github repository. Choose 'Push Changes' to update.");
|
||||
return;
|
||||
if (!confirm("This project (" + current_project.mainPath + ") is already bound to a Github repository. Do you want to re-publish to a new repository? (You can instead choose 'Push Changes' to update files in the existing repository.)"))
|
||||
return;
|
||||
}
|
||||
var modal = $("#publishGithubModal");
|
||||
var btn = $("#publishGithubButton");
|
||||
|
@ -2055,10 +2055,10 @@ function assembleXASM6809(step:BuildStep) {
|
||||
// http://www.nespowerpak.com/nesasm/
|
||||
function assembleNESASM(step:BuildStep) {
|
||||
loadNative("nesasm");
|
||||
var re_filename = /[#](\d+)\s+(\S+)/;
|
||||
var re_filename = /\#\[(\d+)\]\s+(\S+)/;
|
||||
var re_insn = /\s+(\d+)\s+([0-9A-F]+):([0-9A-F]+)/;
|
||||
var re_error = /\s+(.+)/;
|
||||
var errors = [];
|
||||
var errors : WorkerError[] = [];
|
||||
var state = 0;
|
||||
var lineno = 0;
|
||||
var filename;
|
||||
@ -2079,7 +2079,7 @@ function assembleNESASM(step:BuildStep) {
|
||||
case 1:
|
||||
m = re_error.exec(s);
|
||||
if (m) {
|
||||
errors.push({line:lineno, msg:m[1]});
|
||||
errors.push({path:filename, line:lineno, msg:m[1]});
|
||||
state = 0;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user