⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mcr3.c

📁 这个是延伸mame的在wince平台下的游戏模拟器的代码
💻 C
📖 第 1 页 / 共 5 页
字号:

struct GameDriver tapper_driver =
{
	__FILE__,
	0,
	"tapper",
	"Tapper (Budweiser)",
	"1983",
	"Bally Midway",
	"Christopher Kirmse\nAaron Giles\nNicola Salmoria",
	0,
	&tapper_machine_driver,
	0,

	tapper_rom,
	0, 0,
	0,
	0,	/* sound_prom */

	tapper_input_ports,

	0, 0,0,
	ORIENTATION_DEFAULT,

	tapper_hiload, tapper_hisave
};

struct GameDriver sutapper_driver =
{
	__FILE__,
	&tapper_driver,
	"sutapper",
	"Tapper (Suntory)",
	"1983",
	"Bally Midway",
	"Christopher Kirmse\nAaron Giles\nNicola Salmoria",
	0,
	&tapper_machine_driver,
	0,

	sutapper_rom,
	0, 0,
	0,
	0,	/* sound_prom */

	tapper_input_ports,

	0, 0,0,
	ORIENTATION_DEFAULT,

	tapper_hiload, tapper_hisave
};

struct GameDriver rbtapper_driver =
{
	__FILE__,
	&tapper_driver,
	"rbtapper",
	"Tapper (Root Beer)",
	"1984",
	"Bally Midway",
	"Christopher Kirmse\nAaron Giles\nNicola Salmoria",
	0,
	&tapper_machine_driver,
	0,

	rbtapper_rom,
	0, 0,
	0,
	0,	/* sound_prom */

	tapper_input_ports,

	0, 0,0,
	ORIENTATION_DEFAULT,

	tapper_hiload, tapper_hisave
};


ROM_START( dotron_rom )
	ROM_REGION(0x10000)	/* 64k for code */
	ROM_LOAD( "loc-pg0.1c",   0x0000, 0x4000, 0xba0da15f )
	ROM_LOAD( "loc-pg1.2c",   0x4000, 0x4000, 0xdc300191 )
	ROM_LOAD( "loc-pg2.3c",   0x8000, 0x4000, 0xab0b3800 )
	ROM_LOAD( "loc-pg1.4c",   0xc000, 0x2000, 0xf98c9f8e )

	ROM_REGION_DISPOSE(0x14000)	/* temporary space for graphics (disposed after conversion) */
	ROM_LOAD( "loc-bg2.6f",   0x00000, 0x2000, 0x40167124 )
	ROM_LOAD( "loc-bg1.5f",   0x02000, 0x2000, 0xbb2d7a5d )
	ROM_LOAD( "loc-a.cp0",    0x04000, 0x2000, 0xb35f5374 )
	ROM_LOAD( "loc-b.cp9",    0x06000, 0x2000, 0x565a5c48 )
	ROM_LOAD( "loc-c.cp8",    0x08000, 0x2000, 0xef45d146 )
	ROM_LOAD( "loc-d.cp7",    0x0a000, 0x2000, 0x5e8a3ef3 )
	ROM_LOAD( "loc-e.cp6",    0x0c000, 0x2000, 0xce957f1a )
	ROM_LOAD( "loc-f.cp5",    0x0e000, 0x2000, 0xd26053ce )
	ROM_LOAD( "loc-g.cp4",    0x10000, 0x2000, 0x57a2b1ff )
	ROM_LOAD( "loc-h.cp3",    0x12000, 0x2000, 0x3bb4d475 )

	ROM_REGION(0x10000)	/* 64k for the audio CPU */
	ROM_LOAD( "sound0.a7",    0x0000, 0x1000, 0x6d39bf19 )
	ROM_LOAD( "sound1.a8",    0x1000, 0x1000, 0xac872e1d )
	ROM_LOAD( "sound2.a9",    0x2000, 0x1000, 0xe8ef6519 )
	ROM_LOAD( "sound3.a10",   0x3000, 0x1000, 0x6b5aeb02 )

	ROM_REGION(0x10000)	/* 64k for the audio CPU */
	ROM_LOAD( "pre.u3",       0xd000, 0x1000, 0xc3d0f762 )
	ROM_LOAD( "pre.u4",       0xe000, 0x1000, 0x7ca79b43 )
	ROM_LOAD( "pre.u5",       0xf000, 0x1000, 0x24e9618e )
