Previous 15994 Revisions Next

r10183 Monday 24th January, 2011 at 18:39:10 UTC by Tim Schuerewegen
[GBA] Generate SIO data transfer completion interrupt. This fixes the lockup in "Digimon Racing".
[docs]messnew.txt
[src/mess/drivers]gba.c

src/mess/drivers/gba.c
r10182r10183
17031703         if( (mem_mask) & 0x0000ffff )
17041704         {
17051705            verboselog(machine, 2, "GBA IO Register Write: SIOCNT (%08x) = %04x (%08x)\n", 0x04000000 + ( offset << 2 ), data & mem_mask, ~mem_mask );
1706            // normal mode ?
1707            if (((state->RCNT & 0x8000) == 0) && ((data & 0x2000) == 0))
1708            {
1709               // start ?
1710               if (((state->SIOCNT & 0x0080) == 0) && ((data & 0x0080) != 0))
1711               {
1712                  data &= ~0x0080;
1713                  // request interrupt ?
1714                  if (data & 0x4000)
1715                  {
1716                     gba_request_irq( machine, INT_SIO);
1717                  }
1718               }
1719            }
17061720            state->SIOCNT = ( state->SIOCNT & ~mem_mask ) | ( data & mem_mask );
17071721         }
17081722         if( (mem_mask) & 0xffff0000 )
docs/messnew.txt
r10182r10183
4747- [GBA] Implemented FLASH bank select command. This fixes the NVRAM issue in
4848  "Super Mario Advance 4". [Tim Schuerewegen]
4949
50- [GBA] Generate SIO data transfer completion interrupt. This fixes the lockup
51  in "Digimon Racing". [Tim Schuerewegen]
52
5053- [PDP1] Made the CRT implementation a device.  [Atari Ace]
5154
5255- [PIPPIN] Added pre release rom

Previous 15994 Revisions Next


© 1998-2018 The MESS Team