trunk/src/mame/drivers/r2dx_v33.c
| r32228 | r32229 | |
| 72 | 72 | |
| 73 | 73 | DECLARE_WRITE16_MEMBER(r2dx_tilemapdma_w); |
| 74 | 74 | DECLARE_WRITE16_MEMBER(r2dx_paldma_w); |
| 75 | DECLARE_READ16_MEMBER(r2dx_debug_r); |
| 75 | 76 | |
| 76 | 77 | void r2dx_setbanking(void); |
| 77 | 78 | |
| r32228 | r32229 | |
| 307 | 308 | } |
| 308 | 309 | } |
| 309 | 310 | |
| 311 | READ16_MEMBER(r2dx_v33_state::r2dx_debug_r) |
| 312 | { |
| 313 | // read once on startup, needed for player collisions to work |
| 314 | return 0xffff; |
| 315 | } |
| 316 | |
| 310 | 317 | static ADDRESS_MAP_START( rdx_v33_map, AS_PROGRAM, 16, r2dx_v33_state ) |
| 311 | 318 | AM_RANGE(0x00000, 0x003ff) AM_RAM // vectors copied here |
| 312 | 319 | |
| r32228 | r32229 | |
| 351 | 358 | |
| 352 | 359 | |
| 353 | 360 | AM_RANGE(0x00700, 0x00701) AM_WRITE(rdx_v33_eeprom_w) |
| 361 | AM_RANGE(0x00740, 0x00741) AM_READ(r2dx_debug_r) |
| 354 | 362 | AM_RANGE(0x00744, 0x00745) AM_READ_PORT("INPUT") |
| 355 | 363 | AM_RANGE(0x0074c, 0x0074d) AM_READ_PORT("SYSTEM") |
| 356 | 364 | AM_RANGE(0x00762, 0x00763) AM_READ(sprite_prot_dst1_r) |