Table of Contents

cpunum_set_input_line_vector()


Set the vector to be returned during a CPU's interrupt acknowledge cycle.

Syntax


Declaration

Declared in src/emu/cpuint.h as

void cpunum_set_input_line_vector(int cpunum, int irqline, int vector);

Parameters

Returns

Nothing.

Example


cpunum_set_input_line_vector(0, CP1610_RESET, 0x1000);

This will set the vector to 0x1000 for the first CPU and the IRQ line CP1610_RESET. Next time the CPU receives this interrupt, it will continue execution at the location 0x1000.

See also