Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
dumpCard() notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpar committed Jun 19, 2015
1 parent b87e1db commit 95e0191
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/pcjs/lib/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -2257,6 +2257,10 @@ Card.prototype.dumpCard = function()
*/
}

/*
* TODO: This simply dumps the last value read from the STATUS1 register, not necessarily
* its current state; consider dumping getRetraceBits() instead of (or in addition to) this.
*/
this.dumpRegs(" STATUS1", this.regStatus);

if (this.nCard == Video.CARD.MDA || this.nCard == Video.CARD.CGA) {
Expand Down

0 comments on commit 95e0191

Please sign in to comment.