Next always defaults to YM

The Speccy's spritely young offspring. Discuss everything from FPGA to ZX
Post Reply
zork
Drutt
Posts: 1
Joined: Wed Apr 24, 2024 6:53 am

Next always defaults to YM

Post by zork »

Hi,
I am trying to change the apparent default from YM to AY on KS2. It appears I can do that from NMI menu once the system booted but the setting is not persisting across reboots.

I have tried to do it from the boot menu (hit space while booting), but whatever I choose there and can see in config.ini is not reflected when I hit NMI button later. NMI menu always shows YM as default.

Any way to change the default YM to AY so it persists across reboots?
Xela
Dizzy
Posts: 52
Joined: Tue Apr 18, 2023 8:17 am

Re: Next always defaults to YM

Post by Xela »

zork wrote: Wed Apr 24, 2024 6:58 am Any way to change the default YM to AY so it persists across reboots?
0x06 (06) => Peripheral 2 Setting
(R/W)
bit 7 = Enable F8 cpu speed hotkey and F5/F6 expansion bus hotkeys (soft reset = 1)
bit 6 = Divert BEEP only to internal speaker (hard reset = 0)
bit 5 = Enable F3 50/60 Hz hotkey (soft reset = 1)
bit 4 = Enable divmmc nmi by DRIVE button (hard reset = 0)
bit 3 = Enable multiface nmi by M1 button (hard reset = 0)
bit 2 = PS/2 mode (0 = keyboard primary, 1 = mouse primary; config mode only)
bits 1-0 = Audio chip mode (00 = YM, 01 = AY, 10 = ZXN-8950, 11 = Hold all AY in reset)

Try to add

Code: Select all

reg 6,173
to autoexec.bas
Post Reply