From 76cc9a54dc9be60be75d7216c67c7865d023bb7c Mon Sep 17 00:00:00 2001 From: Rupert Carmichael <5050061-carmiker@users.noreply.gitlab.com> Date: Tue, 24 Sep 2024 01:26:20 -0400 Subject: [PATCH] Database: Add entries for Competition carts Entries are added to Super Famicom.bml for the Campus Challenge '92 and PowerFest '94 competition cartridges. Additionally, the mask for the NEC DSP on the EVENT-CC92 board is modified as per Snes Central: https://snescentral.com/article.php?id=0790 --- bsnes/Database/Super Famicom.bml | 113 ++++++++++++++++++ bsnes/target-bsnes/resource/resource.cpp | 2 +- bsnes/target-bsnes/resource/system/boards.bml | 2 +- 3 files changed, 115 insertions(+), 2 deletions(-) diff --git a/bsnes/Database/Super Famicom.bml b/bsnes/Database/Super Famicom.bml index 6567fc09..a54d6ee9 100644 --- a/bsnes/Database/Super Famicom.bml +++ b/bsnes/Database/Super Famicom.bml @@ -122,6 +122,119 @@ game oscillator frequency: 21440000 +// Super Famicom (Competition Carts) + +database + revision: 2024-09-21 + +game + sha256: 67c1a4917f4cd0fd704b83330a7e91763736c2d2a10a7e12318fdac54cd9c6c6 + label: Super Nintendo Campus Challenge 1992 (Japan) (En) + name: Super Nintendo Campus Challenge 1992 (Japan) (En) + title: Campus Challenge '92 + region: NTSC + revision: 1.0 + board: EVENT-CC92 + memory + type: ROM + size: 0x40000 + content: Program + memory + type: ROM + size: 0x80000 + content: Level-1 + memory + type: ROM + size: 0x80000 + content: Level-2 + memory + type: ROM + size: 0x80000 + content: Level-3 + memory + type: RAM + size: 0x2000 + content: Save + volatile + memory + type: ROM + size: 0x1800 + content: Program + manufacturer: NEC + architecture: uPD7725 + identifier: DSP1 + memory + type: ROM + size: 0x800 + content: Data + manufacturer: NEC + architecture: uPD7725 + identifier: DSP1 + memory + type: RAM + size: 0x200 + content: Data + manufacturer: NEC + architecture: uPD7725 + identifier: DSP1 + volatile + oscillator + frequency: 8000000 + +game + sha256: 5443a97e9c40e25821a8fb8c91b63c7bd8c3060d9ff888ee6c573b87b53935f4 + label: PowerFest 94 (USA) + name: PowerFest 94 (USA) + title: PowerFest '94 + region: NTSC + revision: 1.0 + board: EVENT-PF94 + memory + type: ROM + size: 0x40000 + content: Program + memory + type: ROM + size: 0x80000 + content: Level-1 + memory + type: ROM + size: 0x80000 + content: Level-2 + memory + type: ROM + size: 0x100000 + content: Level-3 + memory + type: RAM + size: 0x2000 + content: Save + volatile + memory + type: ROM + size: 0x1800 + content: Program + manufacturer: NEC + architecture: uPD7725 + identifier: DSP1 + memory + type: ROM + size: 0x800 + content: Data + manufacturer: NEC + architecture: uPD7725 + identifier: DSP1 + memory + type: RAM + size: 0x200 + content: Data + manufacturer: NEC + architecture: uPD7725 + identifier: DSP1 + volatile + oscillator + frequency: 8000000 + //Super Famicom (JPN) database diff --git a/bsnes/target-bsnes/resource/resource.cpp b/bsnes/target-bsnes/resource/resource.cpp index f8554e74..ff1a45c0 100644 --- a/bsnes/target-bsnes/resource/resource.cpp +++ b/bsnes/target-bsnes/resource/resource.cpp @@ -2553,7 +2553,7 @@ const unsigned char Boards[32230] = { 61,76,101,118,101,108,45,51,10,32,32,32,32,100,105,112,10,32,32,112,114,111,99,101,115,115,111,114,32,109,97,110, 117,102,97,99,116,117,114,101,114,61,78,69,67,32,97,114,99,104,105,116,101,99,116,117,114,101,61,117,80,68,55,55, 50,53,10,32,32,32,32,109,97,112,32,97,100,100,114,101,115,115,61,50,48,45,51,102,44,97,48,45,98,102,58,56, - 48,48,48,45,102,102,102,102,32,109,97,115,107,61,48,120,55,102,102,102,10,32,32,32,32,109,101,109,111,114,121,32, + 48,48,48,45,102,102,102,102,32,109,97,115,107,61,48,120,51,102,102,102,10,32,32,32,32,109,101,109,111,114,121,32, 116,121,112,101,61,82,79,77,32,99,111,110,116,101,110,116,61,80,114,111,103,114,97,109,32,97,114,99,104,105,116,101, 99,116,117,114,101,61,117,80,68,55,55,50,53,10,32,32,32,32,109,101,109,111,114,121,32,116,121,112,101,61,82,79, 77,32,99,111,110,116,101,110,116,61,68,97,116,97,32,97,114,99,104,105,116,101,99,116,117,114,101,61,117,80,68,55, diff --git a/bsnes/target-bsnes/resource/system/boards.bml b/bsnes/target-bsnes/resource/system/boards.bml index b40029b4..b3e584b5 100644 --- a/bsnes/target-bsnes/resource/system/boards.bml +++ b/bsnes/target-bsnes/resource/system/boards.bml @@ -676,7 +676,7 @@ board: EVENT-CC92 memory type=ROM content=Level-3 dip processor manufacturer=NEC architecture=uPD7725 - map address=20-3f,a0-bf:8000-ffff mask=0x7fff + map address=20-3f,a0-bf:8000-ffff mask=0x3fff memory type=ROM content=Program architecture=uPD7725 memory type=ROM content=Data architecture=uPD7725 memory type=RAM content=Data architecture=uPD7725