Files
ci-libretro-fceumm/src/ines.h

378 lines
12 KiB
C
Raw Normal View History

/* FCE Ultra - NES/Famicom Emulator
*
* Copyright notice for this file:
* Copyright (C) 1998 Bero
* Copyright (C) 2002 Xodnizel
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
2014-03-30 22:50:28 +02:00
#ifndef _FCEU_INES_H
#define _FCEU_INES_H
typedef struct {
char ID[4]; /*NES^Z*/
uint8 ROM_size;
uint8 VROM_size;
uint8 ROM_type;
uint8 ROM_type2;
uint8 ROM_type3;
uint8 upper_PRG_CHR_size;
uint8 PRGRAM_size;
uint8 CHRRAM_size;
uint8 Region;
uint8 VS_hardware;
uint8 MiscRoms;
uint8 ExpDevice;
} iNES_HEADER;
extern uint8 *ROM;
extern uint8 *VROM;
extern uint32 ROM_size; /* prg size in 16K chunks */
extern uint32 VROM_size; /* chr size in 8K chunks */
extern iNES_HEADER head;
void NSFVRC6_Init(void);
void NSFMMC5_Init(void);
void NSFAY_Init(void);
void NSFN106_Init(void);
void NSFVRC7_Init(void);
void Mapper1_Init(CartInfo *);
void Mapper4_Init(CartInfo *);
void Mapper5_Init(CartInfo *);
void Mapper6_Init(CartInfo *);
void Mapper8_Init(CartInfo *);
void Mapper9_Init(CartInfo *);
void Mapper10_Init(CartInfo *);
void Mapper11_Init(CartInfo *);
void Mapper12_Init(CartInfo *);
void Mapper15_Init(CartInfo *);
void Mapper16_Init(CartInfo *);
void Mapper17_Init(CartInfo *);
void Mapper18_Init(CartInfo *);
void Mapper19_Init(CartInfo *);
void Mapper21_Init(CartInfo *);
void Mapper22_Init(CartInfo *);
void Mapper23_Init(CartInfo *);
void Mapper24_Init(CartInfo *);
void Mapper25_Init(CartInfo *);
void Mapper26_Init(CartInfo *);
void Mapper28_Init(CartInfo *);
void Mapper29_Init(CartInfo *);
void Mapper31_Init(CartInfo *);
void Mapper32_Init(CartInfo *);
void Mapper33_Init(CartInfo *);
void Mapper34_Init(CartInfo *);
void Mapper35_Init(CartInfo *);
void Mapper36_Init(CartInfo *);
void Mapper37_Init(CartInfo *);
void Mapper38_Init(CartInfo *);
void Mapper40_Init(CartInfo *);
void Mapper41_Init(CartInfo *);
void Mapper42_Init(CartInfo *);
void Mapper43_Init(CartInfo *);
void Mapper44_Init(CartInfo *);
void Mapper45_Init(CartInfo *);
void Mapper46_Init(CartInfo *);
void Mapper47_Init(CartInfo *);
void Mapper48_Init(CartInfo *);
void Mapper49_Init(CartInfo *);
void Mapper50_Init(CartInfo *);
void Mapper51_Init(CartInfo *);
void Mapper52_Init(CartInfo *);
void Mapper57_Init(CartInfo *);
void Mapper58_Init(CartInfo *);
void Mapper59_Init(CartInfo *);
void Mapper60_Init(CartInfo *);
void Mapper61_Init(CartInfo *);
void Mapper62_Init(CartInfo *);
void Mapper63_Init(CartInfo *);
void Mapper64_Init(CartInfo *);
void Mapper65_Init(CartInfo *);
void Mapper67_Init(CartInfo *);
void Mapper68_Init(CartInfo *);
void Mapper69_Init(CartInfo *);
void Mapper70_Init(CartInfo *);
void Mapper71_Init(CartInfo *);
void Mapper72_Init(CartInfo *);
void Mapper73_Init(CartInfo *);
void Mapper74_Init(CartInfo *);
void Mapper75_Init(CartInfo *);
void Mapper76_Init(CartInfo *);
void Mapper77_Init(CartInfo *);
void Mapper78_Init(CartInfo *);
void Mapper79_Init(CartInfo *);
void Mapper80_Init(CartInfo *);
void Mapper82_Init(CartInfo *);
void Mapper83_Init(CartInfo *);
void Mapper85_Init(CartInfo *);
void Mapper86_Init(CartInfo *);
void Mapper87_Init(CartInfo *);
void Mapper88_Init(CartInfo *);
void Mapper89_Init(CartInfo *);
void Mapper90_Init(CartInfo *);
void Mapper91_Init(CartInfo *);
void Mapper92_Init(CartInfo *);
void Mapper93_Init(CartInfo *);
void Mapper94_Init(CartInfo *);
void Mapper95_Init(CartInfo *);
void Mapper96_Init(CartInfo *);
void Mapper97_Init(CartInfo *);
void Mapper99_Init(CartInfo *);
void Mapper101_Init(CartInfo *);
void Mapper103_Init(CartInfo *);
void Mapper104_Init(CartInfo *);
void Mapper105_Init(CartInfo *);
void Mapper106_Init(CartInfo *);
void Mapper107_Init(CartInfo *);
void Mapper108_Init(CartInfo *);
void Mapper111_Init(CartInfo *);
void Mapper112_Init(CartInfo *);
void Mapper113_Init(CartInfo *);
void Mapper114_Init(CartInfo *);
void Mapper115_Init(CartInfo *);
void Mapper116_Init(CartInfo *);
void Mapper117_Init(CartInfo *);
void Mapper119_Init(CartInfo *);
void Mapper120_Init(CartInfo *);
void Mapper121_Init(CartInfo *);
void Mapper125_Init(CartInfo *);
void Mapper126_Init(CartInfo *);
2024-06-10 14:30:55 +02:00
void Mapper128_Init(CartInfo *);
void Mapper132_Init(CartInfo *);
void Mapper134_Init(CartInfo *);
void Mapper136_Init(CartInfo *);
void Mapper140_Init(CartInfo *);
void Mapper144_Init(CartInfo *);
void Mapper147_Init(CartInfo *);
void Mapper151_Init(CartInfo *);
void Mapper152_Init(CartInfo *);
void Mapper153_Init(CartInfo *);
void Mapper154_Init(CartInfo *);
void Mapper155_Init(CartInfo *);
void Mapper156_Init(CartInfo *);
void Mapper157_Init(CartInfo *);
2017-05-10 04:07:50 +08:00
void Mapper158_Init(CartInfo *);
void Mapper159_Init(CartInfo *);
void Mapper162_Init(CartInfo *);
void Mapper163_Init(CartInfo *);
void Mapper164_Init(CartInfo *);
void Mapper165_Init(CartInfo *);
void Mapper166_Init(CartInfo *);
void Mapper167_Init(CartInfo *);
void Mapper168_Init(CartInfo *);
void Mapper170_Init(CartInfo *);
void Mapper171_Init(CartInfo *);
void Mapper172_Init(CartInfo *);
void Mapper173_Init(CartInfo *);
2024-05-22 14:55:21 +02:00
void Mapper174_Init(CartInfo *);
void Mapper175_Init(CartInfo *);
void Mapper176_Init(CartInfo *);
void Mapper177_Init(CartInfo *);
void Mapper178_Init(CartInfo *);
void Mapper180_Init(CartInfo *);
void Mapper181_Init(CartInfo *);
void Mapper183_Init(CartInfo *);
void Mapper184_Init(CartInfo *);
void Mapper185_Init(CartInfo *);
void Mapper186_Init(CartInfo *);
void Mapper187_Init(CartInfo *);
void Mapper188_Init(CartInfo *);
void Mapper189_Init(CartInfo *);
void Mapper191_Init(CartInfo *);
void Mapper192_Init(CartInfo *);
void Mapper193_Init(CartInfo *);
void Mapper194_Init(CartInfo *);
void Mapper195_Init(CartInfo *);
void Mapper196_Init(CartInfo *);
void Mapper197_Init(CartInfo *);
void Mapper198_Init(CartInfo *);
void Mapper199_Init(CartInfo *);
void Mapper200_Init(CartInfo *);
void Mapper201_Init(CartInfo *);
void Mapper202_Init(CartInfo *);
void Mapper203_Init(CartInfo *);
void Mapper204_Init(CartInfo *);
void Mapper205_Init(CartInfo *);
void Mapper206_Init(CartInfo *);
void Mapper207_Init(CartInfo *);
void Mapper208_Init(CartInfo *);
void Mapper209_Init(CartInfo *);
void Mapper210_Init(CartInfo *);
void Mapper211_Init(CartInfo *);
void Mapper212_Init(CartInfo *);
void Mapper213_Init(CartInfo *);
void Mapper214_Init(CartInfo *);
void Mapper216_Init(CartInfo *);
void Mapper217_Init(CartInfo *);
2020-02-18 09:46:47 +08:00
void Mapper218_Init(CartInfo *);
void Mapper220_Init(CartInfo *);
void Mapper222_Init(CartInfo *);
void Mapper224_Init(CartInfo *);
void Mapper225_Init(CartInfo *);
void Mapper226_Init(CartInfo *);
void Mapper227_Init(CartInfo *);
void Mapper228_Init(CartInfo *);
void Mapper229_Init(CartInfo *);
void Mapper230_Init(CartInfo *);
void Mapper231_Init(CartInfo *);
void Mapper232_Init(CartInfo *);
void Mapper233_Init(CartInfo *);
void Mapper234_Init(CartInfo *);
void Mapper235_Init(CartInfo *);
void Mapper236_Init(CartInfo *);
void Mapper237_Init(CartInfo *);
void Mapper240_Init(CartInfo *);
void Mapper241_Init(CartInfo *);
void Mapper242_Init(CartInfo *);
void Mapper244_Init(CartInfo *);
void Mapper245_Init(CartInfo *);
void Mapper246_Init(CartInfo *);
void Mapper249_Init(CartInfo *);
void Mapper250_Init(CartInfo *);
void Mapper252_Init(CartInfo *);
void Mapper253_Init(CartInfo *);
void Mapper254_Init(CartInfo *);
void Mapper255_Init(CartInfo *);
2014-03-30 22:50:28 +02:00
void GN45_Init(CartInfo *info); /* m361, m366 */
void Mapper272_Init(CartInfo *);
2024-06-09 18:16:27 +02:00
void Mapper277_Init(CartInfo *);
void Mapper281_Init(CartInfo *);
void Mapper282_Init(CartInfo *);
void Mapper283_Init(CartInfo *);
void Mapper291_Init(CartInfo *);
void Mapper295_Init(CartInfo *);
void J2282_Init(CartInfo *);
2024-05-24 07:11:20 +02:00
void Mapper265_Init(CartInfo *);
2020-01-29 20:00:22 +08:00
void Mapper267_Init(CartInfo *);
void Mapper268_Init(CartInfo *);
void Mapper269_Init(CartInfo *);
2022-02-18 21:05:50 +08:00
void Mapper271_Init(CartInfo *);
2020-01-28 13:45:59 +08:00
void Mapper288_Init(CartInfo *);
2020-11-16 18:13:51 +08:00
void Mapper293_Init(CartInfo *);
2022-04-02 20:25:09 +02:00
void Mapper294_Init(CartInfo *);
void Mapper297_Init(CartInfo *);
2022-04-02 17:48:19 +02:00
void Mapper310_Init(CartInfo *);
void Mapper319_Init(CartInfo *);
2022-02-17 16:02:40 +08:00
void Mapper326_Init(CartInfo *);
void Mapper330_Init(CartInfo *);
2022-02-07 15:23:44 +08:00
void Mapper334_Init(CartInfo *);
void Mapper351_Init(CartInfo *);
void Mapper353_Init(CartInfo *);
2022-12-29 21:57:02 +01:00
void Mapper354_Init(CartInfo *);
void Mapper356_Init(CartInfo *);
2020-01-28 02:05:10 +08:00
void Mapper357_Init(CartInfo *);
void Mapper358_Init(CartInfo *);
void Mapper359_Init(CartInfo *);
2020-02-01 09:33:44 +08:00
void Mapper360_Init(CartInfo *);
2024-06-10 19:56:27 +02:00
void Mapper362_Init(CartInfo *);
2022-02-10 20:50:21 +08:00
void Mapper364_Init(CartInfo *);
2022-02-06 20:17:55 +08:00
void Mapper368_Init(CartInfo *);
2020-03-07 01:48:36 +08:00
void Mapper369_Init(CartInfo *);
void Mapper370_Init(CartInfo *);
2020-01-28 11:06:43 +08:00
void Mapper372_Init(CartInfo *);
2020-01-29 01:09:31 +08:00
void Mapper374_Init(CartInfo *);
2022-02-19 02:09:56 +08:00
void Mapper375_Init(CartInfo *);
2021-10-22 22:29:26 +02:00
void Mapper376_Init(CartInfo *);
2022-02-06 19:22:43 +08:00
void Mapper377_Init(CartInfo *);
2020-03-24 01:34:03 +08:00
void Mapper380_Init(CartInfo *);
2020-01-28 12:07:47 +08:00
void Mapper381_Init(CartInfo *);
2020-03-24 01:34:03 +08:00
void Mapper382_Init(CartInfo *);
2021-11-14 16:11:24 +01:00
void Mapper383_Init(CartInfo *);
2022-02-19 02:23:06 +08:00
void Mapper385_Init(CartInfo *);
void Mapper386_Init(CartInfo *);
void Mapper387_Init(CartInfo *);
void Mapper388_Init(CartInfo *);
2020-03-21 20:11:03 +08:00
void Mapper389_Init(CartInfo *);
2020-01-29 03:10:11 +08:00
void Mapper390_Init(CartInfo *);
void Mapper391_Init(CartInfo *);
2022-02-10 20:50:21 +08:00
void Mapper393_Init(CartInfo *);
2022-03-02 13:35:56 +01:00
void Mapper394_Init(CartInfo *);
void Mapper395_Init(CartInfo *);
2022-02-06 18:05:36 +08:00
void Mapper396_Init(CartInfo *);
void Mapper397_Init(CartInfo *);
2024-06-10 19:56:27 +02:00
void Mapper398_Init(CartInfo *);
2020-11-17 03:29:24 +08:00
void Mapper401_Init(CartInfo *);
void Mapper403_Init(CartInfo *);
2022-02-06 21:35:17 +08:00
void Mapper404_Init(CartInfo *);
void Mapper409_Init(CartInfo *);
2022-02-06 21:10:29 +08:00
void Mapper410_Init(CartInfo *);
2020-10-11 22:47:48 +08:00
void Mapper411_Init(CartInfo *);
void Mapper412_Init(CartInfo *);
void Mapper414_Init(CartInfo *);
2022-02-07 13:17:21 +08:00
void Mapper415_Init(CartInfo *);
2022-02-07 12:45:48 +08:00
void Mapper416_Init(CartInfo *);
2022-02-12 10:13:30 +08:00
void Mapper417_Init(CartInfo *);
2024-06-09 18:20:17 +02:00
void Mapper420_Init(CartInfo *);
void Mapper421_Init(CartInfo *);
void Mapper422_Init(CartInfo *);
void Mapper428_Init(CartInfo *);
void Mapper429_Init(CartInfo *);
2024-06-09 18:27:44 +02:00
void Mapper430_Init(CartInfo *);
void Mapper431_Init(CartInfo *);
2022-02-07 14:54:31 +08:00
void Mapper432_Init(CartInfo *);
2022-02-10 22:45:05 +08:00
void Mapper433_Init(CartInfo *);
void Mapper434_Init(CartInfo *);
2022-03-04 22:16:38 +01:00
void Mapper435_Init(CartInfo *);
void Mapper436_Init(CartInfo *);
void Mapper437_Init(CartInfo *);
void Mapper438_Init(CartInfo *);
2024-05-24 06:55:19 +02:00
void Mapper439_Init(CartInfo *);
2022-07-27 11:07:25 +02:00
void Mapper441_Init(CartInfo *);
void Mapper443_Init(CartInfo *);
void Mapper444_Init(CartInfo *);
2024-05-27 23:00:58 +02:00
void Mapper448_Init(CartInfo *);
2022-07-27 13:35:33 +02:00
void Mapper449_Init(CartInfo *);
void Mapper452_Init(CartInfo *);
2024-06-09 18:32:06 +02:00
void Mapper453_Init(CartInfo *);
2024-06-10 19:52:48 +02:00
void Mapper454_Init(CartInfo *);
2022-07-27 13:47:23 +02:00
void Mapper455_Init(CartInfo *);
void Mapper456_Init(CartInfo *);
2024-06-09 18:35:16 +02:00
void Mapper457_Init(CartInfo *);
2024-06-09 18:37:35 +02:00
void Mapper458_Init(CartInfo *);
2022-07-27 11:56:35 +02:00
void Mapper459_Init(CartInfo *);
2022-07-27 13:24:30 +02:00
void Mapper460_Init(CartInfo *);
2022-07-27 12:48:05 +02:00
void Mapper461_Init(CartInfo *);
2022-07-27 11:27:59 +02:00
void Mapper463_Init(CartInfo *);
2022-07-27 11:51:30 +02:00
void Mapper464_Init(CartInfo *);
2022-07-27 12:44:40 +02:00
void Mapper465_Init(CartInfo *);
2022-07-27 11:39:58 +02:00
void Mapper466_Init(CartInfo *);
2022-04-02 22:03:41 +02:00
void Mapper467_Init(CartInfo *);
2022-12-30 23:56:50 +01:00
void Mapper468_Init(CartInfo *);
2024-05-25 09:23:37 +02:00
void Mapper500_Init(CartInfo *);
2024-05-25 09:27:13 +02:00
void Mapper501_Init(CartInfo *);
void Mapper502_Init(CartInfo *);
2020-02-06 20:02:32 +08:00
void Mapper516_Init(CartInfo *);
void Mapper523_Init(CartInfo *);
2024-05-25 09:38:53 +02:00
void Mapper528_Init(CartInfo *);
2020-02-01 09:33:44 +08:00
void Mapper533_Init(CartInfo *);
2020-02-05 12:00:54 +08:00
void Mapper534_Init(CartInfo *);
2020-01-28 11:42:04 +08:00
void Mapper538_Init(CartInfo *);
2020-02-05 12:00:54 +08:00
void Mapper539_Init(CartInfo *);
void Mapper540_Init(CartInfo *);
2020-01-28 11:06:43 +08:00
void Mapper541_Init(CartInfo *);
void Mapper543_Init(CartInfo *);
2020-02-06 20:02:32 +08:00
void Mapper550_Init(CartInfo *);
void Mapper553_Init(CartInfo *);
2020-10-11 20:25:44 +08:00
void Mapper554_Init(CartInfo *);
2024-05-27 23:00:58 +02:00
void Mapper556_Init(CartInfo *);
void Mapper558_Init(CartInfo *);
2020-01-28 02:05:10 +08:00
2014-03-30 22:50:28 +02:00
#endif