MODEL_5170_REV3 boots without errors now
However, performance will suffer until I can implement RTC interrupts; also, there may be a problem exposed by the BIOS memory test following a soft reset
This commit is contained in:
parent
093099d980
commit
997db9787b
15 changed files with 1557 additions and 1282 deletions
|
|
@ -1968,10 +1968,10 @@ Video.prototype.intBIOSVideo = function(addr)
|
|||
if (DEBUGGER) {
|
||||
if (this.dbg && this.dbg.messageEnabled(this.dbg.MESSAGE_VIDEO)) {
|
||||
this.dbg.message("Video.intBIOS(AX=" + str.toHexWord(this.cpu.regAX) + ") at " + str.toHexAddr(addr - this.cpu.segCS.base, this.cpu.segCS.sel));
|
||||
// this.cpu.haltCPU();
|
||||
this.cpu.addInterruptReturn(addr, function (video, nCycles) {
|
||||
return function onBIOSVideoReturn(nLevel) {
|
||||
video.intBIOSVideoReturn(nCycles, nLevel);
|
||||
nCycles = video.cpu.getCycles() - nCycles;
|
||||
video.messageDebugger("Video.intBIOSReturn(" + nLevel + ") (cycles=" + nCycles + ")");
|
||||
};
|
||||
}(this, this.cpu.getCycles()));
|
||||
}
|
||||
|
|
@ -1979,22 +1979,6 @@ Video.prototype.intBIOSVideo = function(addr)
|
|||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
* intBIOSVideoReturn(nCycles, nLevel)
|
||||
*
|
||||
* @this {Video}
|
||||
* @param {number} nCycles
|
||||
* @param {number} nLevel
|
||||
*/
|
||||
Video.prototype.intBIOSVideoReturn = function(nCycles, nLevel)
|
||||
{
|
||||
if (DEBUGGER) {
|
||||
nCycles = this.cpu.getCycles() - nCycles;
|
||||
this.messageDebugger("Video.intBIOSReturn(" + nLevel + ") (cycles=" + nCycles + ")");
|
||||
// if (DEBUG && nCycles > 10000) this.cpu.haltCPU();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* setBinding(sHTMLClass, sHTMLType, sBinding, control)
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue