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:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Hialmar »

The menus are starting to work now.

You can check them here:
https://torguet.net/oric/menus/Oricutron.html

You can load Disks or Tapes using the menus.

It's unrelated but I have also managed to compile Oricutron with SDL2 on OSX which is way faster.
Edit : just found out that iss already did the last part.
Hialmar
CEO and Silicium member.
User avatar
ibisum
Wing Commander
Posts: 1645
Joined: Fri Apr 03, 2009 8:56 am
Location: Vienna, Austria
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by ibisum »

This is awesome. For the record, I had thought about doing this myself, but since you guys have gone ahead and sorted it, I guess the next frontier is open. I will therefore start a port of Oricutron to the PineWatch. ;P

I have always dreamed of having an Oric wrist-watch.
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 »

Thanks 😊
Good luck on the watch port ;)

Now using the following code examples I’ll work on menus for mobile platforms using multitouch gestures :
https://erik-larsen.github.io/emscripten-sdl2-ogles2/

Next will be downloading taps and dsks from remote locations.
Hialmar
CEO and Silicium member.
User avatar
xahmol
Flight Lieutenant
Posts: 437
Joined: Sun Jun 28, 2020 7:32 pm
Location: Utrecht, The Netherlands
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by xahmol »

Hialmar wrote: Sun Nov 15, 2020 1:16 pm You can load Disks or Tapes using the menus.
Just to verify: it is correct you can not load your own images (yet)? Can only select files already on the server.

Otherwise: tremendous work!
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 something I'll work on.

You can do that only if you download the branch, install emscripten and build your own emulator page for your own website.

And thanks ;)
Hialmar
CEO and Silicium member.
User avatar
xahmol
Flight Lieutenant
Posts: 437
Joined: Sun Jun 28, 2020 7:32 pm
Location: Utrecht, The Netherlands
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by xahmol »

Great! Would love to embed on my own site with my own software :)
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 the goal. Once it's stable I hope we can host on this very website one or more Oricutron in the browser with Defence Force games and demos as well.
Hialmar
CEO and Silicium member.
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 »

Hialmar wrote: Thu Nov 19, 2020 8:20 am Yes that's the goal. Once it's stable I hope we can host on this very website one or more Oricutron in the browser with Defence Force games and demos as well.
For games, sure, that makes sense: They are interactive.
For demos, I think videos are better, proper captures with the CRT scanlines, etc... better than emulation.
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 you are right.
Hialmar
CEO and Silicium member.
User avatar
Chema
Game master
Posts: 3014
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Chema »

Hialmar wrote: Thu Nov 19, 2020 8:20 am Yes that's the goal. Once it's stable I hope we can host on this very website one or more Oricutron in the browser with Defence Force games and demos as well.
I'm thinking about Blake's7, which auto saves. Not sure how that could fit here.... :(
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 »

Chema wrote: Thu Nov 19, 2020 4:07 pm
Hialmar wrote: Thu Nov 19, 2020 8:20 am Yes that's the goal. Once it's stable I hope we can host on this very website one or more Oricutron in the browser with Defence Force games and demos as well.
I'm thinking about Blake's7, which auto saves. Not sure how that could fit here.... :(
Good point, it's almost like if the thing should fork the dsk if they are modified, so each person get their own version.
Or maybe saved locally (cookies?)
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 »

The saves can be done in the browser using the IndexedDB.

And I will try to allow the dsk to be downloaded as well.
Hialmar
CEO and Silicium member.
User avatar
Chema
Game master
Posts: 3014
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: Oricutron or Euphoric in the browser anyone ?

Post by Chema »

Great! A solution exists :)
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 a strange behaviour on the iPad.

When I use the virtual keyboard sticky mod keys and press shift and then another key (here ' ) I end up with the same key being pressed instead of the modified key (here " ).

I have tried tracing things in ay_pressed but I end up with the same traces as can be seen in the images here:

iPad:
Image

Mac:
Image
Image

Anyone has an idea about what I could look up ?
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 pushed a new version to the www branch.

You can now download .dsk and .tap files from the emulator's directory.
Those files are then stored in the browser's IndexedDB so that you can save your changes there.

Next thing to do: Allow files from the IndexedDB to be downloaded.

You can see a live demo here:
https://torguet.net/oric/

Edit: dammit, it broke the emulator on IOS :(
Edit2: I love Apple ;( With the external debugger it works...
Last edited by Hialmar on Sun Nov 29, 2020 6:14 pm, edited 1 time in total.
Hialmar
CEO and Silicium member.
Post Reply