JSSpeccy 3 Online Emulator

Broken link? Feature request? Anything related to the Spectrum Computing website here.
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

JSSpeccy 3 Online Emulator

Post by PeterJ »

JSSpeccy 3 is now active on the website and has replaced the rather decrepit JSSpeccy 2. Gameplay is much smoother than in the previous version, and you don't get that annoying clicking sound.

To use it, search for your favourite game and under the downloads section and click on the 'JSSpeccy' link.

I'm grateful to @Stefan and @flatduckrecords for their assistance with this project. Robert also mentioned a forked version of Jsspeccy3 that works on mobile that we will try in the future.

JSSpeccy 3 also supports the Pentagon 128, and has a built in games finder (via the File menu).

I had a random check through the games listed in the 'Not working on JSSpeccy thread' and most don't work on this version either. I'm not surprised though as most were reported to have failed with Fuse as well!

Full feature list:
  • Emulates the Spectrum 48K, Spectrum 128K and Pentagon machines
  • Handles all Z80 instructions, documented and undocumented
  • Cycle-accurate emulation of scanline / multicolour effects
  • AY and beeper audio
  • Loads SZX, Z80 and SNA snapshots
  • Loads TZX and TAP tape images (via traps only)
  • Loads any of the above files from inside a ZIP file
  • 100% / 200% / 300% and fullscreen display modes
Image

Image
User avatar
Nitrowing
Manic Miner
Posts: 607
Joined: Mon Sep 21, 2020 8:38 pm
Location: Cleethorpes

Re: JSSpeccy 3 Online Emulator

Post by Nitrowing »

PeterJ wrote: Wed Nov 08, 2023 1:33 pm
Image
That's certainly very pretty 8-)
hikoki
Manic Miner
Posts: 576
Joined: Thu Nov 16, 2017 10:54 am

Re: JSSpeccy 3 Online Emulator

Post by hikoki »

The mobile version is cool!
BTW the about panel covers the row of buttons at the bottom on my Fire tablet.
I wonder if this kind of GUI with cloned buttons on both sides could be replicated with the current version.

Image
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: JSSpeccy 3 Online Emulator

Post by PeterJ »

Are you trying this from the GitHub page @hikoki?

https://dcrespo3d.github.io/jsspeccy3-m ... e-1.01.tap
hikoki
Manic Miner
Posts: 576
Joined: Thu Nov 16, 2017 10:54 am

Re: JSSpeccy 3 Online Emulator

Post by hikoki »

PeterJ wrote: Wed Nov 08, 2023 8:15 pm Are you trying this from the GitHub page @hikoki?

https://dcrespo3d.github.io/jsspeccy3-m ... e-1.01.tap
Yes, I played with those buttons. Will try another arrangement later
hikoki
Manic Miner
Posts: 576
Joined: Thu Nov 16, 2017 10:54 am

Re: JSSpeccy 3 Online Emulator

Post by hikoki »

What about this buttons arrangement?
https://dcrespo3d.github.io/jsspeccy3-m ... e-1.01.tap
It seems to allow only 3 rows
User avatar
Stefan
Manic Miner
Posts: 809
Joined: Mon Nov 13, 2017 9:51 pm
Location: Belgium
Contact:

Re: JSSpeccy 3 Online Emulator

Post by Stefan »

@PeterJ you want to remove autoStart:true this prevents audio output:
autoStart: if true, the emulator will start immediately with no need to press the play button. Bear in mind that browser policies usually don't allow enabling audio without a user interaction, so if you enable this option (and don't put the JSSpeccy call behind an onclick event or similar), expect things to be silent.
As a work-around, if you now press pause and then play, sound will be enabled.
User avatar
Stefan
Manic Miner
Posts: 809
Joined: Mon Nov 13, 2017 9:51 pm
Location: Belgium
Contact:

Re: JSSpeccy 3 Online Emulator

Post by Stefan »

@PeterJ there's also something wrong with the divs (or so) when I choose full screen the emulator fills the width of my browser resulting in only the top half of the screen being visible.

On my vanilla test, full screen does work correctly.

Edit: the problem is caused by:

Code: Select all

<!-- JSSpeccy Emulator CSS -->
<link href="dist/css/jsspeccy.css" rel="stylesheet" type="text/css">
This stylesheet belongs to jsspeccy2 and is not needed / ruins jsspeccy3!
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: JSSpeccy 3 Online Emulator

Post by PeterJ »

Stefan wrote: Wed Nov 08, 2023 9:27 pm @PeterJ you want to remove autoStart:true this prevents audio output:
Thanks Stefan,

I only tried in Google Chrome and I get sound. Which browser are you using, and I will use as a test.

As Chrome is by far the most popular browser, I'm tempted to leave as it is
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: JSSpeccy 3 Online Emulator

Post by PeterJ »

Stefan wrote: Wed Nov 08, 2023 9:33 pm This stylesheet belongs to jsspeccy2 and is not needed / ruins jsspeccy3!
Thanks, I will remove in the morning.
User avatar
Stefan
Manic Miner
Posts: 809
Joined: Mon Nov 13, 2017 9:51 pm
Location: Belgium
Contact:

Re: JSSpeccy 3 Online Emulator

Post by Stefan »

