Previous 15994 Revisions Next

r10113 Thursday 20th January, 2011 at 09:28:45 UTC by Barry Rodewald
[NEOCD] Enlarged ROM region so that crashes don't occur when accessing ROM areas above 0xc80000.
[src/mess/drivers]ng_aes.c

src/mess/drivers/ng_aes.c
r10112r10113
8686
8787//static UINT16 *save_ram;
8888
89UINT16* neocd_work_ram;
90
8991/*************************************
9092 *
9193 *  Forward declarations
r10112r10113
13901392static ADDRESS_MAP_START( neocd_main_map, ADDRESS_SPACE_PROGRAM, 16 )
13911393   AM_RANGE(0x000000, 0x00007f) AM_RAMBANK(NEOGEO_BANK_VECTORS)
13921394   AM_RANGE(0x000080, 0x0fffff) AM_RAM
1393   AM_RANGE(0x100000, 0x10ffff) AM_MIRROR(0x0f0000) AM_RAM
1395   AM_RANGE(0x100000, 0x10ffff) AM_MIRROR(0x0f0000) AM_RAM AM_BASE(&neocd_work_ram)
13941396   /* some games have protection devices in the 0x200000 region, it appears to map to cart space, not surprising, the ROM is read here too */
13951397   AM_RANGE(0x200000, 0x2fffff) AM_ROMBANK(NEOGEO_BANK_CARTRIDGE)
13961398   AM_RANGE(0x2ffff0, 0x2fffff) AM_WRITE(main_cpu_bank_select_w)
r10112r10113
18101812ROM_END
18111813
18121814ROM_START( neocd )
1813   ROM_REGION16_BE( 0x80000, "mainbios", 0 )
1815   ROM_REGION16_BE( 0x100000, "mainbios", 0 )
18141816   ROM_LOAD16_WORD_SWAP( "top-sp1.bin",    0x00000, 0x80000, CRC(19f0ad1a) SHA1(b3e2f8467e9a642c122428d075024a9bd1fe0679) )
18151817
18161818   ROM_REGION( 0x200000, "maincpu", ROMREGION_ERASEFF )
r10112r10113
18341836ROM_END
18351837
18361838ROM_START( neocdz )
1837   ROM_REGION16_BE( 0x80000, "mainbios", 0 )
1839   ROM_REGION16_BE( 0x100000, "mainbios", 0 )
18381840   ROM_LOAD16_WORD_SWAP( "neocd.bin",    0x00000, 0x80000, CRC(df9de490) SHA1(7bb26d1e5d1e930515219cb18bcde5b7b23e2eda) )
18391841
18401842   ROM_REGION( 0x200000, "maincpu", ROMREGION_ERASEFF )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team