SofaRun 6.0 released

Страница 2/11
1 | | 3 | 4 | 5 | 6 | 7

By OeiOeiVogeltje

Paragon (1368)

Аватар пользователя OeiOeiVogeltje

29-12-2019, 19:17

NICE!!

By Louthrax

Prophet (2282)

Аватар пользователя Louthrax

29-12-2019, 19:44

By Louthrax

Prophet (2282)

Аватар пользователя Louthrax

29-12-2019, 19:49

Grauw wrote:

Very cool!
What is a “non-contiguous MFRSCC+SD device” ?

It depends on your model, but some MFRSCC+SD have a hardware "hole" above 1MB in the flash memory. You need to skip this hole for the pages above 1MB, and that requires patching. There's no easy way to auto-detect that without flashing something, that's why it's a setting. Just try to launch Pointless FIghting with and without that option to see if your MFRSCC+SD is contiguous or not (if it's contiguous, it's better to avoid the patching process, and put that in SofaRun's default settings).

By Louthrax

Prophet (2282)

Аватар пользователя Louthrax

29-12-2019, 20:03

AxelStone wrote:

Hello, just tried in my Zemmix and I can't get working 2nd SCC in patched games like Gradius or Nemesis 3. I can't see any option to activate 2 SCCs, but in previous version (I used SR 5.0 until now) I got samples without any required config.

How can I get working both SCCs? Thanks.

Thanks for the feedback, might be related to the change in OCM configuration. Checking that now on my Zemmix...

EDIT: Works here with "NEMESIS 3 Enhanced Version 1.03" if I put a SCC cartridge in Zemmix slot 1. But wait, do you mean it was working before without any external SCC cartridge ? If yes, I never realized the Zemmix could have 2x SCC "internal" SCC sounds ! (in that case I could add an option for that)

By tfh

Prophet (2430)

Аватар пользователя tfh

29-12-2019, 20:14

Louthrax][quote=AxelStone wrote:

But wait, do you mean it was working before without any external SCC cartridge ? If yes, I never realized the Zemmix could have 2x SCC "internal" SCC sounds ! (in that case I could add an option for that)

Yep, You can have a MegaSCC+ in both slot1 & slot2:

By Louthrax

Prophet (2282)

Аватар пользователя Louthrax

29-12-2019, 20:21

Ok, I'll add an OCM setting for ROM "External slot 1" that will be disabled by default. It can still be useful to have external slot 1 (Music Module, SRAM cartridge...).

By Grauw

Ascended (9345)

Аватар пользователя Grauw

29-12-2019, 23:59

Louthrax wrote:
Grauw wrote:

Very cool!
What is a “non-contiguous MFRSCC+SD device” ?

It depends on your model, but some MFRSCC+SD have a hardware "hole" above 1MB in the flash memory. You need to skip this hole for the pages above 1MB, and that requires patching. There's no easy way to auto-detect that without flashing something, that's why it's a setting. Just try to launch Pointless FIghting with and without that option to see if your MFRSCC+SD is contiguous or not (if it's contiguous, it's better to avoid the patching process, and put that in SofaRun's default settings).

Humm, that sounds similar to the problem I run in to with my PCM player on the MegaFlashROM SCC+ SD. Though rather than a hole it seems like the ASCII16 bank number wraps around (sometimes at 1MB sometimes at 2MB). I figured either OPFXSD misconfigured the mapper or there is an issue with the FPGA code for that mapper. If you have more details about the nature of the problem I’d love to hear more, maybe it can help to determine a workaround.

By Louthrax

Prophet (2282)

Аватар пользователя Louthrax

30-12-2019, 00:11

Hi Grauw,

Here's what I have in SofaROM code to handle this:

void vPatchMegaFlashROMSCCPlusSD(unsigned char _ucMapper)
{
	switch(_ucMapper)
	{
	case ROMTYPE_ASCII16:
		if ((g_lFileSize > 1024l*1024l) && (!g_bContiguousMFRSCCSD))
		{
			vLoadSegMFRSCCSD();
			g_bPatchROMSwitch = true;
	
			MEM_poke(M_SP(BANK_4000_7FFF) + 0, 0xCD);
			MEM_pokew(M_SP(BANK_4000_7FFF) + 1, &set4000_7FFF_MFRSCCSD);
	
			MEM_poke(M_SP(BANK_8000_BFFF) + 0, 0xCD);
			MEM_pokew(M_SP(BANK_8000_BFFF) + 1, &set8000_BFFF_MFRSCCSD);
			
		}
		break;
		
	default:
		break;
	}
}


set4000_7FFF_MFRSCCSD:	push	af

	cp	0x40
	jp	c,noAdjust1
	set	7,a
noAdjust1:	ld	(0x6000),a

	pop	af
	ret

;******************************************************************************

set8000_BFFF_MFRSCCSD:	push	af

	cp	0x40
	jp	c,noAdjust2
	set	7,a
noAdjust2:	ld	(0x7000),a

	pop	af
	ret

If the ROM is ASCII16 and greater than 1MB, then patch should be applied (set bit 7 if page greater than 0x40).

By AxelStone

Prophet (2764)

Аватар пользователя AxelStone

30-12-2019, 00:32

Louthrax wrote:
AxelStone wrote:

Hello, just tried in my Zemmix and I can't get working 2nd SCC in patched games like Gradius or Nemesis 3. I can't see any option to activate 2 SCCs, but in previous version (I used SR 5.0 until now) I got samples without any required config.

How can I get working both SCCs? Thanks.

Thanks for the feedback, might be related to the change in OCM configuration. Checking that now on my Zemmix...

EDIT: Works here with "NEMESIS 3 Enhanced Version 1.03" if I put a SCC cartridge in Zemmix slot 1. But wait, do you mean it was working before without any external SCC cartridge ? If yes, I never realized the Zemmix could have 2x SCC "internal" SCC sounds ! (in that case I could add an option for that)

Yes even if you don't select Mega SCC the second internal SCC is acrivated on Zemmix. I have Mega SCC disabled and I get voices in patched games with previous versión Smile

By Grauw

Ascended (9345)

Аватар пользователя Grauw

30-12-2019, 00:44

Cool thanks! That really does look like an FPGA bug. At least good to know that not all models are affected by this and (I hope) newer built carts have it fixed. I’ll play around with it a bit.

Страница 2/11
1 | | 3 | 4 | 5 | 6 | 7