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().
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);
machine – Pointer to the machine where this CPU is runningcpunum – Index to the CPUline – The IRQ to set, those are generally defined in the appropriate CPU header filesstate – The logical state to set. Possible values are ASSERT_LINE, HOLD_LINE, CLEAR_LINE and PULSE_LINEvector – The vector you want to setNothing.
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.