Previous 199869 Revisions Next

r32229 Saturday 20th September, 2014 at 09:03:09 UTC by David Haywood
re-add debug port so player can die

IMHO this is working now (and New Zero Team only needs a blend table?)
[src/mame/drivers]r2dx_v33.c

trunk/src/mame/drivers/r2dx_v33.c
r32228r32229
7272
7373   DECLARE_WRITE16_MEMBER(r2dx_tilemapdma_w);
7474   DECLARE_WRITE16_MEMBER(r2dx_paldma_w);
75   DECLARE_READ16_MEMBER(r2dx_debug_r);
7576
7677   void r2dx_setbanking(void);
7778
r32228r32229
307308   }
308309}
309310
311READ16_MEMBER(r2dx_v33_state::r2dx_debug_r)
312{
313   // read once on startup, needed for player collisions to work
314   return 0xffff;
315}
316
310317static ADDRESS_MAP_START( rdx_v33_map, AS_PROGRAM, 16, r2dx_v33_state )
311318   AM_RANGE(0x00000, 0x003ff) AM_RAM // vectors copied here
312319
r32228r32229
351358   
352359
353360   AM_RANGE(0x00700, 0x00701) AM_WRITE(rdx_v33_eeprom_w)
361   AM_RANGE(0x00740, 0x00741) AM_READ(r2dx_debug_r)
354362   AM_RANGE(0x00744, 0x00745) AM_READ_PORT("INPUT")
355363   AM_RANGE(0x0074c, 0x0074d) AM_READ_PORT("SYSTEM")
356364   AM_RANGE(0x00762, 0x00763) AM_READ(sprite_prot_dst1_r)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team