Rockbox mail archiveSubject: Exception vector table
Exception vector table
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Sat, 8 Dec 2001 18:49:16 +0100 (CET)
The first 0x200 bytes of the image appears to be the exception vector table.
The vectors are explained on pages 54 and 70-71 in the SH-1 Hardware Manual.
This is what it looks like:
Vec# Address Description/interrupt source
---- -------- ----------------
0: 09000200 Power-on reset PC
1: 0903f2bc Power-on reset SP
2: 09000200 Manual reset PC
3: 0903f2bc Manual reset SP
11: 09000cac NMI
64: 0900c060 IRQ0
70: 09004934 IRQ6
78: 09004a38 DMAC3 DEI3
80: 0900dfd0 ITU0 IMIA0
88: 0900df60 ITU2 IMIA2
90: 0900df60 ITU2 OVI2
104: 09004918 SCI1 ERI1
105: 090049e0 SCI1 Rxl1
109: 09010270 A/D ITI
From the use of address 0x0903f2bc as stack pointer, we can deduce that the
DRAM is located at address 0x09000000. This also corresponds with the fact
that there is code at address 0x200 of the image file.
It is also interesting to look at which vectors are used, such as the SCI rx.
And what is the A/D converter used for?
I've written this down on the page http://bjorn.haxx.se/jukebox/notes.html
which I plan to keep updated as more discoveries and conclusions are made.
Also, there is now a list archive: http://bjorn.haxx.se/jukebox/mail.cgi
Received on 2001-12-08
Page was last modified "Sat May 23 08:12:40 2020" The Rockbox Crew