Sun 20 Oct 15:08:44 CEST 2024
This commit is contained in:
parent
e15219ecc1
commit
57cf499ad1
27
webv86/web/vm86.html
Normal file
27
webv86/web/vm86.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf8">
|
||||
<title>Emulator</title>
|
||||
<body bgcolor="#101010">
|
||||
|
||||
<div id="screen_container" style="">
|
||||
<div style="white-space: pre; font: 14px monospace; line-height: 14px"></div>
|
||||
<canvas hidden></canvas>
|
||||
</div>
|
||||
|
||||
<script src="libv86.js"></script>
|
||||
<script>
|
||||
var emulator = new V86Starter({
|
||||
wasm_path : "v86.wasm",
|
||||
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