Live data from Hacker News

V86 – An x86-compatible CPU and hardware emulator

github.com

11–20 of 58 posts

Re: V86 – An x86-compatible CPU and hardware emulator

#12

> Author > > Fabian Hemmer (http://copy.sh/, copy@copy.sh) That's not Fabrice Bellard[1]... [1]: http://bellard.org/ [edit]: The submission title has now been edited to no longer say this is a project by Fabrice Bellard.

Didn't Fabrice do something very similar something like 3 to 4 years back ?

Re: V86 – An x86-compatible CPU and hardware emulator

#14
post #12

> Author > > Fabian Hemmer (http://copy.sh/, copy@copy.sh) That's not Fabrice Bellard[1]... [1]: http://bellard.org/ [edit]: The submission title has now been edited to no longer say this is a project by Fabrice Bellard.

Didn't Fabrice do something very similar something like 3 to 4 years back ?

Are you thinking about JSLinux? http://bellard.org/jslinux/

It does sound similar to the underlying PC emulator (http://bellard.org/jslinux/tech.html) and Bellard does indeed list v86 in section "Similar Projects (Several other PC or Linux emulators are now available)"

The v86 project's initial release was late 2013 (https://github.com/copy/v86/commit/8180d49f24833fc6cc05a9025...) about 2 years after Bellard's (http://bellard.org/jslinux/news.html)

Re: V86 – An x86-compatible CPU and hardware emulator

#17

Interestingly the popup about copy.sh having control of the cursor was somehow overlaid above my Firefox titlebar, tabs, and addressbar. Didn't know that was possible. GIF: http://i.imgur.com/giCT1nI.gif

It's the pointer lock API:

https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Loc...

The browser tells you when a page calls requestPointerLock(), and tells you how to exit it, similar to the fullscreen API.

Re: V86 – An x86-compatible CPU and hardware emulator

#19
post #9

How much work would be required to allow network access from one of these emulated machines? Could it be done over websockets (via a proxy)? EDIT: After reading the docs, it seems that this is already implemented (via websockets, too!): https://github.com/copy/v86/blob/master/docs/networking.md

Also, a few of the live demos have networking enabled.

But they're not internet connected, are they? I tried `ping 8.8.8.8` from each of them without any luck.
Post reply on HN