Added BACKTRACK support to I/O instructions, so that ATC Disk I/O can be tracked, too

This commit is contained in:
Jeff Parsons 2014-12-29 15:58:26 -08:00 • committed by jeffpar
commit 14a55eb1fa
6 changed files with 111 additions and 21 deletions

View file

@ -2309,7 +2309,7 @@ FDC.prototype.doFormat = function(drive)
FDC.prototype.readByte = function(drive, done)
{
var b = -1;
var obj, off; // these variables are purely for BACKTRACK purposes
var obj = null, off = 0; // these variables are purely for BACKTRACK purposes
if (!drive.resCode && drive.disk) {
do {