static void galaxian_7474_9M_2_callback(void) { /* Q bar clocks the other flip-flop, Q is VBLANK (not visible to the CPU) */ TTL7474_clock_w(1, TTL7474_output_comp_r(0)); TTL7474_update(1); }
static void sfx_sh_7474_callback(void) { /* the Q bar is connected to the Z80's INT line. But since INT is complemented, */ /* we need to complement Q bar */ cpunum_set_input_line(2, 0, !TTL7474_output_comp_r(3) ? ASSERT_LINE : CLEAR_LINE); }
/* the outputs of the flip-flops are connected to the priority encoder */ static void TTL7474_2S_1_cb(void) { TTL74148_input_line_w(TTL74148_3S, COIN1_PRIORITY_LINE, TTL7474_output_comp_r(TTL7474_2S_1)); TTL74148_update(TTL74148_3S); }