Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
g3
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
g3
4y ago
Yes, I should write about v86's internals some day. Meanwhile, the code is right here: https://github.com/copy/v86/tree/master/src/rust It's much faster with recompilation than without, bu
2.
▲
by
g3
4y ago
If you're bored (or your code is still compiling), you can also try: SerenityOS: http://copy.sh/v86/?profile=serenity (one of their developers contributed PAE support to v86, which is extra cool. I believe it cont
3.
▲
by
g3
4y ago
It makes for a cool demo (and it's a reference to the recent "wasm in docker" announcement).
4.
▲
Show HN: Docker in the browser using x86-to-WASM recompilation
(copy.sh)
119 points
by
g3
4y ago
|
30 comments
5.
▲
by
g3
4y ago
Or, if you want to go one level deeper, v86 has a complete Linux environment with both python and sqlite running locally: https://copy.sh/v86/?profile=archlinux&c=python%20-ic%20%27i...
6.
▲
by
g3
5y ago
v86 also recompiles machine code to web assembly. The main difference is that v86 is a hobby project (of which I'm the original author, by the way), with much fewer contributors and no (known) commercial users, and is much less sophist
7.
▲
by
g3
5y ago
It's the disk access. In order to open My Computer, Windows reads 6399 disk sectors, which are read using ~150 http requests.
8.
▲
by
g3
5y ago
Or in an in-browser emulator: https://copy.sh/v86/?profile=custom&fda.url=images/freedos-b...
9.
▲
by
g3
10y ago
And here is a concise JavaScript tetris (playable: http://copy.sh/tetris/ ): f=[];p=[1];g=h=2;s=0;t=500;for(i=0;23>i;i++)f[i]=j=-16380;f[23]=-1;onkeydown=e;e(e);function e(b,a){(k=b.which)?k-38?k&-3^37||(
10.
▲
by
g3
11y ago
It's a fully emulated PC: CPU, memory, hard drive, … The CPU especially took me very long to get right with all the details to run Windows 98. The code is here: https://github.com/copy/v86
11.
▲
Show HN: Windows 98 in browser
(copy.sh)
356 points
by
g3
11y ago
|
165 comments
12.
▲
by
g3
12y ago
You can try it here: http://copy.sh/v86/?profile=custom&cdrom.url=https://dl.drop...
13.
▲
by
g3
12y ago
Nope, try harder ;)
14.
▲
Show HN: I Wanna Be Thy Copy
(copy.sh)
2 points
by
g3
12y ago
|
3 comments
15.
▲
JavaScript x86 emulator on github
(github.com)
3 points
by
g3
13y ago
|
0 comments
16.
▲
by
g3
13y ago
Both bugs are fixed now.
17.
▲
by
g3
13y ago
Fullscreen is there and yes, it will be open source.
18.
▲
by
g3
13y ago
The project is made with both browser and nodejs support in mind. There are still some issues to resolve, but I will definitely release a node version this year.
19.
▲
by
g3
13y ago
Hi s-macke. I've read the source code of your emulator before, good job. I'm aware of the problem with big integers. I'll look into this more closely, thanks for your help. Regarding workers: I need some restructuring to get
20.
▲
by
g3
13y ago
It should be the US keyboard layout, because that's what the operating systems in the emulator use.
21.
▲
by
g3
13y ago
I got Freedos working about 2 years ago, but then stopped working on it. I picked it up again earlier this year. Approximately 3 months of full time work. I'm considering writing some articles, just need to find some free time.
22.
▲
by
g3
13y ago
http://codegolf.stackexchange.com/questions/4732/emulate-an-...
23.
▲
by
g3
13y ago
Yes, it's very similar to the jslinux project. However, I added more hardware (it can boot a real bios: seabios). Also, I'll make this open source.
24.
▲
by
g3
13y ago
Chromium and Firefox send different key codes for `-` and `=` (see http://unixpapa.com/js/testkey.html ). Regarding GPFs: This is one of the few things that are not completely implemented yet, I'm working on figuri
25.
▲
by
g3
13y ago
It expects one of the standard formats (720k, 1440k or 2880k). I'll add switching disks some time in the future.
26.
▲
by
g3
13y ago
I've found the bug. For now, try Chromium. I'll fix this tomorrow.
27.
▲
by
g3
13y ago
It will be open-source. I don't know how to deal with licensing yet.
28.
▲
by
g3
13y ago
I'm testing in Firefox 24. If you could tell me what the error console outputs, I'll try to fix it.
29.
▲
by
g3
13y ago
Networking is on the todo list. I couldn't host the traffic, though.
30.
▲
by
g3
13y ago
I'll put it online soon. I haven't figured licensing out yet and need to write some technical notes
More ›