Compare commits
4 Commits
52b75485c5
...
18f2fc7acf
Author | SHA1 | Date |
---|---|---|
Will Scullin | 18f2fc7acf | |
Will Scullin | 851f19ddfb | |
Will Scullin | e860001ea9 | |
Will Scullin | 64f2a95759 |
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"bracketSpacing": false,
|
||||
"semi": true,
|
||||
"singleQuote": true
|
||||
}
|
|
@ -272,7 +272,8 @@ declare global {
|
|||
|
||||
let _key: byte;
|
||||
function _keydown(evt: KeyboardEvent) {
|
||||
const F1 = 112, F2 = 113;
|
||||
const F1 = 112,
|
||||
F2 = 113;
|
||||
if (evt.keyCode === F1) {
|
||||
cpu.reset();
|
||||
} else if (evt.keyCode === F2) {
|
||||
|
|
|
@ -78,7 +78,7 @@ export class TextPage {
|
|||
}
|
||||
this._col = 0;
|
||||
this._row++;
|
||||
} else {
|
||||
} else if (val >= 0x20) {
|
||||
this._buffer[this._row][this._col] = val;
|
||||
this._col++;
|
||||
if (this._col > 39) {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import * as Apple1 from "./apple1";
|
||||
import * as Apple1 from './apple1';
|
||||
|
||||
window.Apple1 = Apple1;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"build": "webpack --mode=production",
|
||||
"dev": "webpack-dev-server",
|
||||
"lint": "eslint js",
|
||||
"lint-fix": "eslint --fix js",
|
||||
"start": "webpack-dev-server",
|
||||
"test": "jest"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue