// Atari Tempest ROM Development Template
// Each function of the kernal is a no-args function
// The functions are placed in the SYSCALLS table surrounded by JMP and NOP

#pragma link("ataritempest.ld")

const char* BGCOL = 0xc01a;

void main() {
    (*BGCOL)++;
}

void entryPoint() {
    (*BGCOL)++;
}

void interrupt(HARDWARE_ALL) nmiHandler() {
    (*BGCOL)++;
}

#pragma data_seg(Vectors)
export const void()*[] VECTORS = { &nmiHandler, &entryPoint };
