videochargen/main.c

13 lines
244 B
C

#include <avr/io.h>
#include <avr/interrupt.h>
ISR(INT0_vect, ISR_NAKED) {
asm("jmp int_vertical_sync");
}
ISR(INT1_vect, ISR_NAKED) {
asm("jmp int_horizontal_sync");
}
ISR(TIMER0_COMPA_vect, ISR_NAKED) {
asm("jmp int_timer_0");
}