Best web emulator?

Hello guys!

I want to try to implement direct in-page emulation; you have a thread, you attach a dsk or a sna file, click a button, it loads right there on the forum page!

Can you suggest the best web emulator (js?) we could embed?

Thanks!

CPCJS?

From the GitHub page -
Supported formats: DSK, SNA, CDT, VOC, CPR, IPF, RAW, and ZIP.

This is nice and simple, but I think it’s not cycle-exact so it’ll probably fail on demos etc?

It’s a port of caprice32 - it should do most, if not all demos just fine.

well well, maybe try this hehe :slight_smile:

Oh I had forgotten about those!

RVM also, we use it at amstrad.es

Huh, TIL. Imagine that!

I’ve already implemented cpcjs, seems like it runs fine on the forum. Today I’ll harden the implementation and release the feature for everyone, hopefully.

Is there an advantage in RVM over cpcjs?

Ohh … where is it? Want to try it.

/edit:
Ignore - I found it …

No sure but we quitted cpcjs (or was tinyemu?) because |CPM was not working. Maybe that is fixed now!

Wasn’t working how? :thinking:

It was not able to read sectors, only files. Thinking, thinking, perhaps it was Tiny emulator. It’ll ask others at amstrad.es

Great, thanks!

Here are all the ones I know:

:slight_smile:

Ooh, I was looking for exactly something like this, actually.

Cheers!

I am working on an emulator; mainly to help me crossdev for demo stuff.
There is a wasm version that works on web pages but requires a quite powerfull computer to emulate.
In the benediction website, I use it to automatically play our demos (just clic on the green triangles) Benediction website - Amstrad CPC demogroup since 1995
there is a very minimal UI on purpose.

There is also a WIP version with a complete user interface (but I find it does not play well in web environment).

You can retreive it if needed. There is not yet a publicly shared version with documentation, but it could happen later

being the only user I haven’t taken care of the validity of the documentation. I doubt it is consistent as it is written by claude. here is the web sources

Hey @krusty ! Welcome here - it’s an honor :slight_smile:

I took a look, it does look nice, and it doesn’t look like it takes too much of the computer; on my laptop, in power saving mode, the browser only takes 5% of the CPU and 12% of the integrated GPU, so I guess it’s good enough.

What machines does it emulate? I take it no Plus since it only mentions dsk and cdt?

464, 664, 6128, 464Plus, 6128Plus, Gx4000 : bemu/src/motherboard.rs at 5b883b45476096cb270d22be4f5ff829723561c0 · rgiot/bemu · GitHub

However the plus versions have not been deeply tested, they maybe less accurate than the CPC ones. I have cheated a bit: The plus default cartridge is modified to run directly basic without pressing the key

We can provide carts bemu/src/cli.rs at 5b883b45476096cb270d22be4f5ff829723561c0 · rgiot/bemu · GitHub but I have not downloaded much carts to test

I have no PC joystick, so i have not worked on joystick emulation. That makes gx4000 quite limited ATM. I can blindly do it this week end.

We can provide CSL script to control the behavior of the emulator to act as a kioske (this is what I do in the bnd webpage)

CTM emulation requires a high resolution ATM. When downsizing it you can have visual artefact. Next weekend I’ll integrate natively in the emulator the downsizing algorithm used in the bndb website as it seems realistic. I’ll also acivate curvature by default when ctm emulation is activated.
Other monitors emulation are unfinished or buggy (the GT65 is not green…)

Ah yes I did notice the large res needed for the CTM.

If you implement joystick and write some documentation on it I may try it on the GX thread :slight_smile:

yes, here is a zoom on the blight demo to understand why so many pixels are needed

Ok I’ll ping you wheh/if joystrick is implemented