So, the Flash version of XRoar has been around for a while, but by rights nobody should be able to run it any more because Flash should be dead, dead, dead. Also, it was a complete rewrite in Haxe, and I never quite ironed out all the bugs.
But now I'm giving Emscripten another try and just making the small number of modifications to the C code needed to get a complete version of XRoar in a browser. It's working out ok so far (unless you use Chrome, which for some reason doesn't display anything) - have a look at the WIP here: http://www.6809.org.uk/xroar/online/ (edit: new URL)
Still a lot to do to make it usable (not least of which the ability to upload your own images would be pretty cool), but looks like it's proved possible. You'll find a DragonDOS disk image loaded with some games on it to mess around with...
XRoar online work in progress
XRoar online work in progress
Last edited by sixxie on Sun Jun 23, 2019 1:03 pm, edited 1 time in total.
Re: XRoar online work in progress
i get a almost blank screen with Firefox ESR.
no emu screen and nothing available to select in the cart and machine options.
with Chrome Version 74.0.3729.169 (Official Build) (64-bit), 75.0.3770.90 (Official Build) (64-bit)
the options for machine and cart are there, but again there is no emu window.
or editable drive options.
funny enough the Flash version is working for me.
does it require a plugin?.
no emu screen and nothing available to select in the cart and machine options.
with Chrome Version 74.0.3729.169 (Official Build) (64-bit), 75.0.3770.90 (Official Build) (64-bit)
the options for machine and cart are there, but again there is no emu window.
or editable drive options.
funny enough the Flash version is working for me.
does it require a plugin?.
I am, you are, we are, they're not...
Re: XRoar online work in progress
Works for me on MacOS 10.11.6 El Capitan with Chrome Version 74.0.3729.169 (Official Build) (64-bit), Chrome Version 75.0.3770.90 (Official Build) (64-bit), Firefox 67.0.2 (64-bit) and Safari Version 11.1.2 (11605.3.8.1).
Re: XRoar online work in progress
Whoops, you're right. Mixing up my 'p' usernames
Curious, working in mine (60.7.0esr).
That's what I get in Chrome - it means the thing is actually running, as the running emulator populates the machine/cart menus. Just not displaying anything.with Chrome Version 74.0.3729.169 (Official Build) (64-bit), 75.0.3770.90 (Official Build) (64-bit)
the options for machine and cart are there, but again there is no emu window.
Not implemented yetor editable drive options.
Heh. Well one day it will die... And no, this version shouldn't - just any browser capable of WebAssembly.funny enough the Flash version is working for me.
does it require a plugin?.
How very strange that it works in Chrome for you! Best guess, there's some sort of local privacy setting some people make that I'll have to accomodate, but my browser-fu is minimal as yet. Also, I don't remember making any such setting in my local copy of Chrome...
Thanks for looking, all - hopefully over time I'll get something together that works everywhere
Re: XRoar online work in progress
Tested in Firefox and Chrome, and both working fine for me.
Re: XRoar online work in progress
You can "upload" (not really, it all happens in your local RAM) disk and tape images now (and the ROMs are fetched asynchronously, which was a bit more hassle than it sounds!) so can even play a few games if you have them locally.
No WAVs though - might have to bake in some noddy WAV support that doesn't depend on external libraries. OTOH the way files are all slurped into RAM may make WAVs impractical anyway...
No WAVs though - might have to bake in some noddy WAV support that doesn't depend on external libraries. OTOH the way files are all slurped into RAM may make WAVs impractical anyway...
Re: XRoar online work in progress
Very cool!
Just had a quick game of Balldozer.
Just had a quick game of Balldozer.