From 82dd0eee4df22411ea6acc31e070055afadfda6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Fri, 5 Jul 2013 16:27:35 +0000 Subject: [PATCH] added comments --- Makefile | 3 +-- sources/BaS.c | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a8518e7..6702a56 100644 --- a/Makefile +++ b/Makefile @@ -35,9 +35,8 @@ CFLAGS=-mcpu=5474\ -g\ -Wno-multichar\ -Winline\ - -O \ + -Os \ -fomit-frame-pointer\ - -fno-strict-aliasing\ -ffreestanding\ -fleading-underscore\ -Wa,--register-prefix-optional diff --git a/sources/BaS.c b/sources/BaS.c index bf153c7..b75e3eb 100644 --- a/sources/BaS.c +++ b/sources/BaS.c @@ -250,6 +250,9 @@ void BaS(void) *adr++ = 0x0L; } + /* set Falcon bus control register */ + /* sets bit 3 and 6. Both are undefined on an original Falcon? */ + * (volatile uint8_t *) 0xffff8007 = 0x48; /* FIXME: what's that ? */ /* ST RAM */