asmblah / jemul8

An object-oriented JavaScript x86 Emulator for Node.js and the browser
http://jemul8.com
Other
132 stars 19 forks source link

Run locally #13

Open kurai021 opened 11 years ago

kurai021 commented 11 years ago

Is there any way to run it locally?

asmblah commented 11 years ago

Hi kural021,

Unfortunately, most browsers won't allow XHR requests from pages over the file:// protocol to request local files, and jemul8 needs to be able to access files for ROMBIOS, VGABIOS and the relevant floppy disk image for booting. It may be possible in future to access files locally using the new HTML5 File APIs, but I have not looked into it (yet.) For now, hosting the emulator with a simple local webserver (Apache, Lighttpd, Node.js+express etc.) is the best option.

Pull requests are always welcome :)

Kind regards, Dan

kurai021 commented 11 years ago

i was trying porting the emulator as a Firefox OS App I did with this link http://davidwalsh.name/forums/topic/firefox-os-systemxhr but the hardware limitations does it run incredibly slow