302
302
static READ8_DEVICE_HANDLER( tms_clock_r )
304
return tms5110_romclk_r(device, 0) ? 0x80 : 0;
304
return tms5110_romclk_hack_r(device, 0) ? 0x80 : 0;
307
307
static TIMER_CALLBACK( cvs_393hz_timer_cb )
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);
1019
1019
start_393hz_timer(machine);
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");
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 )