(breaking change) replace *-output-char with *-output-byte (#928)

This commit is contained in:
Robert Aboukhalil 2023-09-20 20:30:35 -07:00 committed by GitHub
parent aa0380cc20
commit 4928c9165d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 42 additions and 25 deletions

View file

@ -60,8 +60,9 @@ window.onload = function()
emulator2.keyboard_set_status(true);
}, false);
emulator1.add_listener("serial0-output-char", function(char)
emulator1.add_listener("serial0-output-byte", function(byte)
{
var char = String.fromCharCode(byte);
emulator2.serial0_send(char);
});
emulator1.add_listener("net0-send", function(data)