Disk updates (including COMPAQ MS-DOS 3.00)

This commit is contained in:
Jeff Parsons 2016-05-04 12:46:39 -07:00
commit 2b6dc0153f
14 changed files with 307 additions and 190 deletions

View file

@ -433,7 +433,9 @@ Bus.prototype.addMemory = function(addr, size, type, controller)
* to warrant it.
*/
this.cpu.flushPageBlocks();
this.status(Math.floor(size / 1024) + "Kb " + Memory.TYPE.NAMES[type] + " at " + str.toHex(addr));
if (!this.cpu.isRunning()) { // allocation messages at "run time" are bit too much
this.status(Math.floor(size / 1024) + "Kb " + Memory.TYPE.NAMES[type] + " at " + str.toHex(addr));
}
return true;
}
return this.reportError(Bus.ERROR.ADD_MEM_BADRANGE, addr, size);