Fixed save/restore (hopefully) when A20 is off, as well as when HDC I/O is in progress (although the latter needs more testing)

This commit is contained in:
Jeff Parsons 2015-08-29 15:22:36 -07:00
commit 63121a1768
6 changed files with 99 additions and 57 deletions

View file

@ -5186,7 +5186,7 @@ if (DEBUGGER) {
* doClear(sCmd)
*
* @this {Debugger}
* @param {string} sCmd (eg, "cls" or "clear")
* @param {string} [sCmd] (eg, "cls" or "clear")
*/
Debugger.prototype.doClear = function(sCmd)
{
@ -5251,6 +5251,7 @@ if (DEBUGGER) {
*/
console.log(s);
} else {
this.doClear();
this.println(s);
}
return;
@ -5728,6 +5729,7 @@ if (DEBUGGER) {
* "biggest" being that the large disk images really need to be compressed first, because they
* get "inflated" with use. See the dump() method in the Disk component for more details.
*/
this.doClear();
this.println(drive.disk.toJSON());
return;
}