ZX Spectrum Next Discussion

The Speccy's spritely young offspring. Discuss everything from FPGA to ZX
User avatar
Seven.FFF
Manic Miner
Posts: 735
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: ZX Spectrum Next Discussion

Post by Seven.FFF »

There isn't an internal beeper as standard, so if you haven't fitted one yourself then it must have been via HDMI.

Hmm, I will have to have a think about this.

Are you using an HDMI switchbox or a direct connnection?
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: ZX Spectrum Next Discussion

Post by R-Tape »

Nope, didn't fit an internal beeper (I like the idea though!). It's a direct connection, one lead with HDMI at each end. AY is working btw.

Cheers matey.
Swainy
Manic Miner
Posts: 235
Joined: Mon Nov 13, 2017 8:10 pm

Re: ZX Spectrum Next Discussion

Post by Swainy »

On the latest software, you can switch the beeper to only play if you have an internal speaker fitted, even if you don’t have an external speaker fitted.

Image
User avatar
Seven.FFF
Manic Miner
Posts: 735
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: ZX Spectrum Next Discussion

Post by Seven.FFF »

Swainy wrote: Wed Apr 08, 2020 4:53 pm On the latest software, you can switch the beeper to only play if you have an internal speaker fitted, even if you don’t have an external speaker fitted.
Indeed you can, cheers Dean. I was assuming Dave doesn't have this option, as he hasn't installed anything from gitlab yet AFAIK. But it's definitely worth him confirming if he does or not.

The crazy part about this is that keyboard/menu clicks ARE beeps too - just very short ones! In fact you can extend the duration of them with this poke, so that they become beeps:

Code: Select all

POKE 23609,20
Can you try doing this in the same mode that you can hear the menu clicks, after confirming that you still here them? Once you are in NextBASIC or the command line, you can get back to a menu by doing EDIT+1.
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: ZX Spectrum Next Discussion

Post by R-Tape »

[mention]Swainy[/mention] has cracked it. My settings screen looks a bit different to the picture, but int speaker was set to ON, I turn it off and beeper is now audible.

I'll fire up ALS on it later!

[mention]Seven.FFF[/mention] I did your poke and indeed, it did change the menu beeps.
Swainy
Manic Miner
Posts: 235
Joined: Mon Nov 13, 2017 8:10 pm

Re: ZX Spectrum Next Discussion

Post by Swainy »

Here is a bit of footage of ALS Next, unfortunately it’s not in 4:3 ratio.

https://youtu.be/xF5O_pPJtNI
User avatar
DouglasReynholm
Manic Miner
Posts: 347
Joined: Wed Feb 20, 2019 8:38 pm

Re: ZX Spectrum Next Discussion

Post by DouglasReynholm »

Swainy wrote: Wed Apr 08, 2020 6:21 pm Here is a bit of footage of ALS Next, unfortunately it’s not in 4:3 ratio.

https://youtu.be/xF5O_pPJtNI
I appreciate the homage to Operation Wolf!
Swainy
Manic Miner
Posts: 235
Joined: Mon Nov 13, 2017 8:10 pm

Re: ZX Spectrum Next Discussion

Post by Swainy »

Well I thought that it’s a very similar game to Operation Wolf so hence the homage :)
User avatar
Morkin
Bugaboo
Posts: 3251
Joined: Mon Nov 13, 2017 8:50 am
Location: Bristol, UK

Re: ZX Spectrum Next Discussion

Post by Morkin »

R-Tape wrote: Wed Apr 08, 2020 4:42 pm Nope, didn't fit an internal beeper (I like the idea though!). It's a direct connection, one lead with HDMI at each end. AY is working btw.

Cheers matey.
Sounds like your Next is faulty.

<sigh> Go on then, I'll do you a favour and take it off your hands for a tenner. Just pop it in the post. Ta.
My Speccy site: thirdharmoniser.com
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: ZX Spectrum Next Discussion

Post by R-Tape »

Morkin wrote: Thu Apr 09, 2020 9:18 am
<sigh> Go on then, I'll do you a favour and take it off your hands for a tenner. Just pop it in the post. Ta.
Swapsies for your SAGA.
User avatar
Morkin
Bugaboo
Posts: 3251
Joined: Mon Nov 13, 2017 8:50 am
Location: Bristol, UK

Re: ZX Spectrum Next Discussion

Post by Morkin »

R-Tape wrote: Thu Apr 09, 2020 9:21 am
Morkin wrote: Thu Apr 09, 2020 9:18 am
<sigh> Go on then, I'll do you a favour and take it off your hands for a tenner. Just pop it in the post. Ta.
Swapsies for your SAGA.
Which one - the keyboard or the holiday?
My Speccy site: thirdharmoniser.com
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: ZX Spectrum Next Discussion

Post by R-Tape »

Swainy wrote: Tue Apr 07, 2020 9:40 pm So, everyone lucky enough to own a Spectrum Next can see what I’ve spent the last few days doing. Advanced Lawn Mower Simulator Next
Good work. I'm not sure I'll ever get my head round running a BASIC file and getting graphics and sound like this (well, not including the in-game ones!).

