src/mess/drivers/ng_aes.c
| r10112 | r10113 | |
| 86 | 86 | |
| 87 | 87 | //static UINT16 *save_ram; |
| 88 | 88 | |
| 89 | UINT16* neocd_work_ram; |
| 90 | |
| 89 | 91 | /************************************* |
| 90 | 92 | * |
| 91 | 93 | * Forward declarations |
| r10112 | r10113 | |
| 1390 | 1392 | static ADDRESS_MAP_START( neocd_main_map, ADDRESS_SPACE_PROGRAM, 16 ) |
| 1391 | 1393 | AM_RANGE(0x000000, 0x00007f) AM_RAMBANK(NEOGEO_BANK_VECTORS) |
| 1392 | 1394 | 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) |
| 1394 | 1396 | /* some games have protection devices in the 0x200000 region, it appears to map to cart space, not surprising, the ROM is read here too */ |
| 1395 | 1397 | AM_RANGE(0x200000, 0x2fffff) AM_ROMBANK(NEOGEO_BANK_CARTRIDGE) |
| 1396 | 1398 | AM_RANGE(0x2ffff0, 0x2fffff) AM_WRITE(main_cpu_bank_select_w) |
| r10112 | r10113 | |
| 1810 | 1812 | ROM_END |
| 1811 | 1813 | |
| 1812 | 1814 | ROM_START( neocd ) |
| 1813 | | ROM_REGION16_BE( 0x80000, "mainbios", 0 ) |
| 1815 | ROM_REGION16_BE( 0x100000, "mainbios", 0 ) |
| 1814 | 1816 | ROM_LOAD16_WORD_SWAP( "top-sp1.bin", 0x00000, 0x80000, CRC(19f0ad1a) SHA1(b3e2f8467e9a642c122428d075024a9bd1fe0679) ) |
| 1815 | 1817 | |
| 1816 | 1818 | ROM_REGION( 0x200000, "maincpu", ROMREGION_ERASEFF ) |
| r10112 | r10113 | |
| 1834 | 1836 | ROM_END |
| 1835 | 1837 | |
| 1836 | 1838 | ROM_START( neocdz ) |
| 1837 | | ROM_REGION16_BE( 0x80000, "mainbios", 0 ) |
| 1839 | ROM_REGION16_BE( 0x100000, "mainbios", 0 ) |
| 1838 | 1840 | ROM_LOAD16_WORD_SWAP( "neocd.bin", 0x00000, 0x80000, CRC(df9de490) SHA1(7bb26d1e5d1e930515219cb18bcde5b7b23e2eda) ) |
| 1839 | 1841 | |
| 1840 | 1842 | ROM_REGION( 0x200000, "maincpu", ROMREGION_ERASEFF ) |