copy / v86

x86 PC emulator and x86-to-wasm JIT, running in the browser
https://copy.sh/v86/
BSD 2-Clause "Simplified" License
19.81k stars 1.4k forks source link

Create iso9660/fat images on the fly #824

Open copy opened 1 year ago

copy commented 1 year ago

This would allow sharing files with guests that don't support 9pfs. Probably depends on #54.

cognitivegears commented 9 months ago

So, not directly using v86, but because v86 allows you to specify a buffer instead of a url, you should be able to use another library to do the file manipulation itself. I'm still working on this myself, but I'm using the fatfs library (https://github.com/natevw/fatfs) along with a fatfs-volume-driver library I wrote (https://github.com/cognitivegears/fatfs-volume-driver) to allow a FAT volume to be manipulated prior loading into the v86 emulator. I haven't tried it yet with a browser, though as far as I'm aware it should work there as well.