Oricutron or Euphoric in the browser anyone ?

Comments, problems, suggestions about Oric emulators (Euphoric, Mess, Amoric, etc...) it's the right place to ask. And don't hesitate to give your tips and tricks that help using these emulations in the best possible way on your favorite operating system.
User avatar
Hialmar
Flight Lieutenant
Posts: 349
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Oricutron or Euphoric in the browser anyone ?

Post by Hialmar »

https://jamesfriend.com.au/porting-pce-emulator-browser

As anyone tried to do the same as above for one of our dear emulators ?

I’ll try but wanted to know if anyone did that already.
Hialmar
CEO and Silicium member.
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: Oricutron or Euphoric in the browser anyone ?

Post by jbperin »

I haven't heard of a web oric emulator up to now.

And I must admit that this idea sounds very interesting.

Something like what they have for Dragon or Tandy computer:

http://www.6809.org.uk/xroar/online/
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Dbug »

Fabrice Frances had a Java Applet running Oric games for the 2004 and 2005 minigame compos:
http://oric.free.fr/Java/Minigame2004.html
http://oric.free.fr/Java/Minigame2005.html
and I believe he also had one for the Microtan, but yeah, Java on the client == meh
User avatar
Hialmar
Flight Lieutenant
Posts: 349
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Hialmar »

Ah yes I remember this.

The port of Oricutron is starting to work :
https://torguet.net/oric/Oricutron.html

But please don't try to open the menus or you will have to restart your browser ;)

Edit : It works on my iPad as well (which was the goal ;) ) but for some reason the shift keys don't work as intended.
Hialmar
CEO and Silicium member.
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: Oricutron or Euphoric in the browser anyone ?

Post by jbperin »

waou .. :shock: that's cool :o

is it possible to host this emulator with a preloaded tap file ?
User avatar
Hialmar
Flight Lieutenant
Posts: 349
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Hialmar »

Yes that’s my goal.

A tap or a dsk.

Then I’ll try to provide the same but with a list of taps and dsks.
Hialmar
CEO and Silicium member.
User avatar
Hialmar
Flight Lieutenant
Posts: 349
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Hialmar »

Example loading tap:
https://torguet.net/oric/cyclotron/Oricutron.html

There is a problem with the dsk loading. I will look at this asap.
Hialmar
CEO and Silicium member.
User avatar
iss
Wing Commander
Posts: 1641
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by iss »

Great result, congrats!

Actually some time ago I gave a try of emscripten to compile Oricutron and with small hacks it worked (well, kind of).
Since then I have the idea to make an Oric IDE for browser with integrated C compiler and Oricutron, but you know the free-time problem...

Anyway, well done @Hialmar! We can merge the changes in main repo when it's ready.

EDIT: About the DSK problem - check if the Microdisc (and all other) ROM files are properly named i.e. upper/lower case.
User avatar
Hialmar
Flight Lieutenant
Posts: 349
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Hialmar »

Yes that was a part of the problem you are right.

It works now :
http://torguet.net/oric/aigle/Oricutron.html

I had some problems with the way Oricutron autoloads dsks so I'll look at it a bit more as I have had to add some code that shouldn't be there.
Hialmar
CEO and Silicium member.
User avatar
Hialmar
Flight Lieutenant
Posts: 349
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Hialmar »

I have created a branch called www on the git repository :
https://github.com/pete-gordon/oricutron/tree/www

You will find a www directory and a Readme.txt file there to build your own Orics in browsers ;)

The goal will be to integrate everything in master but as it is still bugged (can't manage to get the menu to open) I'll do it later on.

Edit : the menus are now working. Now I need to work on file selectors.
It will take some time as there are tight loops there and I cannot do that.
Last edited by Hialmar on Wed Nov 11, 2020 9:52 pm, edited 1 time in total.
Hialmar
CEO and Silicium member.
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: Oricutron or Euphoric in the browser anyone ?

Post by jbperin »

That looks very very cool .. I need to test that as soon as find time.

Thank you very much for this oric web plugin.
User avatar
iss
Wing Commander
Posts: 1641
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by iss »

Great! Thanks, I'll check it asap.
User avatar
Hialmar
Flight Lieutenant
Posts: 349
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Hialmar »

Well the code is quite horrible right now so don’t make fun of me please;)
Hialmar
CEO and Silicium member.
User avatar
iss
Wing Commander
Posts: 1641
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by iss »

Hialmar wrote: Wed Nov 11, 2020 9:53 pm Well the code is quite horrible right now so don’t make fun of me please;)
Your code is just fine! Don't worry about such things :).
I saw some changes in files related to Mac's XCode project files - actually nothing special, so do you mind to preserve originals when we do merge?
User avatar
Hialmar
Flight Lieutenant
Posts: 349
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Hialmar »

I was trying to have it working again with no luck so far.
I’ll try again and if it doesn’t work will revert to the old files.
Hialmar
CEO and Silicium member.
Post Reply