-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
3,249 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
.PHONY: lint test | ||
.PHONY: lint test bundle | ||
|
||
lint: | ||
# jshint uses .jshintignore and .jshintrc | ||
jshint . | ||
|
||
test: | ||
npm test | ||
|
||
bundle: | ||
browserify src/bundleMain.js --s js8080sim -o js8080simBundle.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!doctype html> | ||
<style> | ||
#spacerheader { | ||
width: 60px; | ||
} | ||
th, td { | ||
text-align: left; | ||
padding-left: 15px; | ||
} | ||
.stored { | ||
background-color: #d4eed4; | ||
} | ||
#status { | ||
width: 240px; | ||
} | ||
</style> | ||
|
||
<body> | ||
<table> | ||
<tr> | ||
<td><button id="run">Run code</button></td> | ||
<td><div id="status"></div></td> | ||
<td><button id="clear">Clear</button></td> | ||
</tr> | ||
</table> | ||
<hr/> | ||
<table id="codetable"> | ||
<tr> | ||
<th>Addr</th> | ||
<th>RAM</th> | ||
<th id="spacerheader"></th> | ||
<th>Result</th> | ||
</tr> | ||
</table> | ||
<script src="js8080simBundle.js"></script> | ||
</body> |
Oops, something went wrong.