--- /dev/null
+; season - junior
+;
+; author: hackbard@hackdaworld.dyndns.org
+;
+
+include "../include/2313def.inc"
+
+;
+; interrupt vectors:
+;
+
+; reset
+rjmp INIT ; init routine
+
+; int 0
+rjmp REC_FROM_CARD ; smartcard sends data, we listen
+
+; int 1
+rjmp REC_FROM_CAM ; cam sends data, we listen
+
+; timer/counter capt 1
+reti ; we just count the smartcard clocks
+
+; timer/counter compare
+reti ; not in use
+
+; timer/counter overflow 1
+reti ; not in use
+
+; timer/counter overflow 0
+reti ; not in use
+
+; uart rx complete
+reti ; maybe we need it later
+
+; uart data register empty
+reti ; maybe we need it later
+
+; uart tx complete
+reti ; maybe we need it later
+
+; analog comparator
+reti ; not in use
+
+;
+; init routine
+;
+
+INIT:
+
+; set stackpointer
+ldi r16,low(RAMEND)
+out SPL,r16
+
+; enable interrupts (global)
+ldi r16,(1<<7)
+out SREG,r16
+
+