PDA

View Full Version : Entry vectors


burgers22
14-03-2009, 01:12 PM
How do you find the entry vectors for unknown ROMs?

I know in IDA, with the ROMs for 7-9 Evos you go to line 0000 in the hex press "D" three times to get "long" data, highlight the resultant long, use G to goto that line then press C to make code, but how do you know line 0000 is the entry vector and how can you identify the entry vector and other vectors in unknown ROMs without just stepping through each change in the code in the initial section of the ROM and repeating the above?

MB

AndyF
14-03-2009, 04:26 PM
It's specific to the processor that is used.

Only the early cars, the 6811HC processor always has the interrupt vectors stored at the last few lines of the entire code and so you can use those as starting entry vectors and work from there.

Andy

jcsbanks
14-03-2009, 07:47 PM
The hardware manual tells you where the vectors are.

I could probably do with a script to do all the SH2 vectors, as it is a bit time consuming doing it by hand for the whole table for a new ROM.