src/mess/machine/snescart.c
| r5969 | r5970 | |
| 212 | 212 | |
| 213 | 213 | MACHINE_START( snes_mess ) |
| 214 | 214 | { |
| 215 | snes_ram = memory_region(machine, "maincpu"); |
| 215 | 216 | add_exit_callback(machine, snes_machine_stop); |
| 216 | 217 | MACHINE_START_CALL(snes); |
| 217 | 218 | } |
| r5969 | r5970 | |
| 346 | 347 | unsigned char *ROM; |
| 347 | 348 | int length; |
| 348 | 349 | |
| 349 | | memory_region_alloc(machine, "maincpu", 0x1000000, 0); |
| 350 | | |
| 351 | 350 | snes_ram = memory_region(machine, "maincpu"); |
| 352 | 351 | memset( snes_ram, 0, 0x1000000 ); |
| 353 | 352 | |
| r5969 | r5970 | |
| 809 | 808 | MACHINE_DRIVER_START( snes_cartslot ) |
| 810 | 809 | MDRV_CARTSLOT_ADD("cart") |
| 811 | 810 | MDRV_CARTSLOT_EXTENSION_LIST("smc,sfc,fig,swc") |
| 812 | | MDRV_CARTSLOT_MANDATORY |
| 811 | MDRV_CARTSLOT_NOT_MANDATORY |
| 813 | 812 | MDRV_CARTSLOT_LOAD(snes_cart) |
| 814 | 813 | MACHINE_DRIVER_END |
src/mess/drivers/snes.c
| r5969 | r5970 | |
| 274 | 274 | ***************************************************************************/ |
| 275 | 275 | |
| 276 | 276 | ROM_START(snes) |
| 277 | ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASE00 ) |
| 277 | 278 | ROM_REGION( 0x100, "user5", 0 ) /* IPL ROM */ |
| 278 | 279 | ROM_LOAD( "spc700.rom", 0, 0x40, CRC(44bb3a40) SHA1(97e352553e94242ae823547cd853eecda55c20f0) ) /* boot rom */ |
| 279 | 280 | ROM_REGION( 0x1000, "addons", 0 ) /* add-on chip ROMs (DSP, SFX, etc) */ |
| r5969 | r5970 | |
| 283 | 284 | ROM_END |
| 284 | 285 | |
| 285 | 286 | ROM_START(snessfx) |
| 287 | ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASE00 ) |
| 286 | 288 | ROM_REGION( 0x100, "user5", 0 ) /* IPL ROM */ |
| 287 | 289 | ROM_LOAD( "spc700.rom", 0, 0x40, CRC(44bb3a40) SHA1(97e352553e94242ae823547cd853eecda55c20f0) ) /* boot rom */ |
| 288 | 290 | ROM_REGION( 0x1000, "addons", 0 ) /* add-on chip ROMs (DSP, SFX, etc) */ |
| r5969 | r5970 | |
| 291 | 293 | ROM_END |
| 292 | 294 | |
| 293 | 295 | ROM_START(snespal) |
| 296 | ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASE00 ) |
| 294 | 297 | ROM_REGION( 0x100, "user5", 0 ) /* IPL ROM */ |
| 295 | 298 | ROM_LOAD( "spc700.rom", 0, 0x40, CRC(44bb3a40) SHA1(97e352553e94242ae823547cd853eecda55c20f0) ) /* boot rom */ |
| 296 | 299 | ROM_REGION( 0x1000, "addons", 0 ) /* add-on chip ROMs (DSP, SFX, etc) */ |
| r5969 | r5970 | |
| 300 | 303 | ROM_END |
| 301 | 304 | |
| 302 | 305 | ROM_START(snespsfx) |
| 306 | ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASE00 ) |
| 303 | 307 | ROM_REGION( 0x100, "user5", 0 ) /* IPL ROM */ |
| 304 | 308 | ROM_LOAD( "spc700.rom", 0, 0x40, CRC(44bb3a40) SHA1(97e352553e94242ae823547cd853eecda55c20f0) ) /* boot rom */ |
| 305 | 309 | ROM_REGION( 0x1000, "addons", 0 ) /* add-on chip ROMs (DSP, SFX, etc) */ |
| r5969 | r5970 | |
| 308 | 312 | ROM_END |
| 309 | 313 | |
| 310 | 314 | ROM_START(sfcbox) |
| 315 | ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASE00 ) |
| 311 | 316 | /* atm, we only load these here, but we don't really emulate anything */ |
| 312 | 317 | ROM_REGION( 0x10000, "grom", 0 ) |
| 313 | 318 | ROM_LOAD( "grom1-1.bin", 0x0000, 0x8000, CRC(333bf9a7) SHA1(5d0cd9ca29e5580c3eebe9f136839987c879f979) ) |
| r5969 | r5970 | |
| 334 | 339 | CONS( 1989, snessfx, snes, 0, snessfx, snes, 0, 0, "Nintendo", "Super Nintendo Entertainment System / Super Famicom (NTSC), SuperFX", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 335 | 340 | CONS( 1991, snespal, snes, 0, snespal, snes, 0, 0, "Nintendo", "Super Nintendo Entertainment System (PAL)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 336 | 341 | CONS( 1991, snespsfx,snes, 0, snespsfx,snes, 0, 0, "Nintendo", "Super Nintendo Entertainment System (PAL), SuperFX", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 337 | | CONS( 199?, sfcbox, snes, 0, snes, snes, 0, 0, "Nintendo", "Super Famicom Box (NTSC)", GAME_NOT_WORKING ) |
| 342 | CONS( 199?, sfcbox, snes, 0, snes, snes, 0, 0, "Nintendo", "Super Famicom Box (NTSC)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |