Previous 15994 Revisions Next

r6047 Monday 12th October, 2009 at 06:42:46 UTC by Miodrag Milanović
[ATARI] TRIG3 GTIA register handling is fixed, so more games boot and work properly [Mariusz Wojcieszek]
[src/mame/video]atari.c
[src/mess/drivers]atari.c

src/mame/video/atari.c
r6046r6047
15121512         gtia.r.but[i] &= (button_port >> i) & 1;
15131513      }
15141514
1515      /* specify buttons not relevant to this Atari variant */
1516      for (i = button_count; i < 4; i++)
1517         gtia.r.but[i] = 1;
1515      /* button registers for xl/xe */
1516      if (button_count == 2)
1517      {
1518         gtia.r.but[2] = 1; /* not used on xl/xe */
1519         gtia.r.but[3] = 0; /* 1 if external cartridge is inserted */
1520      }
15181521
15191522      handle_keyboard(machine);
15201523
src/mess/drivers/atari.c
r6046r6047
11111111static MACHINE_DRIVER_START( a800xlpal )
11121112   MDRV_IMPORT_FROM( a800xl )
11131113
1114   MDRV_CPU_MODIFY( "maincpu" )
1115   MDRV_CPU_CLOCK( 1773000 )
1116   MDRV_CPU_VBLANK_INT_HACK(a800_interrupt, TOTAL_LINES_50HZ)
1114   MDRV_CPU_MODIFY( "maincpu" )   
1115   MDRV_CPU_CLOCK( 1773000 )   
1116   MDRV_CPU_VBLANK_INT_HACK(a800xl_interrupt, TOTAL_LINES_50HZ)   
1117   MDRV_SCREEN_MODIFY("screen")   
1118   MDRV_SCREEN_REFRESH_RATE(FRAME_RATE_50HZ)   
1119   MDRV_SCREEN_SIZE(HWIDTH*8, TOTAL_LINES_50HZ)   
11171120
1118   MDRV_SCREEN_MODIFY("screen")
1119   MDRV_SCREEN_REFRESH_RATE(FRAME_RATE_50HZ)
1120   MDRV_SCREEN_SIZE(HWIDTH*8, TOTAL_LINES_50HZ)
1121
1122   MDRV_SOUND_MODIFY("pokey")
1121   MDRV_SOUND_MODIFY("pokey")   
11231122   MDRV_SOUND_CLOCK(1773000)
11241123MACHINE_DRIVER_END
11251124

Previous 15994 Revisions Next


© 1998-2018 The MESS Team