From 1ae18674ea2ebf8cf861d28707af7aeceaa8f921 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Wed, 17 Feb 2010 03:14:32 +0000 Subject: [PATCH] DSi mods --- dkarm-eabi/crtls/ds_arm7.ld | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dkarm-eabi/crtls/ds_arm7.ld b/dkarm-eabi/crtls/ds_arm7.ld index 1b2e914..ed98958 100644 --- a/dkarm-eabi/crtls/ds_arm7.ld +++ b/dkarm-eabi/crtls/ds_arm7.ld @@ -10,12 +10,14 @@ MEMORY { __iwram_start = ORIGIN(iwram); __iwram_top = ORIGIN(iwram)+ LENGTH(iwram); -__sp_irq = __iwram_top - 0x60; + +__sp_irq = __iwram_top - 0x100; __sp_svc = __sp_irq - 0x100; __sp_usr = __sp_svc - 0x100; -__irq_flags = __iwram_top - 8; -__irq_vector = __iwram_top - 4; +__irq_flags = 0x04000000 - 8; +__irq_flags2 = 0x04000000 - 0x40; +__irq_vector = 0x04000000 - 4; SECTIONS {