Table of Contents

VECTORS

ADDRESSES PURPOSE
FFFE - FFFF RESET
FFFC - FFFD Non-Maskable Interrupt (NMI)
FFFA - FFFB SWI Software Interrupt (SWI)
FFF8 - FFF9 Interrupt Request (IRQ)
FFF6 - FFF7 Fast Interrupt Request (FIRQ)
FFF4 - FFF5 Software Interrupt 2 (SWI2)
FFF2 - FFF3 Software Interrupt 3 (SWI3)
FFF0 - FFF1 6309 ONLY - Trap

CMOC EXAMPLE

void vectors() {
	word vecreset = * (word *) 0xFFFE;
	printf("VECRES = %4x\n", vecreset);
	word vecnmi = * (word *) 0xFFFC;
	printf("VECNMI = %4x\n", vecnmi);
	word vecswi = * (word *) 0xFFFA;
	printf("VECSWI = %4x\n", vecswi);
	word vecirq = * (word *) 0xFFF8;
	printf("VECIRQ = %4x\n", vecirq);
	word vecfirq = * (word *) 0xFFF6;
	printf("VECFIRQ = %4x\n", vecfirq);
	word vecswi2 = * (word *) 0xFFF4;
	printf("VECSWI2 = %4x\n", vecswi2);
	word vecswi3 = * (word *) 0xFFF2;
	printf("VECSWI3 = %4x\n", vecswi3);
	word vectrap = * (word *) 0xFFF0;
	printf("VECTRAP = %4x\n", vectrap);
}

Color Computer 2B Color Computer 3

RTS

Return to Tandy Color Computer