BTW feel free to make new threads for stuff like this. There is a whole Next subforum in addition to this thread.
User avatar
DouglasReynholm
Manic Miner
Posts: 347
Joined: Wed Feb 20, 2019 8:38 pm

Re: ZX Spectrum Next Discussion

Post by DouglasReynholm »

Got my Yodel email this morning.. only 143 deliveries ahead of me! Sat by the front door like a dog waiting for its owner..
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: ZX Spectrum Next Discussion

Post by R-Tape »

DouglasReynholm wrote: Thu Apr 09, 2020 11:07 am Got my Yodel email this morning.. only 143 deliveries ahead of me! Sat by the front door like a dog waiting for its owner..
Brilliant! The worst part is when the number goes to zero and you see the driver's dot moving away from your house on the map!
User avatar
DouglasReynholm
Manic Miner
Posts: 347
Joined: Wed Feb 20, 2019 8:38 pm

Re: ZX Spectrum Next Discussion

Post by DouglasReynholm »

R-Tape wrote: Thu Apr 09, 2020 11:11 am
Brilliant! The worst part is when the number goes to zero and you see the driver's dot moving away from your house on the map!
Well at least the buggers won't be able to claim I wasn't home. I haven't left the house in 3 weeks
DarkTrancer

Re: ZX Spectrum Next Discussion

Post by DarkTrancer »

DouglasReynholm wrote: Thu Apr 09, 2020 11:14 am
Well at least the buggers won't be able to claim I wasn't home. I haven't left the house in 3 weeks
Don't read some of the posts on the Facebook group then. :o
User avatar
Morkin
Bugaboo
Posts: 3251
Joined: Mon Nov 13, 2017 8:50 am
Location: Bristol, UK

Re: ZX Spectrum Next Discussion

Post by Morkin »

DouglasReynholm wrote: Thu Apr 09, 2020 11:07 am Got my Yodel email this morning.. only 143 deliveries ahead of me! Sat by the front door like a dog waiting for its owner..
...Don't forget to check you wheelie bins, your garage, and every outbuilding in a mile radius from your house...

Then again you might get lucky, it might just get chucked straight through your window.. :lol:
My Speccy site: thirdharmoniser.com
User avatar
1024MAK
Bugaboo
Posts: 3104
Joined: Wed Nov 15, 2017 2:52 pm
Location: Sunny Somerset in the U.K. in Europe

Re: ZX Spectrum Next Discussion

Post by 1024MAK »

Morkin wrote: Thu Apr 09, 2020 12:58 pm
DouglasReynholm wrote: Thu Apr 09, 2020 11:07 am Got my Yodel email this morning.. only 143 deliveries ahead of me! Sat by the front door like a dog waiting for its owner..
...Don't forget to check you wheelie bins, your garage, and every outbuilding in a mile radius from your house...

Then again you might get lucky, it might just get chucked straight through your window.. :lol:
You left out: your recycling box, garden waste bin, behind a plant pot, under a bush in your garden, or in your secure place / secure porch (meaning on your doorstep in front of your door) :lol:

Oh, and don’t expect a working door bell to help, as “they” don’t use such devices....

Best sit in a position where you can see them approaching on the road outside your house, so you can intercept quickly if needed...

Mark
:!: Standby alert :!:
“There are four lights!”
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :dance
Looking forward to summer later in the year.
User avatar
Seven.FFF
Manic Miner
Posts: 735
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: ZX Spectrum Next Discussion

Post by Seven.FFF »

R-Tape wrote: Wed Apr 08, 2020 5:12 pm @Swainy has cracked it. My settings screen looks a bit different to the picture, but int speaker was set to ON, I turn it off and beeper is now audible.
We think the ultimate cause of your woes was that you somehow ended up with mismatched versions of core (TBBLUE.TBU), firmware (TBBLUE.FW) and NextZXOS (contents of NextZXOS and DOT folders). The settings have changed in the bleeding edge version of the core, and need the corresponding matched versions of the other stuff to set the defaults correctly.

You'll probably find your speaker setting doesn't persist after the next cold reset or power on if you set it from the NMI menu. It's the same underlying setting as the one on the boot menu and in config.ini, so changing it in either of the other places will cause it to persist.
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: ZX Spectrum Next Discussion

Post by R-Tape »

Seven.FFF wrote: Thu Apr 09, 2020 7:28 pm We think the ultimate cause of your woes was that you somehow ended up with mismatched versions of core (TBBLUE.TBU), firmware (TBBLUE.FW) and NextZXOS (contents of NextZXOS and DOT folders). The settings have changed in the bleeding edge version of the core, and need the corresponding matched versions of the other stuff to set the defaults correctly.

You'll probably find your speaker setting doesn't persist after the next cold reset or power on if you set it from the NMI menu. It's the same underlying setting as the one on the boot menu and in config.ini, so changing it in either of the other places will cause it to persist.
Cheers. I changed intsnd to 0 in the config file, and it meant I didn't have to keep going into to NMI menu to do it.

