Mon 9 Dec 23:50:44 CET 2024
This commit is contained in:
parent
3a52f4ec34
commit
43d22c860d
|
@ -1,27 +1,41 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf8">
|
<head>
|
||||||
<title>Emulator</title>
|
<meta charset="utf8">
|
||||||
|
<title>Emulator</title>
|
||||||
|
<script src="jquery-3.3.1.min.js"></script>
|
||||||
|
<script src="jquery.terminal.min.js"></script>
|
||||||
|
<link rel="stylesheet" href="jquery.terminal.min.css" />
|
||||||
|
<style>
|
||||||
|
canvas {
|
||||||
|
padding:10px;
|
||||||
|
transform: scale(1,1.1);
|
||||||
|
transform-origin: 0% 0% 0px;
|
||||||
|
}
|
||||||
|
.container {
|
||||||
|
}
|
||||||
|
.terminal,span,.cmd,div {
|
||||||
|
}
|
||||||
|
.terminal, span {
|
||||||
|
--size: 1.2;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
<body bgcolor="#101010">
|
<body bgcolor="#101010">
|
||||||
|
|
||||||
<div id="screen_container" style="">
|
<div id="screen_container" class="container" style="">
|
||||||
<div style="white-space: pre; font: 14px monospace; line-height: 14px"></div>
|
<table cellpadding="0" cellspacing="0" style="width:auto"><tr>
|
||||||
<canvas hidden></canvas>
|
<td id="vmcell" style="vertical-align:top;">
|
||||||
|
<div style="white-space: pre; font: 14px monospace; line-height: 14px"></div>
|
||||||
|
<canvas id="video" hidden style=""></canvas>
|
||||||
|
</td>
|
||||||
|
<td style="vertical-align:top;">
|
||||||
|
<div id="debugger" style="width:500px;overflow:auto;border: 1px solid white"></div>
|
||||||
|
<div id="terminal" style="width:500px;overflow:auto;border: 1px solid white"></div>
|
||||||
|
</td>
|
||||||
|
</tr></table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="libv86.js"></script>
|
<script src="libv86-debug.js"></script>
|
||||||
<script>
|
<script src="app.js"></script>
|
||||||
var emulator = new V86Starter({
|
</body>
|
||||||
wasm_path : "v86.wasm",
|
</html>
|
||||||
memory_size : 64 * 1024 * 1024, // 64 MB memory ought to be enough for anyone
|
|
||||||
vga_memory_size : 2 * 1024 * 1024,
|
|
||||||
screen_container : screen_container,
|
|
||||||
bios : {url: "seabios.bin"},
|
|
||||||
vga_bios : {url: "vgabios.bin"},
|
|
||||||
cdrom : {url: "basekernel.iso"},
|
|
||||||
hda : {
|
|
||||||
buffer: new Uint8Array(16*1024*1024).buffer
|
|
||||||
},
|
|
||||||
boot_order : 0x123,
|
|
||||||
autostart : true
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user