diff --git a/BaS_gcc/Makefile b/BaS_gcc/Makefile index a8518e7..6702a56 100644 --- a/BaS_gcc/Makefile +++ b/BaS_gcc/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/BaS_gcc/sources/BaS.c b/BaS_gcc/sources/BaS.c index bf153c7..b75e3eb 100644 --- a/BaS_gcc/sources/BaS.c +++ b/BaS_gcc/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 */