ROM_END

ROM_START( dotrone_rom )
	ROM_REGION(0x10000)	/* 64k for code */
	ROM_LOAD( "loc-cpu1",     0x0000, 0x4000, 0xeee31b8c )
	ROM_LOAD( "loc-cpu2",     0x4000, 0x4000, 0x75ba6ad3 )
	ROM_LOAD( "loc-cpu3",     0x8000, 0x4000, 0x94bb1a0e )
	ROM_LOAD( "loc-cpu4",     0xc000, 0x2000, 0xc137383c )

	ROM_REGION_DISPOSE(0x14000)	/* temporary space for graphics (disposed after conversion) */
	ROM_LOAD( "loc-bg2.6f",   0x00000, 0x2000, 0x40167124 )
	ROM_LOAD( "loc-bg1.5f",   0x02000, 0x2000, 0xbb2d7a5d )
	ROM_LOAD( "loc-a.cp0",    0x04000, 0x2000, 0xb35f5374 )
	ROM_LOAD( "loc-b.cp9",    0x06000, 0x2000, 0x565a5c48 )
	ROM_LOAD( "loc-c.cp8",    0x08000, 0x2000, 0xef45d146 )
	ROM_LOAD( "loc-d.cp7",    0x0a000, 0x2000, 0x5e8a3ef3 )
	ROM_LOAD( "loc-e.cp6",    0x0c000, 0x2000, 0xce957f1a )
	ROM_LOAD( "loc-f.cp5",    0x0e000, 0x2000, 0xd26053ce )
	ROM_LOAD( "loc-g.cp4",    0x10000, 0x2000, 0x57a2b1ff )
	ROM_LOAD( "loc-h.cp3",    0x12000, 0x2000, 0x3bb4d475 )

	ROM_REGION(0x10000)	/* 64k for the audio CPU */
	ROM_LOAD( "loc-a",        0x0000, 0x1000, 0x2de6a8a8 )
	ROM_LOAD( "loc-b",        0x1000, 0x1000, 0x4097663e )
	ROM_LOAD( "loc-c",        0x2000, 0x1000, 0xf576b9e7 )
	ROM_LOAD( "loc-d",        0x3000, 0x1000, 0x74b0059e )

	ROM_REGION(0x10000)	/* 64k for the audio CPU */
	ROM_LOAD( "pre.u3",       0xd000, 0x1000, 0xc3d0f762 )
	ROM_LOAD( "pre.u4",       0xe000, 0x1000, 0x7ca79b43 )
	ROM_LOAD( "pre.u5",       0xf000, 0x1000, 0x24e9618e )
ROM_END


struct GameDriver dotron_driver =
{
	__FILE__,
	0,
	"dotron",
	"Discs of Tron (Upright)",
	"1983",
	"Bally Midway",
	"Christopher Kirmse\nAaron Giles\nNicola Salmoria\nAlan J. McCormick (speech info)\nMathis Rosenhauer(backdrop support)\nMike Balfour(backdrop support)\nBrandon Kirkpatrick (backdrop)",
	0,
	&dotron_machine_driver,
	0,

	dotron_rom,
	0, 0,
	0,
	0,	/* sound_prom */

	dotron_input_ports,

	0, 0,0,
	ORIENTATION_FLIP_X,

	dotron_hiload, dotron_hisave
};

