From f30e251bfa45bc81cf9e77099c49955ccb6f2717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Mon, 29 Jul 2013 15:20:57 +0000 Subject: [PATCH] updated comments and made (hopefully) better readable --- sources/BaS.c | 3 ++- sources/exceptions.S | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sources/BaS.c b/sources/BaS.c index 29b4f6d..7418fec 100644 --- a/sources/BaS.c +++ b/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/sources/exceptions.S b/sources/exceptions.S index dd5da07..45a9aad 100644 --- a/sources/exceptions.S +++ b/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