~ubuntu-branches/ubuntu/precise/mame/precise-proposed

« back to all changes in this revision

Viewing changes to src/mame/drivers/cvs.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2010-08-01 23:18:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100801231831-9dj2qbsynutixsoe
Tags: 0.139-0ubuntu1
* New upstream release (LP: #612070)
* debian/contrib/manpages: removed, accepted upstream
* debian/patches/:
  - deprecated_gtk_macros: removed, fixed upstream
  - missing_newline.patch: removed, fixed upstream
  - typos.patch: removed, fixed upstream
* debian/rules: new variables SYMLEVEL and DUMPSYM
* mame-tools: ldplayer removed, possibly for good (FTBFS upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
301
301
 
302
302
static READ8_DEVICE_HANDLER( tms_clock_r )
303
303
{
304
 
        return tms5110_romclk_r(device, 0) ? 0x80 : 0;
 
304
        return tms5110_romclk_hack_r(device, 0) ? 0x80 : 0;
305
305
}
306
306
 
307
307
static TIMER_CALLBACK( cvs_393hz_timer_cb )
433
433
{
434
434
        UINT8 out = ((~data) >> 7) & 1;
435
435
        LOG(("CVS: Speech PDC = %02x %02x\n", offset, out));
436
 
        tms5110_pdc_w(device, 0, out);
 
436
        tms5110_pdc_w(device, out);
437
437
}
438
438
 
439
439
 
1019
1019
        start_393hz_timer(machine);
1020
1020
 
1021
1021
        /* set devices */
1022
 
        state->maincpu = devtag_get_device(machine, "maincpu");
1023
 
        state->audiocpu = devtag_get_device(machine, "audiocpu");
1024
 
        state->speech = devtag_get_device(machine, "speech");
1025
 
        state->dac3 = devtag_get_device(machine, "dac3");
1026
 
        state->tms = devtag_get_device(machine, "tms");
1027
 
        state->s2636_0 = devtag_get_device(machine, "s2636_0");
1028
 
        state->s2636_1 = devtag_get_device(machine, "s2636_1");
1029
 
        state->s2636_2 = devtag_get_device(machine, "s2636_2");
 
1022
        state->maincpu = machine->device("maincpu");
 
1023
        state->audiocpu = machine->device("audiocpu");
 
1024
        state->speech = machine->device("speech");
 
1025
        state->dac3 = machine->device("dac3");
 
1026
        state->tms = machine->device("tms");
 
1027
        state->s2636_0 = machine->device("s2636_0");
 
1028
        state->s2636_1 = machine->device("s2636_1");
 
1029
        state->s2636_2 = machine->device("s2636_2");
1030
1030
 
1031
1031
        /* register state save */
1032
1032
        state_save_register_global_pointer(machine, state->color_ram, 0x400);
1721
1721
GAME( 1983, hunchbaka, hunchbak, cvs,     hunchbak, hunchbaka,ROT90, "Century Electronics", "Hunchback (set 2)", GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1722
1722
GAME( 1983, superbik,  0,        cvs,     superbik, superbik, ROT90, "Century Electronics", "Superbike", GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1723
1723
GAME( 1983, raiders,   0,        cvs,     raiders,  raiders,  ROT90, "Century Electronics", "Raiders", GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1724
 
GAME( 1983, hero,      0,        cvs,     hero,     hero,     ROT90, "Seatongrove Ltd",     "Hero", GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1725
 
GAME( 1984, huncholy,  0,        cvs,     huncholy, huncholy, ROT90, "Seatongrove Ltd",     "Hunchback Olympic", GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
 
1724
GAME( 1984, hero,      0,        cvs,     hero,     hero,     ROT90, "Century Electronics / Seatongrove Ltd", "Hero", GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // (C) 1984 CVS on titlescreen, (C) 1983 Seatongrove on highscore screen
 
1725
GAME( 1984, huncholy,  0,        cvs,     huncholy, huncholy, ROT90, "Century Electronics / Seatongrove Ltd", "Hunchback Olympic", GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )