mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
(breaking change) replace *-output-char with *-output-byte (#928)
This commit is contained in:
parent
aa0380cc20
commit
4928c9165d
19 changed files with 42 additions and 25 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue