From: johanknol Date: Fri, 31 Jan 2003 09:39:45 +0000 (+0000) Subject: Applied Jan Rejlek's >64K startup patch. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f547575cf00fedf12e8c01517efe34e74766cf84;p=fw%2Fsdcc Applied Jan Rejlek's >64K startup patch. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2193 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index bf677e33..d41eeb70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-01-31 + + * src/ds390/main.c (_ds390_genAssemblerPreamble): applied Jan Rejlek's >64K startup patch + 2003-01-30 * src/SDCCBBlock.c: automatic bug detection diff --git a/src/ds390/main.c b/src/ds390/main.c index 10bae817..5698771c 100644 --- a/src/ds390/main.c +++ b/src/ds390/main.c @@ -230,7 +230,7 @@ _ds390_genIVT (FILE * of, symbol ** interrupts, int maxInterrupts) return FALSE; } - fprintf (of, "\tajmp\t__sdcc_gsinit_startup\n"); + fprintf (of, "\tajmp\t__reset_vect\n"); /* now for the other interrupts */ for (i = 0; i < maxInterrupts; i++) @@ -245,6 +245,8 @@ _ds390_genIVT (FILE * of, symbol ** interrupts, int maxInterrupts) } } + fprintf (of, "__reset_vect:\n\tljmp\t__sdcc_gsinit_startup\n"); + return TRUE; }