Table of Contents

cpunum_set_input_line_and_vector()


Set the logical state of an input line on a CPU and its associated vector. This function is a combined version of cpunum_set_input_line() and cpunum_set_input_line_vector().

Syntax


Declaration

Declared in src/emu/cpuint.h as

void cpunum_set_input_line_and_vector(running_machine *machine, int cpunum, int line, int state, int vector);

Parameters

Returns

Nothing.

Example


cpunum_set_input_line_and_vector(machine, 0, 0, HOLD_LINE, 0xcf);

This will set the vector to 0xcf for the first CPU and the IRQ line 0. It will continue execution at the location 0xcf now if interrupts are enabled.

See also