Converted all "short" references to "word", since word meant 16-bit in the PDP-11 world, and no one said short back then

This commit is contained in:
Jeff 2016-09-26 08:53:35 -07:00 • committed by Jeff Parsons
commit a4613082f8
6 changed files with 328 additions and 337 deletions

View file

@ -979,7 +979,7 @@ CPUStatePDP11.prototype.readWordFromPhysical = function(physicalAddress)
// return this.bus.access_iopage(physicalAddress, -1, 0);
// } else {
if (physicalAddress >= 0) {
return this.bus.getShort(physicalAddress);
return this.bus.getWord(physicalAddress);
}
// }
}
@ -1015,7 +1015,7 @@ CPUStatePDP11.prototype.writeWordToPhysical = function(physicalAddress, data)
// return this.bus.access_iopage(physicalAddress, data, 0);
// } else {
if (physicalAddress >= 0) {
this.bus.setShort(physicalAddress, data);
this.bus.setWord(physicalAddress, data);
return data;
}
// }