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

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies