The great DIP switch rewrite (major pain in the butt, but hopefully helpful for future machines)
I think the DIP switch tables could still be simplified somewhat, but most of the hard work is done now.
This commit is contained in:
parent
c3ad7d4f10
commit
c035b6b379
11 changed files with 495 additions and 262 deletions
|
|
@ -158,7 +158,7 @@ RAM.prototype.powerDown = function(fSave, fShutdown)
|
|||
RAM.prototype.reset = function()
|
||||
{
|
||||
if (!this.addrRAM && !this.fInstalled && this.chipset) {
|
||||
var baseRAM = this.chipset.getSWMemorySize() * 1024;
|
||||
var baseRAM = this.chipset.getDIPMemorySize() * 1024;
|
||||
if (this.sizeRAM && baseRAM != this.sizeRAM) {
|
||||
this.bus.removeMemory(this.addrRAM, this.sizeRAM);
|
||||
this.fAllocated = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue