Online Beeb emulator with SSD support

bbc micro/electron/atom/risc os coding queries and routines
Post Reply
User avatar
archie456
Posts: 180
Joined: Sat Sep 07, 2019 4:22 pm
Location: Chelmsford
Contact:

Online Beeb emulator with SSD support

Post by archie456 »

Hi,

I'm hoping to show some of my efforts in coding a game to some friends, they are not Beeb aficionados and would have no idea what to do with an SSD file or how to find an emulator.

Are there any online emulators (BBC Master) that I can upload an SSD to so they can simply click a link to see the programme run? Or any other solution?

Thanks!
User avatar
leenew
Posts: 4900
Joined: Wed Jul 04, 2012 4:27 pm
Location: Doncaster, Yorkshire
Contact:

Re: Online Beeb emulator with SSD support

Post by leenew »

Post the ssd here and I will add it to bbcmicro.co.uk

Lee.
VectorEyes
Posts: 572
Joined: Fri Apr 13, 2018 2:48 pm
Contact:

Re: Online Beeb emulator with SSD support

Post by VectorEyes »

You can do it with JSBeeb I think. For instance if you follow this link:

https://bbc.xania.org/?disc=https://bit ... del=Master

… then JSBeeb should boot up into the ssd specified in the URL.

(I’m not sure whether this will work for all websites where you might host an SSD file. Hopefully it’ll work for you!)
tom_seddon
Posts: 889
Joined: Tue Aug 30, 2005 12:42 am
Contact:

Re: Online Beeb emulator with SSD support

Post by tom_seddon »

Along similar lines: if you have your ssd in a github repo, you can ask jsbeeb to load it directly via its URL. The URL takes the form https://raw.githubusercontent.com/USER- ... -HASH/PATH; pass this in as the &disc URL parameter for the emulator.

Here's an example for one of my 256 byte Master 128 demos: https://bbc.godbolt.org/?&disc=https:// ... del=Master

--Tom
User avatar
tricky
Posts: 7698
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: Online Beeb emulator with SSD support

Post by tricky »

I thought you could also load local files with jsbeeb
User avatar
archie456
Posts: 180
Joined: Sat Sep 07, 2019 4:22 pm
Location: Chelmsford
Contact:

Re: Online Beeb emulator with SSD support

Post by archie456 »

@leenew Thanks for the offer... I need to finish the game first though, its way off at the moment with lots to do.

@tom_seddon / @VectorEyes JSBeeb sounds like a good solution... I've not used Github before...

I've uploaded the SSD here and made it public:

https://github.com/archie456/BBCMicro/r ... aveGen.ssd

But adding it into the URL for JSBeeb, it get an error whilst initialising:

https://bbc.xania.org/?disc=https://git ... del=Master

Am I missing something?
Cheers!
VectorEyes
Posts: 572
Joined: Fri Apr 13, 2018 2:48 pm
Contact:

Re: Online Beeb emulator with SSD support

Post by VectorEyes »

archie456 wrote: Mon Apr 15, 2024 9:22 pm @leenew Thanks for the offer... I need to finish the game first though, its way off at the moment with lots to do.

@tom_seddon / @VectorEyes JSBeeb sounds like a good solution... I've not used Github before...

I've uploaded the SSD here and made it public:

https://github.com/archie456/BBCMicro/r ... aveGen.ssd

But adding it into the URL for JSBeeb, it get an error whilst initialising:

https://bbc.xania.org/?disc=https://git ... del=Master

Am I missing something?
Cheers!
Oh dear, maybe JSBeeb has special handling for SSDs that are hosted on some special 'blessed' domains or something like that. Not 100% sure right now but will investigate (or, rather, ask people who know more than me about such things.)
tom_seddon
Posts: 889
Joined: Tue Aug 30, 2005 12:42 am
Contact:

Re: Online Beeb emulator with SSD support

Post by tom_seddon »

For the link to work with jsbeeb, you'll need to use raw.githubusercontent.com. So the link for the disk above would be https://raw.githubusercontent.com/archi ... aveGen.ssd.

And the full jsbeeb link would be: https://bbc.xania.org/?disc=https://raw ... del=Master

