-
Notifications
You must be signed in to change notification settings - Fork 10
/
emulator_original_disk.html
81 lines (81 loc) · 2.64 KB
/
emulator_original_disk.html
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html manifest="/jslinuxstorage/cache.manifest">
<head>
<title>Javascript PC Emulator - Persistent Storage</title>
<style>
.term {
font-family: courier,fixed,swiss,monospace,sans-serif;
font-size: 14px;
color: #f0f0f0;
background: #000000;
}
.termReverse {
color: #000000;
background: #00ff00;
}
#note {
font-size: 12px;
}
#copyright {
font-size: 10px;
}
</style>
</head>
<body onload="start()">
<table border="0">
<tr valign="top"><td>
<script type="text/javascript" src="term.js"></script>
<script type="text/javascript" src="cpux86-ta.js"></script>
<script type="text/javascript" src="cpux86.js"></script>
<script type="text/javascript" src="storage.js"></script>
<script type="text/javascript" src="stringbuilder.js"></script>
<script type="text/javascript" src="storage/diskcache.js"></script>
<script type="text/javascript" src="storage/memstorage.js"></script>
<script type="text/javascript" src="storage/html5storage.js"></script>
<script type="text/javascript" src="storage/html5storagewords.js"></script>
<script type="text/javascript" src="simpleblockdevice.js"></script>
<script type="text/javascript" src="jslinux_original_disk.js"></script>
<div class="copyright">
© 2011 Fabrice Bellard
</div>
<div>
<a href="http://bellard.org/jslinux">
Fabrice Bellard's original JS/Linux website.
</a>
</div>
<div>
Storage modifications made by Kevin van der Vlist
</div>
<div>
<a href="https://github.com/kevinvandervlist/jslinuxstorage/blob/master/README">
Technical details about the modifications.
</a>
</div>
<div>
<a href="index.html">
Back to other virtual systems.
</a>
</div>
<div class="info">
<p>Please keep the filesizes of the images in mind, downloading takes a while. Here are the file sizes:
<pre>
v|15M|[kevin@lpt08a ~/jslinux]$ ls -lh linuxstart.bin vmlinux-3.0.4-simpleblock.bin root.ext2
-rwxr-xr-x 1 kevin kevin 15K Oct 6 16:04 linuxstart.bin
-rwxr-xr-x 1 kevin kevin 1.7M Oct 6 16:04 vmlinux-3.0.4-simpleblock.bin
-rw-r--r-- 1 kevin kevin 3.4M Oct 6 16:04 root.ext2
</pre>
</div>
<div>
<input type="file" id="input" onchange="uploadFile(this.files[0])">
Upload filesystem image. Note: This doesn't work on all browsers.
</div>
<div>
<input type="button" value="Download filesystem image" onClick="download()">
</div>
<input type="button" value="Clear local storage" onClick="localStorage.clear(); sbd.storage.clearDisk();">
</div>
<div id="download">
</div>
</table>
</body>
</html>