Infos
This commit is contained in:
parent
4d9c164092
commit
3cb4fc366c
|
@ -8,6 +8,8 @@ function readfile(path)
|
|||
return new Uint8Array(fs.readFileSync(path)).buffer;
|
||||
}
|
||||
|
||||
console.log("Use F2 to save the state and F3 to restore.");
|
||||
|
||||
var bios = readfile(__dirname + "/../../bios/seabios.bin");
|
||||
var linux = readfile(__dirname + "/../../images/linux.iso");
|
||||
|
||||
|
@ -22,6 +24,8 @@ emulator.add_listener("serial0-output-char", function(chr)
|
|||
process.stdout.write(chr);
|
||||
});
|
||||
|
||||
console.log("Now booting, please stand by ...");
|
||||
|
||||
process.stdin.setRawMode(true);
|
||||
process.stdin.resume();
|
||||
process.stdin.setEncoding("utf8");
|
||||
|
|
Loading…
Reference in a new issue