trunk/src/mame/drivers/nmk16.c
| r18752 | r18753 | |
| 900 | 900 | AM_RANGE(0x0d0000, 0x0d07ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_SHARE("nmk_txvideoram") |
| 901 | 901 | ADDRESS_MAP_END |
| 902 | 902 | |
| 903 | // No sprites without this. Is it actually protection? |
| 904 | READ16_MEMBER(nmk16_state::tdragonb_prot_r) |
| 905 | { |
| 906 | return 0x0003; |
| 907 | } |
| 908 | |
| 903 | 909 | static ADDRESS_MAP_START( tdragonb_map, AS_PROGRAM, 16, nmk16_state ) |
| 904 | 910 | AM_RANGE(0x000000, 0x03ffff) AM_ROM |
| 905 | | AM_RANGE(0x044022, 0x044023) AM_READNOP /* No Idea */ |
| 911 | AM_RANGE(0x044022, 0x044023) AM_READ(tdragonb_prot_r) |
| 906 | 912 | AM_RANGE(0x0b0000, 0x0bffff) AM_RAM AM_SHARE("mainram") |
| 907 | 913 | AM_RANGE(0x0c0000, 0x0c0001) AM_READ_PORT("IN0") |
| 908 | 914 | AM_RANGE(0x0c0002, 0x0c0003) AM_READ_PORT("IN1") |
| r18752 | r18753 | |
| 4515 | 4521 | |
| 4516 | 4522 | DRIVER_INIT_MEMBER(nmk16_state,tdragonb) |
| 4517 | 4523 | { |
| 4518 | | UINT16 *rom = (UINT16 *)machine().root_device().memregion("maincpu")->base(); |
| 4519 | | |
| 4520 | 4524 | decode_tdragonb(machine()); |
| 4521 | | |
| 4522 | | /* The Following Patch is taken from Raine, Otherwise the game has no Sprites in Attract Mode or After Level 1 |
| 4523 | | which is rather odd considering its a bootleg.. */ |
| 4524 | | rom[0x00308/2] = 0x4e71; /* Sprite Problem */ |
| 4525 | 4525 | } |
| 4526 | 4526 | |
| 4527 | 4527 | DRIVER_INIT_MEMBER(nmk16_state,tdragon) |