Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgodbolt committed Aug 4, 2024
1 parent 8610821 commit 40d30ce
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
1 change: 0 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@
}
]
}

7 changes: 4 additions & 3 deletions 6502.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,14 @@ class Base6502 {
return this.readmemZpStack(0x100 + this.s);
}

get nmi() { return this._nmiLevel; }
get nmi() {
return this._nmiLevel;
}

NMI(nmi) {
const prevLevel = this._nmiLevel;
this._nmiLevel = !!nmi;
if (this._nmiLevel && !prevLevel)
this._nmiEdge = true;
if (this._nmiLevel && !prevLevel) this._nmiEdge = true;
}

polltime() {
Expand Down
2 changes: 1 addition & 1 deletion disc-drive.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class DiscDrive extends EventTarget {

/**
* Create a new DiscDrive.
*
*
* @param {Number} id which drive id this is (0 or 1)
* @param {Scheduler} scheduler scheduler to register callbacks etc
*/
Expand Down
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
<hr />
</div>
<li>
<a href="#download-drive" class="dropdown-item" id="download-drive-link">Download drive 0 image as SSD/DSD</a>
<a href="#download-drive" class="dropdown-item" id="download-drive-link"
>Download drive 0 image as SSD/DSD</a
>
</li>
</ul>
</li>
Expand Down Expand Up @@ -507,8 +509,8 @@ <h5 class="modal-title" id="discModalLabel">Load disc image</h5>
<a href="#"><span class="name"></span></a> - <span class="description"></span>
</li>
</ul>
To load a custom disc image, get an SSD, DSD, HFE, ADF, ADM or ADL file and load it below. Search the web, or
check somewhere like
To load a custom disc image, get an SSD, DSD, HFE, ADF, ADM or ADL file and load it below. Search the web,
or check somewhere like
<a href="http://www.bbcmicrogames.com/GettingStarted.html">here</a> for these. Be aware the images are
usually stored in a ZIP file, and you'll need to unzip first.
<div class="disc">
Expand Down
1 change: 0 additions & 1 deletion lib/webgl-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,6 @@ function makeLostContextSimulatingCanvas(canvas) {
restoreTimeout_ = timeout;
};


function clearErrors() {
var k = Object.keys(glErrorShadow_);
for (var ii = 0; ii < k.length; ++ii) {
Expand Down

0 comments on commit 40d30ce

Please sign in to comment.