Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: jethead71: firmware/target/coldfire system-coldfire.c,1.2,1.3

Re: jethead71: firmware/target/coldfire system-coldfire.c,1.2,1.3

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Sat, 04 Nov 2006 10:03:03 +0100

RaeNye wrote:
> That explains why
>
> ROM:00000000 1001 move.b d1,d0
> ROM:00000002 8000 or.b d0,d0
> ROM:00000004 0000 0008 ori.b #8,d0
>
> doesn't make sense...
> However, see how the OF does it:
>
> seg018:30EB8C3A reboot: ; DATA
> XREF: p_PMU_handle_event+72
> seg018:30EB8C3A 2E7C 3100+ movea.l #$31000000,sp
> seg018:30EB8C40 207C 0000+ movea.l #8,a0
> seg018:30EB8C46 4ED0 jmp (a0)
>
> I wonder what is stored at 0x4, though.

The reset vector, which points to address 8, as you can see in your ROM
listing.

Linus
Received on 2006-11-04

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy