FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
v86/examples/basic.html at master · blacknode/v86 · GitHub
blacknode
/
v86
Public
forked from
copy/v86
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
v86
/
examples
/
basic.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (29 loc) · 861 Bytes
Breadcrumbs
v86
/
examples
/
basic.html
Copy path
File metadata and controls
32 lines (29 loc) · 861 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!doctype html
>
<
title
>
Basic Emulator
</
title
>
<!-- not BASIC! -->
<
script
src
="
../build/libv86.js
"
>
</
script
>
<
script
>
"use strict"
;
window
.
onload
=
function
(
)
{
var
emulator
=
window
.
emulator
=
new
V86Starter
(
{
memory_size
:
32
*
1024
*
1024
,
vga_memory_size
:
2
*
1024
*
1024
,
screen_container
:
document
.
getElementById
(
"screen_container"
)
,
bios
:
{
url
:
"../bios/seabios.bin"
,
}
,
vga_bios
:
{
url
:
"../bios/vgabios.bin"
,
}
,
cdrom
:
{
url
:
"../images/linux.iso"
,
}
,
autostart
:
true
,
}
)
;
}
</
script
>
<!-- A minimal structure for the ScreenAdapter defined in browser/screen.js -->
<
div
id
="
screen_container
"
>
<
div
style
="
white-space: pre; font: 14px monospace; line-height: 14px
"
>
</
div
>
<
canvas
style
="
display: none
"
>
</
canvas
>
</
div
>
Back
|
FazBrowse Home
|
New Git URL