(I don't know why an ordinary github.com/.../raw/...-type link doesn't work, and I can't remember how I figured this out!)

--Tom
User avatar
archie456
Posts: 180
Joined: Sat Sep 07, 2019 4:22 pm
Location: Chelmsford
Contact:

Re: Online Beeb emulator with SSD support

Post by archie456 »

Perfect - thanks for your help Tom.
VectorEyes
Posts: 572
Joined: Fri Apr 13, 2018 2:48 pm
Contact:

Re: Online Beeb emulator with SSD support

Post by VectorEyes »

Solved! You need to path to the SSD in a specific format as Tom Seddon described above. Try this:

https://bbc.xania.org/?disc=https://raw ... del=Master

EDIT: And of course Tom already solved it while I was discussing it with a few of the other Bitshifters. (Sigh!) ... oh well, two identical replies for the price of one!
User avatar
archie456
Posts: 180
Joined: Sat Sep 07, 2019 4:22 pm
Location: Chelmsford
Contact:

Re: Online Beeb emulator with SSD support

Post by archie456 »

Thanks Too!
alecb
Posts: 12
Joined: Thu Feb 22, 2024 9:22 pm
Contact:

Re: Online Beeb emulator with SSD support

Post by alecb »

I'm having the same problem with a github link but the advice to switch to a URL with raw.githubusercontent.com does not seem to be working for me.

My SSD download ink is:
https://github.com/alec-barker/ABGRID/r ... A/GRID.ssd
this link doesn't work in
https://bbc.xania.org/?disc=https://git ... d&autoboot

but changing this to https://raw.githubusercontent.com/alec- ... A/GRID.ssd
results in a 404, so putting that in
https://bbc.xania.org/?disc=https://raw ... d&autoboot

Does not work either. Any idea what I can do to get this work?

I also have a link to the SSD in dropbox but that does not work either:
https://www.dropbox.com/scl/fi/tl5q5dvz ... ephi6&dl=1
User avatar
tricky
Posts: 7698
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: Online Beeb emulator with SSD support

Post by tricky »

If this is for local testing, jsbeeb | Discs | From Examples or Local | Browse, then select your .ssd and boot it.
alecb
Posts: 12
Joined: Thu Feb 22, 2024 9:22 pm
Contact:

Re: Online Beeb emulator with SSD support

Post by alecb »

"Post the ssd here and I will add it to bbcmicro.co.uk"

Hi Lee, is this offer open to any new game or is the a QA process to go through to get a game on the website?
I'm interested in getting a game on the site to make it available to friends and all.
My game SSD , release details and 3 screenshots are on:

https://1drv.ms/f/s!Ah-059FAiBVZlX5mG4x ... O?e=NmLMhf
with the in-game GRID.JPG as the primary screenshot.

Please let me know if it would be possible to add to the game library and what the process id.

Alec.
tom_seddon
Posts: 889
Joined: Tue Aug 30, 2005 12:42 am
Contact:

Re: Online Beeb emulator with SSD support

Post by tom_seddon »

alecb wrote: Mon Apr 29, 2024 8:00 am I'm having the same problem with a github link but the advice to switch to a URL with raw.githubusercontent.com does not seem to be working for me.
The raw.githubusercontent.com thing only seems to work for files in the repo. I never figured out how to get jsbeeb to use a GItHub release asset.

For example, take this file: https://github.com/tom-seddon/b2/blob/m ... elcome.adl

Its raw.githubusercontent.com URL is: https://raw.githubusercontent.com/tom-s ... elcome.adl

In place of the branch name, here "master", you can also use the commit hash. (A suitable one for this example would be 4bd1939513b613c4ff0916eb6021b893a1a787a6 - https://raw.githubusercontent.com/tom-s ... elcome.adl)

--Tom
alecb
Posts: 12
Joined: Thu Feb 22, 2024 9:22 pm
Contact:

Re: Online Beeb emulator with SSD support

Post by alecb »

Thank you @tom_seddon, adding the ssd file as a src file rather than as a release file allowed it work to work in a jsbeeb link.
Post Reply

Return to “programming”