Selected OS/2 1.0 boot configs operational now

This commit is contained in:
Jeff Parsons 2014-12-04 20:18:42 -08:00 committed by jeffpar
commit 69539abc1e
41 changed files with 2002 additions and 1955 deletions

View file

@ -4644,6 +4644,44 @@ ChipSet.prototype.outNMI = function(port, bOut, addrFrom)
this.bNMI = bOut;
};
/**
* outCoprocClear(port, bOut, addrFrom)
*
* This handler is installed only for MODEL_5170.
*
* @this {ChipSet}
* @param {number} port (0xF0)
* @param {number} bOut (0x00 is the only expected output)
* @param {number} [addrFrom] (not defined if the Debugger is trying to write the specified port)
*/
ChipSet.prototype.outCoprocClear = function(port, bOut, addrFrom)
{
/*
* TODO: Implement
*/
this.messagePort(port, bOut, addrFrom, "COPROC.CLEAR");
this.assert(!bOut);
};
/**
* outCoprocReset(port, bOut, addrFrom)
*
* This handler is installed only for MODEL_5170.
*
* @this {ChipSet}
* @param {number} port (0xF1)
* @param {number} bOut (0x00 is the only expected output)
* @param {number} [addrFrom] (not defined if the Debugger is trying to write the specified port)
*/
ChipSet.prototype.outCoprocReset = function(port, bOut, addrFrom)
{
/*
* TODO: Implement
*/
this.messagePort(port, bOut, addrFrom, "COPROC.RESET");
this.assert(!bOut);
};
/**
* intBIOSRTC(addr)
*
@ -4939,7 +4977,9 @@ ChipSet.aPortOutput5170 = {
0xD4: /** @this {ChipSet} */ function(port, bOut, addrFrom) { this.outDMAMask(ChipSet.DMA1.INDEX, port, bOut, addrFrom); },
0xD6: /** @this {ChipSet} */ function(port, bOut, addrFrom) { this.outDMAMode(ChipSet.DMA1.INDEX, port, bOut, addrFrom); },
0xD8: /** @this {ChipSet} */ function(port, bOut, addrFrom) { this.outDMAResetFF(ChipSet.DMA1.INDEX, port, bOut, addrFrom); },
0xDA: /** @this {ChipSet} */ function(port, bOut, addrFrom) { this.outDMAMasterClear(ChipSet.DMA1.INDEX, port, bOut, addrFrom); }
0xDA: /** @this {ChipSet} */ function(port, bOut, addrFrom) { this.outDMAMasterClear(ChipSet.DMA1.INDEX, port, bOut, addrFrom); },
0xF0: ChipSet.prototype.outCoprocClear,
0xF1: ChipSet.prototype.outCoprocReset
};
/**

View file

@ -649,10 +649,10 @@ Component.prototype = {
return function printPanel(s, type) {
s = (type !== undefined? (type + ": ") : "") + (s || "");
/*
* In COMPILED builds, prevent the <textarea> from getting too large;
* In all but MAXDEBUG builds, prevent the <textarea> from getting too large;
* otherwise, printing becomes slower and slower.
*/
if (COMPILED) {
if (!MAXDEBUG) {
if (control.value.length > 8192) {
control.value = control.value.substr(control.value.length - 4096);
}