struct GameDriver dotrone_driver =
{
	__FILE__,
	&dotron_driver,
	"dotrone",
	"Discs of Tron (Environmental)",
	"1983",
	"Bally Midway",
	"Christopher Kirmse\nAaron Giles\nNicola Salmoria\nAlan J. McCormick (speech info)\nMathis Rosenhauer(backdrop support)\nMike Balfour(backdrop support)\nBrandon Kirkpatrick (backdrop)",
	0,
	&dotron_machine_driver,
	0,

	dotrone_rom,
	0, 0,
	0,
	0,	/* sound_prom */

	dotron_input_ports,

	0, 0,0,
	ORIENTATION_FLIP_X,

	dotron_hiload, dotron_hisave
};



ROM_START( destderb_rom )
	ROM_REGION(0x10000)	/* 64k for code */
	ROM_LOAD( "dd_pro",       0x0000, 0x4000, 0x8781b367 )
	ROM_LOAD( "dd_pro1",      0x4000, 0x4000, 0x4c713bfe )
	ROM_LOAD( "dd_pro2",      0x8000, 0x4000, 0xc2cbd2a4 )

	ROM_REGION_DISPOSE(0x24000)	/* temporary space for graphics (disposed after conversion) */
	ROM_LOAD( "dd_bg0.6f",    0x00000, 0x2000, 0xcf80be19 )
	ROM_LOAD( "dd_bg1.5f",    0x02000, 0x2000, 0x4e173e52 )
	ROM_LOAD( "dd_fg-3.a10",  0x04000, 0x4000, 0x801d9b86 )
	ROM_LOAD( "dd_fg-7.a9",   0x08000, 0x4000, 0x0ec3f60a )
	ROM_LOAD( "dd_fg-2.a8",   0x0c000, 0x4000, 0x6cab7b95 )
	ROM_LOAD( "dd_fg-6.a7",   0x10000, 0x4000, 0xabfb9a8b )
	ROM_LOAD( "dd_fg-1.a6",   0x14000, 0x4000, 0x70259651 )
	ROM_LOAD( "dd_fg-5.a5",   0x18000, 0x4000, 0x5fe99007 )
	ROM_LOAD( "dd_fg-0.a4",   0x1c000, 0x4000, 0xe57a4de6 )
	ROM_LOAD( "dd_fg-4.a3",   0x20000, 0x4000, 0x55aa667f )

	ROM_REGION(0x10000)	/* 64k for the audio CPU */
	ROM_LOAD( "dd_ssio.a7",   0x0000, 0x1000, 0xc95cf31e )
	ROM_LOAD( "dd_ssio.a8",   0x1000, 0x1000, 0x12aaa48e )
ROM_END

struct GameDriver destderb_driver =
{
	__FILE__,
	0,
	"destderb",
	"Demolition Derby",
	"1984",
	"Bally Midway",
	"Christopher Kirmse\nAaron Giles\nNicola Salmoria\nBrad Oliver",
	0,
	&destderb_machine_driver,
	0,

	destderb_rom,
	0, 0,
	0,
	0,	/* sound_prom */

	destderb_input_ports,

	0, 0,0,
	ORIENTATION_DEFAULT,

	destderb_hiload, destderb_hisave
};


