Set the vector to be returned during a CPU's interrupt acknowledge cycle.
Declared in src/emu/cpuint.h
as
void cpunum_set_input_line_vector(int cpunum, int irqline, int vector);
cpunum
– Index to the CPUirqline
– The IRQ to set, those are generally defined in the appropriate CPU header filesvector
– The vector you want to setNothing.
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
.