From 452e52ad5af48a41895db73c69e00725d77a52a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Rivi=C3=A8re?= Date: Sat, 20 Oct 2012 15:59:03 +0000 Subject: [PATCH] Cleaned up jump into the BaS. --- BaS_GNU/sources/sysinit.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/BaS_GNU/sources/sysinit.c b/BaS_GNU/sources/sysinit.c index 28b28ff..c0241e6 100644 --- a/BaS_GNU/sources/sysinit.c +++ b/BaS_GNU/sources/sysinit.c @@ -722,11 +722,7 @@ void initialize_hardware(void) { /* we have copied a code area, so flush the caches */ flush_and_invalidate_caches(); - __asm__ __volatile__( - " move.l %0,a3 | calculated start address\n\t" - " jmp (a3) | go! \n\t" - /* output */ : - /* input */ : "g" (jmp) - /* clobber */: "a3", "memory" - ); + /* jump into the BaS in RAM */ + extern void BaS(void); + BaS(); }