From 00b0bd6b4847f736e34bdbaa8c6437bc683ae783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 14 Oct 2012 19:59:08 +0000 Subject: [PATCH] --- BaS_GNU/sources/BaS.c | 4 ++-- BaS_GNU/sources/last.s | 10 ---------- BaS_GNU/sources/sd_card.s | 8 ++++---- 3 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 BaS_GNU/sources/last.s diff --git a/BaS_GNU/sources/BaS.c b/BaS_GNU/sources/BaS.c index efef8a0..1840600 100644 --- a/BaS_GNU/sources/BaS.c +++ b/BaS_GNU/sources/BaS.c @@ -143,8 +143,8 @@ copy_firetos: /* interrupts */ - * (uint32_t *) 0xf0010004 = 0L; /* disable all interrupts */ - MCF_EPORT_EPPAR = 0xaaa8; /* all interrupts on falling edge */ + * (uint32_t *) 0xf0010004 = 0L; /* disable all interrupts */ + MCF_EPORT_EPPAR = 0xaaa8; /* all interrupts on falling edge */ MCF_GPT0_GMS = MCF_GPT_GMS_ICT(1) | /* timer 0 on, video change capture on rising edge */ MCF_GPT_GMS_IEN | diff --git a/BaS_GNU/sources/last.s b/BaS_GNU/sources/last.s deleted file mode 100644 index c9dfe7a..0000000 --- a/BaS_GNU/sources/last.s +++ /dev/null @@ -1,10 +0,0 @@ -// letztes file der liste -// wichtig als endpunkt des kopierens - -.global copy_end - -.text - nop -copy_end: - nop -.asciz 'ende copy'; \ No newline at end of file diff --git a/BaS_GNU/sources/sd_card.s b/BaS_GNU/sources/sd_card.s index c51147c..2a3fefe 100644 --- a/BaS_GNU/sources/sd_card.s +++ b/BaS_GNU/sources/sd_card.s @@ -12,7 +12,7 @@ sd_test: move.l #'SD-C',(a6) move.l #'ard ',(a6) - move.l #__Bas_base,a5 // basis addresse (diesen bereich brauchen wir nicht mehr!) + move.l #__Bas_base,a5 // basis addresse (diesen bereich brauchen wir nicht mehr!) move.l #0x1fffffff,d0 // normal dspi move.l d0,MCF_PAD_PAR_DSPI lea MCF_DSPI_DMCR,a0 @@ -386,7 +386,7 @@ wait_auf_complett: btst.b #7,dspi_dsr(a0) beq wait_auf_complett move.l dspi_drfr(a0),d5 - mov3q.l #-1,dspi_dsr(a0) // clr status register + mov3q.l #-1,dspi_dsr(a0) // clr status register rts // daten holen ---------------------------- @@ -395,8 +395,8 @@ sd_rcv_info: move.b #0xff,d4 sd_rcv_rb_w: bsr sd_get_status - cmp.b #0xfe,d5 // daten bereit? - bne sd_rcv_rb_w // nein-> + cmp.b #0xfe,d5 // daten bereit? + bne sd_rcv_rb_w // nein-> sd_rcv_rd_rb: bsr sd_com move.b d5,(a4)+