R/W | ADR | HEXADR | NAME | DESCRIPTION | OS | DEFAULT VALUE |
---|---|---|---|---|---|---|
read/write | 512,513 | $0200,$0201 | VDSLST | Vector to List Interrupt routine | both | 59315/$E7B3 (a RTI instruction) |
Attention:
- All 6502 register have to be save before and restored after the interrupt.
- The interrupt routine must end with an RTI (return from interrupt).
Example#
- Set bit 7 in the display list line you want the interrupt to occur
- set VDSLST to your routine
- set bit 7 of NMIEN to enable the interrupt
see also: Display List Topics, NMIEN, Display List Instruction table