ROM_START( timber_rom )
	ROM_REGION(0x10000)	/* 64k for code */
	ROM_LOAD( "timpg0.bin",   0x0000, 0x4000, 0x377032ab )
	ROM_LOAD( "timpg1.bin",   0x4000, 0x4000, 0xfd772836 )
	ROM_LOAD( "timpg2.bin",   0x8000, 0x4000, 0x632989f9 )
	ROM_LOAD( "timpg3.bin",   0xc000, 0x2000, 0xdae8a0dc )

	ROM_REGION_DISPOSE(0x28000)	/* temporary space for graphics (disposed after conversion) */
	ROM_LOAD( "timbg1.bin",   0x00000, 0x4000, 0xb1cb2651 )
	ROM_LOAD( "timbg0.bin",   0x04000, 0x4000, 0x2ae352c4 )
	ROM_LOAD( "timfg7.bin",   0x08000, 0x4000, 0xd9c27475 )
	ROM_LOAD( "timfg6.bin",   0x0c000, 0x4000, 0x244778e8 )
	ROM_LOAD( "timfg5.bin",   0x10000, 0x4000, 0xeb636216 )
	ROM_LOAD( "timfg4.bin",   0x14000, 0x4000, 0xb7105eb7 )
	ROM_LOAD( "timfg3.bin",   0x18000, 0x4000, 0x37c03272 )
	ROM_LOAD( "timfg2.bin",   0x1c000, 0x4000, 0xe2c2885c )
	ROM_LOAD( "timfg1.bin",   0x20000, 0x4000, 0x81de4a73 )
	ROM_LOAD( "timfg0.bin",   0x24000, 0x4000, 0x7f3a4f59 )

	ROM_REGION(0x10000)	/* 64k for the audio CPU */
	ROM_LOAD( "tima7.bin",    0x0000, 0x1000, 0xc615dc3e )
	ROM_LOAD( "tima8.bin",    0x1000, 0x1000, 0x83841c87 )
	ROM_LOAD( "tima9.bin",    0x2000, 0x1000, 0x22bcdcd3 )
ROM_END

struct GameDriver timber_driver =
{
	__FILE__,
	0,
	"timber",
	"Timber",
	"1984",
	"Bally Midway",
	"Christopher Kirmse\nAaron Giles\nNicola Salmoria\nBrad Oliver",
	0,
	&timber_machine_driver,
	0,

	timber_rom,
	0, 0,
	0,
	0,	/* sound_prom */

	timber_input_ports,

	0, 0,0,
	ORIENTATION_DEFAULT,

	timber_hiload, timber_hisave
};


ROM_START( rampage_rom )
	ROM_REGION(0x10000)	/* 64k for code */
	ROM_LOAD( "pro-0.rv3",    0x0000, 0x8000, 0x2f7ca03c )
	ROM_LOAD( "pro-1.rv3",    0x8000, 0x8000, 0xd89bd9a4 )

	ROM_REGION_DISPOSE(0x48000)	/* temporary space for graphics (disposed after conversion) */
	ROM_LOAD( "bg-0",         0x00000, 0x04000, 0xc0d8b7a5 )
	ROM_LOAD( "bg-1",         0x04000, 0x04000, 0x2f6e3aa1 )
	ROM_LOAD( "fg-3",         0x08000, 0x10000, 0x81e1de40 )
	ROM_LOAD( "fg-2",         0x18000, 0x10000, 0x9489f714 )
	ROM_LOAD( "fg-1",         0x28000, 0x10000, 0x8728532b )
	ROM_LOAD( "fg-0",         0x38000, 0x10000, 0x0974be5d )

	ROM_REGION(0x20000)  /* 128k for the Sounds Good board */
	ROM_LOAD_EVEN( "ramp_u7.snd",  0x00000, 0x8000, 0xcffd7fa5 )
	ROM_LOAD_ODD ( "ramp_u17.snd", 0x00000, 0x8000, 0xe92c596b )
	ROM_LOAD_EVEN( "ramp_u8.snd",  0x10000, 0x8000, 0x11f787e4 )
	ROM_LOAD_ODD ( "ramp_u18.snd", 0x10000, 0x8000, 0x6b8bf5e1 )
ROM_END

void rampage_rom_decode (void)
{
	int i;

	/* Rampage tile graphics are inverted */
	for (i = 0; i < 0x8000; i++)
		Machine->memory_region[1][i] ^= 0xff;
}

struct GameDriver rampage_driver =
{
	__FILE__,
	0,
	"rampage",
	"Rampage",
	"1986",
	"Bally Midway",
	"Aaron Giles\nChristopher Kirmse\nNicola Salmoria\nBrad Oliver",
	0,
	&rampage_machine_driver,
	0,

