Previous 15994 Revisions Next

r9834 Tuesday 28th December, 2010 at 03:47:08 UTC by Nathan Woods
[A2600] Fixed a crash in Pitfall 2. [Atari Ace]
[src/mess/drivers]a2600.c x1.c

src/mess/drivers/x1.c
r9833r9834
24672467COMP( 1986, x1twin,    x1,     0,       x1,     x1,    kanji,"Sharp",  "X1 Twin (CZ-830C)",    GAME_NOT_WORKING)
24682468COMP( 1984, x1turbo,   x1,     0,       x1turbo, x1,    kanji,"Sharp",  "X1 Turbo (CZ-850C)",   GAME_NOT_WORKING) //model 10
24692469COMP( 1985, x1turbo40, x1,     0,       x1turbo, x1,    kanji,"Sharp",  "X1 Turbo (CZ-862C)",   GAME_NOT_WORKING) //model 40
2470// x1turboz  /* 1986 Sharp X1 TurboZ  */
No newline at end of file
2470// x1turboz  /* 1986 Sharp X1 TurboZ  */
src/mess/drivers/a2600.c
r9833r9834
16731673   a2600_tia_vsync_callback_pal
16741674};
16751675
1676static MACHINE_START( a2600 )
1676
1677static void common_init(running_machine *machine)
16771678{
16781679   a2600_state *state = machine->driver_data<a2600_state>();
16791680   screen_device *screen = machine->first_screen();
16801681   state->current_screen_height = screen->height();
1681   state->extra_RAM =   machine->region_alloc("user2", 0x8600, ROM_REQUIRED );
1682   tia_init( machine, &tia_interface );
1682   state->extra_RAM = machine->region_alloc("user2", 0x8600, ROM_REQUIRED );
16831683   memset( state->riot_ram, 0x00, 0x80 );
16841684   state->current_reset_bank_counter = 0xFF;
1685   state->dpc.oscillator = timer_alloc(machine, modeDPC_timer_callback, NULL);
16851686}
16861687
1688static MACHINE_START( a2600 )
1689{
1690   common_init(machine);
1691   tia_init( machine, &tia_interface );
1692}
1693
16871694static MACHINE_START( a2600p )
16881695{
1689   a2600_state *state = machine->driver_data<a2600_state>();
1690   screen_device *screen = machine->first_screen();
1691   state->current_screen_height = screen->height();
1692   state->extra_RAM = machine->region_alloc("user2", 0x8600, ROM_REQUIRED );
1696   common_init(machine);
16931697   tia_init( machine, &tia_interface_pal );
1694   memset( state->riot_ram, 0x00, 0x80 );
1695   state->current_reset_bank_counter = 0xFF;
16961698}
16971699
16981700static void set_category_value( running_machine *machine, const char* cat, const char *cat_selection )
r9833r9834
20212023            state->dpc.df[data_fetcher].music_mode = 0;
20222024         }
20232025      }
2024      state->dpc.oscillator = timer_alloc(machine,  modeDPC_timer_callback , NULL);
20252026      timer_adjust_periodic(state->dpc.oscillator, ATTOTIME_IN_HZ(42000), 0, ATTOTIME_IN_HZ(42000));
20262027      break;
20272028

Previous 15994 Revisions Next


© 1998-2018 The MESS Team