Table of Contents

cpunum_set_input_line()


Set the logical state of an input line on a CPU.

Syntax


Declaration

Declared in src/emu/cpuint.h as

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

Parameters

Returns

Nothing.

Example


cpunum_set_input_line(machine, 1, M6809_FIRQ_LINE, ASSERT_LINE);
This call will change the state of the M6809_FIRQ_LINE of the second CPU to ASSERT_LINE, meaning that the CPU will now take this interrupt if interrupts are enabled.

See Also