	rampage_rom,
	rampage_rom_decode, 0,
	0,
	0,	/* sound_prom */

	rampage_input_ports,

	0, 0,0,
	ORIENTATION_DEFAULT,

	rampage_hiload, rampage_hisave
};


ROM_START( powerdrv_rom )
	ROM_REGION(0x10000)	/* 64k for code */
	ROM_LOAD( "pdrv3b.bin",   0x0000, 0x8000, 0xd870b704 )
	ROM_LOAD( "pdrv5b.bin",   0x8000, 0x8000, 0xfa0544ad )

	ROM_REGION_DISPOSE(0x48000)	/* temporary space for graphics (disposed after conversion) */
	ROM_LOAD( "pdrv15a.bin",  0x00000, 0x04000, 0xb858b5a8 )
	ROM_LOAD( "pdrv14b.bin",  0x04000, 0x04000, 0x12ee7fc2 )
	ROM_LOAD( "pdrv4e.bin",   0x08000, 0x10000, 0xde400335 )
	ROM_LOAD( "pdrv5e.bin",   0x18000, 0x10000, 0x4cb4780e )
	ROM_LOAD( "pdrv6e.bin",   0x28000, 0x10000, 0x1a1f7f81 )
	ROM_LOAD( "pdrv8e.bin",   0x38000, 0x10000, 0xdd3a2adc )

	ROM_REGION(0x20000)  /* 128k for the Sounds Good board */
	ROM_LOAD_EVEN( "pdsndu7.bin",  0x00000, 0x8000, 0x78713e78 )
	ROM_LOAD_ODD ( "pdsndu17.bin", 0x00000, 0x8000, 0xc41de6e4 )
	ROM_LOAD_EVEN( "pdsndu8.bin",  0x10000, 0x8000, 0x15714036 )
	ROM_LOAD_ODD ( "pdsndu18.bin", 0x10000, 0x8000, 0xcae14c70 )
ROM_END


struct GameDriver powerdrv_driver =
{
	__FILE__,
	0,
	"powerdrv",
	"Power Drive",
	"????",
	"Bally Midway",
	"Aaron Giles\nChristopher Kirmse\nNicola Salmoria\nBrad Oliver",
	0,
	&rampage_machine_driver,
	0,

	powerdrv_rom,
	rampage_rom_decode, 0,
	0,
	0,	/* sound_prom */

	rampage_input_ports,

	0, 0,0,
	ORIENTATION_DEFAULT,

	0, 0
};


ROM_START( maxrpm_rom )
	ROM_REGION(0x12000)	/* 64k for code */
	ROM_LOAD( "pro.0",        0x00000, 0x8000, 0x3f9ec35f )
	ROM_LOAD( "pro.1",        0x08000, 0x6000, 0xf628bb30 )
	ROM_CONTINUE(             0x10000, 0x2000 )	/* unused? but there seems to be stuff in here */
								/* loading it at e000 causes rogue sprites to appear on screen */

	ROM_REGION_DISPOSE(0x48000)	/* temporary space for graphics (disposed after conversion) */
	ROM_LOAD( "bg-0",         0x00000, 0x4000, 0xe3fb693a )
	ROM_LOAD( "bg-1",         0x04000, 0x4000, 0x50d1db6c )
	ROM_LOAD( "fg-3",         0x08000, 0x8000, 0x9ae3eb52 )
	ROM_LOAD( "fg-2",         0x18000, 0x8000, 0x38be8505 )
	ROM_LOAD( "fg-1",         0x28000, 0x8000, 0xe54b7f2a )
	ROM_LOAD( "fg-0",         0x38000, 0x8000, 0x1d1435c1 )
ROM_END

struct GameDriver maxrpm_driver =
{
	__FILE__,
	0,
	"maxrpm",
	"Max RPM",
	"1986",
	"Bally Midway",

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -