From 77b7ebc85cf92c4e7a6b9a4516461b63eeda3450 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Sat, 29 Aug 2015 15:27:53 -0700 Subject: [PATCH] Fixed save/restore (hopefully) when A20 is off, as well as when HDC I/O is in progress (although the latter needs more testing) --- modules/pcjs/lib/hdc.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/pcjs/lib/hdc.js b/modules/pcjs/lib/hdc.js index 3a97afa14..c4f1380ba 100644 --- a/modules/pcjs/lib/hdc.js +++ b/modules/pcjs/lib/hdc.js @@ -683,6 +683,10 @@ HDC.prototype.initController = function(data, fHard) var i = 0; var fSuccess = true; + /* + * TODO: This is used to re-select the controller's active drive whenever the machine is restored, but alas, + * we currently only update it and save it for the ATC, not the XTC. + */ this.iDrive = -1; /*