Translations of this page:

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

  • cpunum – Index to the CPU
  • irqline – The IRQ to set, those are generally defined in the appropriate CPU header files
  • vector – The vector you want to set

Returns

Nothing.

Example

cpunum_set_input_line_vector(0, CP1610_RESET, 0x1000);

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

See also

reference/cpunum_set_input_line_vector.txt · Last modified: 2007-11-19 10:15 by duke