diff --git a/BaS_gcc/sources/BaS.c b/BaS_gcc/sources/BaS.c index 29b4f6d..7418fec 100644 --- a/BaS_gcc/sources/BaS.c +++ b/BaS_gcc/sources/BaS.c @@ -167,7 +167,8 @@ void enable_coldfire_interrupts() MCF_GPT0_GMS = MCF_GPT_GMS_ICT(1) | /* timer 0 on, video change capture on rising edge */ MCF_GPT_GMS_IEN | MCF_GPT_GMS_TMS(1); - MCF_INTC_ICR62 = 0x3f; + /* route GPT0 interrupt on interrupt controller */ + MCF_INTC_ICR62 = 0x3f; /* interrupt level 7, interrupt priority 7 */ *FPGA_INTR_ENABLE = 0xfe; /* enable int 1-7 */ MCF_EPORT_EPIER = 0xfe; /* int 1-7 on */ diff --git a/BaS_gcc/sources/exceptions.S b/BaS_gcc/sources/exceptions.S index dd5da07..45a9aad 100644 --- a/BaS_gcc/sources/exceptions.S +++ b/BaS_gcc/sources/exceptions.S @@ -767,7 +767,7 @@ psc3_fertig: RTE /* - * timer 0: video change later also others + * general purpose timer 0 (GPT0): video change, later also others */ timer0: move #0x2700,sr