Latest changes
- isa_gus: made sound output 16-bit. (no whatsnew) by mahlemiut
- isa_gus: improved 16-bit PCM (no whatsnew) by mahlemiut
- GCC 4.6 is calling from INSIDE THE HOUSE (nw) by rbelmont
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.