Disable xterm.js logging
This commit is contained in:
parent
4e6d925ee3
commit
659729aed1
|
@ -217,8 +217,11 @@ function SerialRecordingAdapter(bus)
|
|||
function SerialAdapterXtermJS(element, bus)
|
||||
{
|
||||
const serial = this;
|
||||
|
||||
var term = new window["Terminal"]();
|
||||
term.open(document.getElementById("terminal"));
|
||||
term["setOption"]("logLevel", "off");
|
||||
|
||||
element.style.display = "none";
|
||||
term["onData"](function(data) {
|
||||
bus.send("serial0-input", data.charCodeAt(0));
|
||||
|
|
|
@ -218,7 +218,10 @@ function VGAScreen(cpu, bus, vga_memory_size)
|
|||
io.register_read(0x3CC, this, this.port3CC_read);
|
||||
|
||||
io.register_write_consecutive(0x3D4, this, this.port3D4_write, this.port3D5_write);
|
||||
io.register_read(0x3D5, this, this.port3D5_read);
|
||||
io.register_read(0x3D5, this, this.port3D5_read, () => {
|
||||
dbg_log("Warning: 16-bit read from 3D5", LOG_VGA);
|
||||
return this.port3D5_read();
|
||||
});
|
||||
|
||||
io.register_read(0x3D4, this, function() { dbg_log("3D4 read", LOG_VGA); return 0; });
|
||||
io.register_read(0x3CA, this, function() { dbg_log("3CA read", LOG_VGA); return 0; });
|
||||
|
|
Loading…
Reference in a new issue