BTW—if I wanted to make enhanced ULA "OFF" as the default in the advanced settings, is there a value I can easily change on the SD card? (It's because I'm loading a lot of AGD games, and it automatically triggers ULA+, even though the game usually doesn't have a palette set for it.)
User avatar
Alessandro
Dynamite Dan
Posts: 1908
Joined: Wed Nov 15, 2017 11:10 am
Location: Messina, Italy
Contact:

Re: ZX Spectrum Next Discussion

Post by Alessandro »

R-Tape wrote: Thu Apr 09, 2020 7:34 pmBTW—if I wanted to make enhanced ULA "OFF" as the default in the advanced settings, is there a value I can easily change on the SD card? (It's because I'm loading a lot of AGD games, and it automatically triggers ULA+, even though the game usually doesn't have a palette set for it.)
Are you referring to the "ULA Plus AGD bug" Dave?

If so, could you please test my AGD-authored games as well? I cleansed all of them of the bug (*) and under emulation they seem to work OK. But I do not own any ULA Plus compatible hardware and would like some feedback especially from the Next.

(*) Except for Cronopios Y Famas, which will also receive a slight update in the future, and Funky Fungus, because it will be soon superseded by the Reloaded edition.
User avatar
Seven.FFF
Manic Miner
Posts: 735
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: ZX Spectrum Next Discussion

Post by Seven.FFF »

R-Tape wrote: Thu Apr 09, 2020 7:34 pm BTW—if I wanted to make enhanced ULA "OFF" as the default in the advanced settings, is there a value I can easily change on the SD card? (It's because I'm loading a lot of AGD games, and it automatically triggers ULA+, even though the game usually doesn't have a palette set for it.)
The short answer is no, you can't do a global disable in NextZXOS. In the bleeding edge stuff on gitlab there is a new config.ini option to globally disable it, but that's for the legacy machine personalities, as NextZXOS re-enables it on every boot. If you wanted to load your ULAplus games in legacy personalities, this would be the simplest option.

For NextZXOS you can turn it off in autoexec.bas, but the tap/tzx loaders turn it back on again when they initialise.

You could modify the tap/tzx loaders (they're just BASIC programs) but you will find that some AGD games like Nixy actually require ULAplus because they have carefully defined 64 colour palettes, and look terrible with flashing attributes if you disable ULAplus.

For now, the best thing to do is prepend a short BASIC program to all your dodgy AGD game TAPs, which disables ULAplus and then does LOAD "".

You can disable ULAplus in NextBASIC with:

Code: Select all

REG 133,% REG 133 & @11111110 
Where REG reads and writes nextreg values, % specifies an integer expression (needed because REG returns an integer), & is a bitwise AND, and @ is a binary literal prefix.

For standard 48K BASIC it becomes more complicated, because you have to use an OUT/IN port combination to read nextregs, and you don't have a bitwise AND or binary literals either. I don't feel like working that one out unless you really need it ;)

Thanks to Garry L and Allen A, who helped with this answer when I got stuck.
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins
Alcoholics Anonymous
Microbot
Posts: 194
Joined: Mon Oct 08, 2018 3:36 am

Re: ZX Spectrum Next Discussion

Post by Alcoholics Anonymous »

It's very easy to forget (and I forgot too) that when programs are loaded in a legacy mode (48k, 128k, etc), the original roms are put in place. So if the tap is loaded in 128k mode, eg, the REG command will cause a syntax error. There is no choice but to do it with OUTs instead of REG for this case. Luckily the ula+ disable bit is on bit 0 so it's fairly easy on 48k basic too.

10 OUT 9275,133: let a=IN 9531
20 IF (a-2*(INT(a/2))) > 0.5 THEN OUT 9275,133: OUT 9531,a-1
30 LOAD ""

That silly condition is there because I'm not sure if some rounding error in the division will factor in a simpler expression.
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: ZX Spectrum Next Discussion

Post by R-Tape »

Thanks a lot [mention]Seven.FFF[/mention]m [mention]Alcoholics Anonymous[/mention] et al. It looks like it'll be far simpler for me to go into advanced settings every time I load an AGD game. As you say, some do have palettes set.
Alessandro wrote: Thu Apr 09, 2020 10:55 pm Are you referring to the "ULA Plus AGD bug" Dave?

If so, could you please test my AGD-authored games as well? I cleansed all of them of the bug (*) and under emulation they seem to work OK. But I do not own any ULA Plus compatible hardware and would like some feedback especially from the Next.

(*) Except for Cronopios Y Famas, which will also receive a slight update in the future, and Funky Fungus, because it will be soon superseded by the Reloaded edition.
Aye Ale, it's the AGD auto ULA+ thing. I've just loaded these into the Next:

Apulija 13
Doom Pit
Lost in my Spectrum
Seto Taisho to Kazan
Seto Taisho vs Yokai
Sophia 1 & 2

And they appear as you intended—in glorious 'normal' spectrum colours. I'd forgotten how infectious the soundtrack was on Seto vs Yokai!
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: ZX Spectrum Next Discussion

Post by R-Tape »

DouglasReynholm wrote: Thu Apr 09, 2020 11:07 am Got my Yodel email this morning.. only 143 deliveries ahead of me! Sat by the front door like a dog waiting for its owner..
Image

Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then? Did it arrive then?
Post Reply