Previous 199869 Revisions Next

r21494 Friday 1st March, 2013 at 00:44:18 UTC by Angelo Salese
Fixed OKI bank
[src/mame/drivers]gunpey.c

trunk/src/mame/drivers/gunpey.c
r21493r21494
454454
455455WRITE8_MEMBER(gunpey_state::gunpey_output_w)
456456{
457   if((data & 0xf0) != 0x90)
458      printf("0x7f48 write with %02x\n",data);
457   //bit 0 is coin counter
458//   popmessage("%02x",data);
459459
460   downcast<okim6295_device *>(m_oki)->set_bank_base((data & 0x0f) * 0x40000);
460   downcast<okim6295_device *>(m_oki)->set_bank_base(((data & 0x70)>>4) * 0x40000);
461461}
462462
463463WRITE16_MEMBER(gunpey_state::gunpey_vram_bank_w)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team