Fixed AT&T 6300 keyboard controller

This commit is contained in:
Jeff Parsons 2016-03-22 22:27:56 -07:00
commit fec1440718
7 changed files with 2296 additions and 2248 deletions

View file

@ -197,7 +197,7 @@ RAM.prototype.reset = function()
*
* See CompaqController for more details.
*/
if (COMPAQ386) {
if (DESKPRO386) {
if (this.idComponent == "ramCPQ") {
this.controller = new CompaqController(this);
this.bus.addMemory(CompaqController.ADDR, 4, Memory.TYPE.CTRL, this.controller);
@ -218,7 +218,7 @@ RAM.prototype.reset = function()
* Don't add the "ramCPQ" memory to the CMOS total, because addCMOSMemory() will add it to the extended
* memory total, which will just confuse the COMPAQ BIOS.
*/
if (!COMPAQ386 || this.idComponent != "ramCPQ") {
if (!DESKPRO386 || this.idComponent != "ramCPQ") {
if (this.chipset) this.chipset.addCMOSMemory(this.addrRAM, this.sizeRAM);
}
} else {