Carnivore 2: c2man does not find cartridge

Page 2/3
1 | | 3

By Grauw

Ascended (8621)

Grauw's picture

12-01-2020, 23:17

Alexey wrote:
Grauw wrote:

If there is a way to detect the Carnivore2 in the default configuration, not only c2man could benefit from it, but also VGMPlay Smile.

This is no brainer. Just look for the the boot block's ID "CMFCCFRC" in the non-expanded slot or in the zero's subslot of an expanded slot at 0x4010. To detect whether the slot is expanded or not, read first 2 bytes of each subslot except x.2. The first 2 bytes will be "AB" - those are the boot block, IDE bios or/and FMPAC bios.

However, if the cartridge is configured as IDE only, FMPAC only or RAM only, the ID will not be visible anywhere. So detecting the Carnivore2 in the non-default configuration may be a real challenge. The same happens when Carnivore2 has the game/software ROM with the call-based start launched. You will not see the boot block in this mode either.

Hm I do detect by CMFCCFRC but still I get reports that often it is not found. But I don’t think people run Carnivore2 in IDE, FMPAC or RAM only mode very often…? My theory was that this ID string is only found when pressing ESC in the boot block, not when selecting DefConfig. This would also explain the behaviour that skumlerud reports:

skumlerud wrote:
Quote:

Use ESC key in the boot block to boot to DOS. Then run c2man utility. Is the cartridge automatically detected in the slot?

It is. If I select "DefConfig" instead it's not.

I just tried in the openMSX emulation and I can confirm this; when I press ESC on the boot screen VGMPlay detects the Carnivore2, when I press ENTER it doesn’t (hey, I found my repro case! Smile).

Also Pencioner asked around for me earlier and reported this:

Pencioner wrote:

So, i have the info from the engineer who designed C2 hardware. It seems that C2 can be detected only if it was botted with F5 pressed (the same goes for Carnivore tools for changing setting and flashing new software - if you run with F5 pressed, then it loads in basic configuration with IDE+RAM and with main ROM visible and configuration registers open, then you know that device is in system). So it is not possible to improve detection, it works only in this special case - the device has been booted in maintenance mode

Maybe it could be a matter of changing the DefConfig configuration? Or adding an ID string to the IDE, FMPAC or SCC ROM. Or combining the SCC with the boot ROM. Trying to think of solutions which don’t require an FPGA update.

p.s. I’ll get a Carnivore2 of my own once the next batch is produced.

By Louthrax

Prophet (2147)

Louthrax's picture

12-01-2020, 23:45

Maybe I missed something: Carnivore 2 is emulated in openMSX?

By Alexey

Guardian (2537)

Alexey's picture

12-01-2020, 23:52

Louthrax wrote:

Maybe I missed something: Carnivore 2 is emulated in openMSX?

Yes, almost all existing functionality is properly emulated.

By Manuel

Ascended (15979)

Manuel's picture

13-01-2020, 00:02

Alexey wrote:
Louthrax wrote:

Maybe I missed something: Carnivore 2 is emulated in openMSX?

Yes, almost all existing functionality is properly emulated.

It was new in openMSX 0.15.0, see the release notes Smile

By Alexey

Guardian (2537)

Alexey's picture

16-01-2020, 12:17

I am currently working on the solution to enable the cartridge's auto-detection after starting from the DefConfig and also on the double-restart feature for the cold boot (to mitigate the problems with incomplete C2's initialization on computers that boot in less than 150ms).

Also we have made some changes in the firmware to support new features that increase the cartridge's flexibility and usability. They will be probably announced after Nijmegen. I hope to complete coding these by the end of January.

By sdsnatcher73

Paladin (731)

sdsnatcher73's picture

16-01-2020, 12:37

Alexey wrote:

I am currently working on the solution to enable the cartridge's auto-detection after starting from the DefConfig and also on the double-restart feature for the cold boot (to mitigate the problems with incomplete C2's initialization on computers that boot in less than 150ms).

Also we have made some changes in the firmware to support new features that increase the cartridge's flexibility and usability. They will be probably announced after Nijmegen. I hope to complete coding these by the end of January.

Keep 'em coming, those new features Wink

By Grauw

Ascended (8621)

Grauw's picture

16-01-2020, 20:55

Alexey wrote:

I am currently working on the solution to enable the cartridge's auto-detection after starting from the DefConfig

Are you going to change R*Reg to 0 in the DefConfig? That indeed seems the easiest solution. I was reading up on the Carnivore2 configuration register, thinking of using it to improve the C2 detection in VGMPlay, but if the simple “CMFCCFRC” ID string check will work it is much simpler and saves a lot of trouble. So, looking forward Smile.

Also looking forward to what else you guys will cook up.

By Alexey

Guardian (2537)

Alexey's picture

20-01-2020, 12:30

I already fixed the problem with detection after applying the DefConfig. I also fixed the C2MAN to automatically apply the patch to the default entry when you add any new ROM into Carnivore.

Now the main question. I know that some cartridges work in combination. For example Game Master 1/2 with Konami games. Are there any other possible combinations of cartridges that make sense to support?

Also is it possible to gave a game in slot 1 and Game Master in slot 2 and somehow call the Game Master with a hotkey?

By sdsnatcher73

Paladin (731)

sdsnatcher73's picture

20-01-2020, 14:40

Here are the Konami combinations besides GM1/GM2 in lower slot than game (which is the ‘normal’ usage).

By Alexey

Guardian (2537)

Alexey's picture

20-01-2020, 15:02

Thanks!

Page 2/3
1 | | 3