CPC emulation added in-page for topics! 🕹️

Ohhh welcome welcome welcome! The honor is all ours, I guess :slight_smile:

Cool, if Plus support is added then I’ll also add cartridge support to the forum and the wiki!

Thanks for a great emulator!

Welcome back!

It’s good to have you here :smiley:

Floooh’s chips (GitHub - floooh/chips: 8-bit chip and system emulators in standalone C headers · GitHub) has allowed this for years.

For example on https://cpcitor.itch.io/just-get-9 I put in a HTML area a Javascript build of the emulator and setup a call to this URL: https://html-classic.itch.zone/html/11271760/jg9_html_runnable_for_itch_io_p3/cpc.html?file=justget9_with_intro.dsk&input=run%22justget9%0A

The itch page runs straight to the game, but the same disk image also contains the intro which you can run with:

https://html-classic.itch.zone/html/11271760/jg9_html_runnable_for_itch_io_p3/cpc.html?file=justget9_with_intro.dsk&input=run%22cpcitor%0A

Yes, it is possible. I could create a new component for the forum, however it would not be the simplest thing for a user to do:

When you upload a dsk file, the system generates a link:

[mygame.dsk|attachment](upload://abc123xyz456.dsk) (142 KB)

To run a specific file, the user would have to pull that attachment link and insert a snippet:

[rvm run="disc"]
[mygame.dsk|attachment](upload://abc123xyz456.dsk) (142 KB)
[/rvm]

I doubt people would remember/bother to do that.