QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1008|回复: 3

这是kof2003的源码,请问谁能把它加入xmame中,谢谢

[复制链接]
发表于 2004-2-9 15:09:28 | 显示全部楼层 |阅读模式
ROM_START( kof2003 )
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271-p1.bin", 0x000000, 0x400000, CRC(92ed6ee3) )
ROM_LOAD16_WORD_SWAP( "271-p2.bin", 0x400000, 0x400000, CRC(5d3d8bb3) )

NEO_SFIX_128K( "271-s1.rom", CRC(c47f8ac3) )

NEO_BIOS_SOUND_512K( "271-m1d.bin", CRC(0e86af8f) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "271-v1d.rom", 0x000000, 0x400000, CRC(d2b8aa5e) )
ROM_LOAD( "271-v2d.rom", 0x400000, 0x400000, CRC(71956ee2) )
ROM_LOAD( "271-v3d.rom", 0x800000, 0x400000, CRC(ddbbb199) )
ROM_LOAD( "271-v4d.rom", 0xc00000, 0x400000, CRC(01b90c4f) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.rom", 0x0000000, 0x800000, CRC(e42fc226) )
ROM_LOAD16_BYTE( "271-c2d.rom", 0x0000001, 0x800000, CRC(1b5e3b5 )
ROM_LOAD16_BYTE( "271-c3d.rom", 0x1000000, 0x800000, CRC(d334fdd9) )
ROM_LOAD16_BYTE( "271-c4d.rom", 0x1000001, 0x800000, CRC(0d457699) )
ROM_LOAD16_BYTE( "271-c5d.rom", 0x2000000, 0x800000, CRC(8a91aae4) )
ROM_LOAD16_BYTE( "271-c6d.rom", 0x2000001, 0x800000, CRC(9f8674b )
ROM_LOAD16_BYTE( "271-c7d.rom", 0x3000000, 0x800000, CRC(374ea523) )
ROM_LOAD16_BYTE( "271-c8d.rom", 0x3000001, 0x800000, CRC(75211f4d) )
ROM_END

=============================

GAMEB( 2003,kof2003,neogeo,neogeo, neogeo, neogeo, neogeo, ROT0, "SNK / Playmore Corporation", "The King of Fighters 2003" )

=============================

DRIVER( kof2003 ) /* 0271 (c) 2003 SNK / Playmore Entertainment */

=============================

static unsigned short kof2003_tbl[0x1000];

static READ16_HANDLER( kof2003_16_r )
{
return kof2003_tbl[offset];
}
static WRITE16_HANDLER( kof2003_16_w )
{
UINT32 bankaddress;
kof2003_tbl[offset]=(kof2003_tbl[offset]&mem_mask)|((~mem_mask)&data);
if(offset>0xff9) return;
bankaddress=((kof2003_tbl[0xff8]>>|(kof2003_tbl[0xff9]<<)+0x100000;
*(((UINT8 *)kof2003_tbl)+0x1ff0)=0xa0;
*(((UINT8 *)kof2003_tbl)+0x1ff1)&=0xfe;
*(((UINT8 *)kof2003_tbl)+0x1ff3)&=0x7f;
neogeo_set_cpu1_second_bank(bankaddress);
*(((unsigned char *)memory_region(REGION_CPU1))+0x58196)=kof2003_tbl[0xff9]&0xff;
}

DRIVER_INIT( kof2003 )
{
install_mem_read16_handler (0, 0x2fe000, 0x2fffff, kof2003_16_r);
install_mem_write16_handler (0, 0x2fe000, 0x2fffff, kof2003_16_w);
init_neogeo();
}
发表于 2004-2-9 23:07:27 | 显示全部楼层
呵呵,我已经在RH9下顺利运行了。。

如果你和我一样使用RH9的话,可以直接到小帆主页下载。

http://flysail.go.3322.org
回复

使用道具 举报

 楼主| 发表于 2004-2-10 10:56:00 | 显示全部楼层
谢谢!!
回复

使用道具 举报

 楼主| 发表于 2004-2-10 11:02:17 | 显示全部楼层
对了,能给我源代码吗??再次感谢!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 00:38 , Processed in 0.038581 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表