src/mess/drivers/cpschngr.c
| r3037 | r3038 | |
| 102 | 102 | ROM_LOAD16_WORD_SWAP( "sfzch21", 0x100000, 0x80000, CRC(5435225d) SHA1(6b1156fd82d0710e244ede39faaae0847c598376)) |
| 103 | 103 | ROM_LOAD16_WORD_SWAP( "sfza20", 0x180000, 0x80000, CRC(806e8f38) SHA1(b6d6912aa8f2f590335d7ff9a8214648e7131ebb)) |
| 104 | 104 | |
| 105 | | ROM_REGION( 0x800000, "gfx1", 0 ) |
| 105 | ROM_REGION( 0x800000, "gfx", 0 ) |
| 106 | 106 | ROMX_LOAD( "sfz01", 0x000000, 0x80000, CRC(0dd53e62) SHA1(5f3bcf5ca0fd564d115fe5075a4163d3ee3226df), ROM_GROUPWORD | ROM_SKIP(6) ) |
| 107 | 107 | ROMX_LOAD( "sfz02", 0x000002, 0x80000, CRC(94c31e3f) SHA1(2187b3d4977514f2ae486eb33ed76c86121d5745), ROM_GROUPWORD | ROM_SKIP(6) ) |
| 108 | 108 | ROMX_LOAD( "sfz03", 0x000004, 0x80000, CRC(9584ac85) SHA1(bbd62d66b0f6909630e801ce5d6331d43f44d741), ROM_GROUPWORD | ROM_SKIP(6) ) |
| r3037 | r3038 | |
| 120 | 120 | ROMX_LOAD( "sfz16", 0x600004, 0x80000, CRC(19a5abd6) SHA1(73ba1de15c883fdc69fd7dccdb58d00ca512d4ea), ROM_GROUPWORD | ROM_SKIP(6) ) |
| 121 | 121 | ROMX_LOAD( "sfz17", 0x600006, 0x80000, CRC(248b3b73) SHA1(95810a17b1caf6372b33ed3e4ee8a7e51482c70d), ROM_GROUPWORD | ROM_SKIP(6) ) |
| 122 | 122 | |
| 123 | | ROM_REGION( 0x8000, "gfx2", 0 ) |
| 124 | | ROM_COPY( "gfx1", 0x000000, 0x000000, 0x8000 ) /* stars */ |
| 123 | ROM_REGION( 0x8000, "stars", 0 ) |
| 124 | ROM_COPY( "gfx", 0x000000, 0x000000, 0x8000 ) |
| 125 | 125 | |
| 126 | 126 | ROM_REGION( 0x28000, "audio",0 ) /* 64k for the audio CPU (+banks) */ |
| 127 | 127 | ROM_LOAD( "sfz09", 0x00000, 0x08000, CRC(c772628b) SHA1(ebc5b7c173caf1e151f733f23c1b20abec24e16d)) |
src/mess/drivers/genesis.c
| r3037 | r3038 | |
| 63 | 63 | |
| 64 | 64 | static int genesis_last_loaded_image_length = -1; |
| 65 | 65 | |
| 66 | | //static int megadrive_region_export = 0; |
| 67 | | //static int megadrive_region_pal = 0; |
| 66 | static int megadrive_region_export = 0; |
| 67 | static int megadrive_region_pal = 0; |
| 68 | 68 | |
| 69 | 69 | /* where a fresh copy of rom is stashed for reset and banking setup */ |
| 70 | 70 | #define VIRGIN_COPY_GEN 0xd00000 |
| r3037 | r3038 | |
| 1368 | 1368 | |
| 1369 | 1369 | switch (offset) |
| 1370 | 1370 | { |
| 1371 | | case 0: /* Version register ?XX?????? where ?? is 00 for japan, 01 for europe and 10 for USA*/ |
| 1372 | | /* NPW 14-Aug-2008 - What is this? How did this ever compile? */ |
| 1373 | | /* retdata = megadrive_region_export<<6 | |
| 1374 | | megadrive_region_pal<<5; |
| 1375 | | */ |
| 1371 | case 0: /* Version register ?XX?????? where XX is 00 for japan, 01 for europe and 10 for USA*/ |
| 1372 | retdata = (megadrive_region_export << 6) | (megadrive_region_pal << 5); |
| 1376 | 1373 | break; |
| 1377 | 1374 | case 1: |
| 1378 | 1375 | retdata = input_port_read_safe(Machine, "PAD", 0); |
| r3037 | r3038 | |
| 1447 | 1444 | |
| 1448 | 1445 | AM_RANGE(0x800000 , 0x80001f) AM_READ(pico_68k_io_read) |
| 1449 | 1446 | |
| 1450 | | /* NPW 14-Aug-2008 - What is this? This is not referencing anything */ |
| 1451 | | /* AM_RANGE(0xc00000 , 0xc0001f) AM_READ(megadriv_vdp_r) */ |
| 1447 | AM_RANGE(0xc00000 , 0xc0001f) AM_READ(megadriv_vdp_r) |
| 1452 | 1448 | AM_RANGE(0xe00000 , 0xe0ffff) AM_READ(SMH_RAM) AM_MIRROR(0x1f0000) |
| 1453 | 1449 | ADDRESS_MAP_END |
| 1454 | 1450 | |
| r3037 | r3038 | |
| 1457 | 1453 | |
| 1458 | 1454 | AM_RANGE(0x800000 , 0x80001f) AM_WRITE(pico_68k_io_write) |
| 1459 | 1455 | |
| 1460 | | /* NPW 14-Aug-2008 - What is this? This is not referencing anything */ |
| 1461 | | /* AM_RANGE(0xc00000 , 0xc0001f) AM_WRITE(megadriv_vdp_w) */ |
| 1456 | AM_RANGE(0xc00000 , 0xc0001f) AM_WRITE(megadriv_vdp_w) |
| 1462 | 1457 | AM_RANGE(0xe00000 , 0xe0ffff) AM_WRITE(SMH_RAM) AM_MIRROR(0x1f0000) AM_BASE(&megadrive_ram) |
| 1463 | 1458 | ADDRESS_MAP_END |
| 1464 | 1459 | |
| r3037 | r3038 | |
| 1472 | 1467 | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("PEN BUTTON") |
| 1473 | 1468 | |
| 1474 | 1469 | PORT_START("PAGE") |
| 1475 | | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_NAME("Increment Page") |
| 1476 | | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_NAME("Decrement Page") |
| 1470 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_NAME("Increment Page") |
| 1471 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_NAME("Decrement Page") |
| 1477 | 1472 | |
| 1478 | 1473 | PORT_START("PENX") |
| 1479 | | PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(70) PORT_KEYDELTA(30) PORT_MINMAX(0, 255) PORT_CATEGORY(5) PORT_PLAYER(1) PORT_NAME("PEN X") |
| 1474 | PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(70) PORT_KEYDELTA(30) PORT_MINMAX(0, 255) PORT_CATEGORY(5) PORT_PLAYER(1) PORT_NAME("PEN X") |
| 1475 | |
| 1480 | 1476 | PORT_START("PENY") |
| 1481 | | PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(30) PORT_MINMAX(0,255 ) PORT_CATEGORY(5) PORT_PLAYER(1) PORT_NAME("PEN Y") |
| 1477 | PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(30) PORT_MINMAX(0,255 ) PORT_CATEGORY(5) PORT_PLAYER(1) PORT_NAME("PEN Y") |
| 1482 | 1478 | |
| 1483 | 1479 | PORT_START("REGION") /* Buttons on Genesis Console */ |
| 1484 | 1480 | /* Region setting for Console */ |