Previous 15994 Revisions Next

r14535 Sunday 19th February, 2012 at 16:30:15 UTC by Dan Boris
Added reasonable return values for the TIA collision registers
[src/mess/machine]a7800.c

src/mess/machine/a7800.c
r14534r14535
1717                            cart not needed when in PAL mode
1818                            added F18 Hornet bank select type
1919                            added Activision bank select type
20
20   19-Feb-2010 DanB       Added return values for TIA collision registers
2121***************************************************************************/
2222
2323#include "emu.h"
r14534r14535
462462{
463463   switch(offset)
464464   {
465      case 0x00:
466      case 0x01:
467      case 0x02:
468      case 0x03:
469      case 0x04:
470      case 0x05:
471      case 0x06:
472      case 0x07:
473      /* Even though the 7800 doesn't use the TIA graphics the collision registers should
474         still return a reasonable value */
475         return 0x00;
465476      case 0x08:
466477           return((input_port_read(space->machine(), "buttons") & 0x02) << 6);
467478      case 0x09:

Previous 15994 Revisions Next


© 1998-2018 The MESS Team