PeterJ wrote: Wed Nov 08, 2023 9:46 pm I only tried in Google Chrome and I get sound. Which are you using, and I will use as a test.
Using Windows 10x64 with Chrome, Firefox and Edge - they all initially produce no sound until the emulator is paused and restarted, I'm using Chase HQ as test.
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: JSSpeccy 3 Online Emulator

Post by PeterJ »

Interesting @Stefan,

I'm on W11x64 with Chrome, and have not had the issue. I used Crystal Kingdom Dizzy 2017. I will do more tests over the weekend. Thanks for reporting.

Edit. I see the issue now on Android Chrome.
User avatar
Stefan
Manic Miner
Posts: 809
Joined: Mon Nov 13, 2017 9:51 pm
Location: Belgium
Contact:

Re: JSSpeccy 3 Online Emulator

Post by Stefan »

PeterJ wrote: Wed Nov 08, 2023 10:01 pm Interesting @Stefan,

I'm on W11x64 with Chrome, and have not had the issue. I used Crystal Kingdom Dizzy 2017. I will do more tests over the weekend. Thanks for reporting.

Edit. I see the issue now on Android Chrome.
I'm guessing that you have enabled autoplay on your browser - this is normally disabled since you do not want random websites blurting crap at you without you doing anything - https://support.mozilla.org/en-US/kb/block-autoplay
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: JSSpeccy 3 Online Emulator

Post by PeterJ »

Not that I recall @Stefan, but will do more testing over the weekend. I have a VM with a clean W11 install. It seems it's widespread though, so I'm sure I will end up doing as you and the GitHub documentation suggests!
firelord
Manic Miner
Posts: 557
Joined: Wed Nov 03, 2021 10:57 am
Location: Greece - Thessaloniki

Re: JSSpeccy 3 Online Emulator

Post by firelord »

Very good emulator. I even tried the mobile mod. If it could save I would prefer it over QAOP.

First problem I noticed (I think it's a file location error):
https://spectrumcomputing.co.uk/entry/1 ... f_the_Year
The greek version does not run .
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: JSSpeccy 3 Online Emulator

Post by PeterJ »

firelord wrote: Thu Nov 09, 2023 7:54 am The greek version does not run .
The file is able to be downloaded @firelord, so I'm assuming it's just one of those cases where the online emulator can't run it.
User avatar
Mpk
Dynamite Dan
Posts: 1008
Joined: Tue Feb 09, 2021 8:10 am

Re: JSSpeccy 3 Online Emulator

Post by Mpk »

PeterJ wrote: Wed Nov 08, 2023 1:33 pm you don't get that annoying clicking sound.
Oh, happy day. I thought that was just me.
firelord
Manic Miner
Posts: 557
Joined: Wed Nov 03, 2021 10:57 am
Location: Greece - Thessaloniki

Re: JSSpeccy 3 Online Emulator

Post by firelord »

PeterJ wrote: Thu Nov 09, 2023 8:34 am The file is able to be downloaded @firelord, so I'm assuming it's just one of those cases where the online emulator can't run it.
The &downid=144414 must be wrong.
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: JSSpeccy 3 Online Emulator

Post by PeterJ »

firelord wrote: Thu Nov 09, 2023 9:09 am The &downid=144414 must be wrong.
Hi @firelord,

I downloaded the file, then tried to load it via JSSpeccy 3 via the File menu, and it didnt load either.
User avatar
Stefan
Manic Miner
Posts: 809
Joined: Mon Nov 13, 2017 9:51 pm
Location: Belgium
Contact:

Re: JSSpeccy 3 Online Emulator

Post by Stefan »

Mpk wrote: Thu Nov 09, 2023 8:59 am Oh, happy day. I thought that was just me.
It seems to be another copy protection thingy - if you load the tape manually (reset and then click on tape icon bottom right) then it does load:

Image
firelord
Manic Miner
Posts: 557
Joined: Wed Nov 03, 2021 10:57 am
Location: Greece - Thessaloniki

Re: JSSpeccy 3 Online Emulator

Post by firelord »

I think you are both right. I think is related to the "instant tape loading" option. If I disable it and press unpause and play tape it loads (slowly).
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: JSSpeccy 3 Online Emulator

Post by PeterJ »

@Stefan,

I made those changes as suggested. It doesn't look as nice without autostart, but I appreciate that most browses block autoplay by default anyway.

MPK (quoted above) was referring to his pleasure at the absence of the clicking sound which was present in JSSpeccy2.

Thanks again for all your assistance.
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2641
Joined: Mon Nov 13, 2017 3:16 pm

Re: JSSpeccy 3 Online Emulator

Post by Ast A. Moore »

Pretty sweet!
Sound is a bit distorted and lags a little, but that’s a minor thing.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
User avatar
Stefan
Manic Miner
Posts: 809
Joined: Mon Nov 13, 2017 9:51 pm
Location: Belgium
Contact:

Re: JSSpeccy 3 Online Emulator

Post by Stefan »

@PeterJ it looks like the machine model is not being taken from the zxdb page? Chase HQ 48K also starts JSSpeccy3 with machine type 128K.
User avatar
Stefan
Manic Miner
Posts: 809
Joined: Mon Nov 13, 2017 9:51 pm
Location: Belgium
Contact:

Re: JSSpeccy 3 Online Emulator

Post by Stefan »

@PeterJ The colours also look wrong, it looks like there is some ULA+ / breadbin glaze over everything.
Post Reply