X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=cyclone68000.git;a=blobdiff_plain;f=Main.cpp;h=13efac2344971f9857e26c834bfb224c5ff3d5b9;hp=9ef8a2b965a063301d762798aba01f5790e0deec;hb=590d780f20871b29fdc803bd2c74b046fd2d0f28;hpb=3504ce942735ae4283cd47ca6defaae87b550c57 diff --git a/Main.cpp b/Main.cpp index 9ef8a2b..13efac2 100644 --- a/Main.cpp +++ b/Main.cpp @@ -306,7 +306,12 @@ static void PrintFramework() ot(" bx lr\n"); ltorg(); #else - ot(";@ do nothing\n"); + ot(";@ fix final jumptable entries\n"); + ot(" ldr r12,=CycloneJumpTab\n"); + ot(" add r12,r12,#0x10000*4\n"); + ot(" ldr r0,[r12,#-3*4]\n"); + ot(" str r0,[r12,#-2*4]\n"); + ot(" str r0,[r12,#-1*4]\n"); ot(" bx lr\n"); #endif ot("\n");