XRoar online work in progress

A place to discuss everything Dragon related that doesn't fall into the other categories.
sixxie
Posts: 1093
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

XRoar online work in progress

Post by sixxie » Sun Jun 16, 2019 12:00 pm

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...
Last edited by sixxie on Sun Jun 23, 2019 1:03 pm, edited 1 time in total.

Pernod70
Posts: 79
Joined: Sat Apr 22, 2017 10:06 pm
Location: Croydon, UK

Re: XRoar online work in progress

Post by Pernod70 » Sun Jun 16, 2019 12:08 pm

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.

sixxie
Posts: 1093
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar online work in progress

Post by sixxie » Sun Jun 16, 2019 12:17 pm

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 :)

Pernod70
Posts: 79
Joined: Sat Apr 22, 2017 10:06 pm
Location: Croydon, UK

Re: XRoar online work in progress

Post by Pernod70 » 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.

.mad.
Posts: 105
Joined: Fri Mar 15, 2019 4:22 pm
Location: Born in the North

Re: XRoar online work in progress

Post by .mad. » Sun Jun 16, 2019 12:26 pm

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?.
I am, you are, we are, they're not...

User avatar
robcfg
Posts: 1273
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden

Re: XRoar online work in progress

Post by robcfg » 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).

sixxie
Posts: 1093
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar online work in progress

Post by sixxie » Sun Jun 16, 2019 12:50 pm

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 :)

User avatar
Bosco
Posts: 297
Joined: Tue Mar 04, 2014 11:49 pm
Location: Nottingham, UK

Re: XRoar online work in progress

Post by Bosco » Sun Jun 16, 2019 5:37 pm

Tested in Firefox and Chrome, and both working fine for me. :)

sixxie
Posts: 1093
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar online work in progress

Post by sixxie » Fri Jun 21, 2019 9:25 pm

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...

User avatar
Bosco
Posts: 297
Joined: Tue Mar 04, 2014 11:49 pm
Location: Nottingham, UK

Re: XRoar online work in progress

Post by Bosco » Fri Jun 21, 2019 9:46 pm

Very cool!

Just had a quick game of Balldozer. :)

Post Reply