|
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();
} |
|