Page 1 of 2

XRoar online work in progress

Posted: Sun Jun 16, 2019 12:00 pm
by sixxie
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...

Re: XRoar online work in progress

Posted: Sun Jun 16, 2019 12:08 pm
by Pernod70
sixxie wrote: Sun Jun 16, 2019 12:00 pm It's working out ok so far (unless you use Chrome, which for some reason doesn't display anything)
Looking good, and works in Chrome here.

Re: XRoar online work in progress

Posted: Sun Jun 16, 2019 12:17 pm
by sixxie
Pernod70 wrote: Sun Jun 16, 2019 12:08 pm Looking good, and works in Chrome here.
Oh, cool. Must be something local then...

As an aside, this already includes the 6309 MD reset fix you suggested - not that you can do anything with that here :)

Re: XRoar online work in progress

Posted: Sun Jun 16, 2019 12:25 pm
by Pernod70
sixxie wrote: Sun Jun 16, 2019 12:17 pm As an aside, this already includes the 6309 MD reset fix you suggested - not that you can do anything with that here :)
Not I, sounds like pser.

Re: XRoar online work in progress

Posted: Sun Jun 16, 2019 12:26 pm
by .mad.
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?.

Re: XRoar online work in progress

Posted: Sun Jun 16, 2019 12:40 pm
by robcfg
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

Posted: Sun Jun 16, 2019 12:50 pm
by sixxie
Pernod70 wrote: Sun Jun 16, 2019 12:25 pm
sixxie wrote: Sun Jun 16, 2019 12:17 pm As an aside, this already includes the 6309 MD reset fix you suggested - not that you can do anything with that here :)
Not I, sounds like pser.
Whoops, you're right. Mixing up my 'p' usernames :)
.mad. wrote: Sun Jun 16, 2019 12:26 pm i get a almost blank screen with Firefox ESR.
Curious, working in mine (60.7.0esr).
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.
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.
or editable drive options.
Not implemented yet :)
funny enough the Flash version is working for me. ;)

does it require a plugin?.
Heh. Well one day it will die... And no, this version shouldn't - just any browser capable of WebAssembly.

robcfg wrote: Sun Jun 16, 2019 12:40 pm 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).
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

Posted: Sun Jun 16, 2019 5:37 pm
by Bosco
Tested in Firefox and Chrome, and both working fine for me. :)

Re: XRoar online work in progress

Posted: Fri Jun 21, 2019 9:25 pm
by sixxie
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...

Re: XRoar online work in progress

Posted: Fri Jun 21, 2019 9:46 pm
by Bosco
Very cool!

Just had a quick game of Balldozer. :)