Comments (5)
If I understand you correctly, this already exists: https://github.com/copy/v86/blob/master/docs/api.md#create_filestring-file-uint8array-data-functionobject-callback
Please let me know if the documentation is unclear or needs extensions (it's relatively new and plain).
from v86.
@copy Oh, I didn't see that. How do I get the emulator instance in the production build? Using the debug build, the emulator doesn't boot (an assertion fails).
from v86.
It's defined here: https://github.com/copy/v86/blob/master/src/browser/main.js#L520
You can insert your code there. Alternatively, you can work on one of the library examples, see https://github.com/copy/v86/tree/master/docs/samples
In the latter case no compilation is necessary.
If an assertion fails it could be a bug, by the way.
from v86.
Thanks for the tip! The assertion fails with the ttylinux-2015.01 image I
mentioned previously. I am currently working on adding a local HTTP proxy
so that it wouldn't be necessary to go through the proxy for all requests.
2015-02-22 0:40 GMT+01:00 Fabian [email protected]:
It's defined here:
https://github.com/copy/v86/blob/master/src/browser/main.js#L520
You can insert your code there. Alternatively, you can work on one of the
library examples, see https://github.com/copy/v86/tree/master/docs/samples
In the latter case no compilation is necessary.If an assertion fails it could be a bug, by the way.
—
Reply to this email directly or view it on GitHub
#39 (comment).
from v86.
I see you fixed this, thanks.
from v86.
Related Issues (20)
- Multi-byte UTF-8 characters not displaying correctly on xterm.js HOT 6
- Experiencing issues when running Windows 8.0, 8.1, and 10. HOT 1
- Migrating state file from version 5 to 6 HOT 4
- Trying to build using docker HOT 1
- When I executed the T command in the debug program, the entire simulator stopped responding HOT 2
- Boot Visopsys
- Boot Syllable HOT 3
- Serial terminal is buggy in recent version HOT 8
- Reboot doesn't work HOT 2
- QEMU config for Windows 98 that will work with v86? HOT 6
- Local OpenAI style Code Interpreter HOT 2
- Boot Mu HOT 1
- Network on Arch Linux HOT 8
- [Guest OS Support] [Boot] Error code 0005 when booting SWT_PE.ISO HOT 5
- [Bug] [Guest OS] Save state not working on custom images HOT 5
- [Compatibility] [Android] [Not bug] Android froyo works!
- Allow for Real USB/CD devices to be plugged in as storage device
- Allow for Real USB/CD devices to be plugged in as storage device HOT 1
- Question about how V86 compares to other WebAssembly VMs HOT 1
- Operating system additions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v86.