Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to access mounted CD images via XHR #43

Open
fallenoak opened this issue Jul 11, 2017 · 0 comments
Open

Ability to access mounted CD images via XHR #43

fallenoak opened this issue Jul 11, 2017 · 0 comments

Comments

@fallenoak
Copy link

fallenoak commented Jul 11, 2017

Howdy!

I'm hunting for a way to use ranged HTTP requests via XHR as a means to let em-dosbox access CD images from a local network endpoint without forcing a browser to download the entire image.

I know this touches on several things, including the fact that DOSBox's cdrom logic works with sync file access, and sync XHR on the main thread of a browser is deprecated / unavailable.

Now that SharedArrayBuffer and OffscreenCanvas are close to reality, I suppose some combination of them might support moving em-dosbox over to a web worker and permit using sync XHR there, while not blocking the main browser thread.

Any thoughts on what would need to be done to make something like this work?

Alternatively, would it be possible to rewrite the cdrom logic in DOSBox to permit this type of access?

I'd be happy to take a stab at it, but looking for a bit of guidance first.

PS Thanks for putting together em-dosbox -- I've been playing around with it for the past week and am floored at how well it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant