Welcome, Guest. Please login or register.

Author Topic: List the contents of a ROM image, or split it apart  (Read 2919 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
List the contents of a ROM image, or split it apart
« on: June 11, 2008, 05:42:28 PM »
I'm trying to find out what is inside my old custom 3.9 ROM image as I can no longer remember. I tried using Doobrey's ROMSplit utility but it tells me the ROM is unsupported because it is unrecognised. So is there any other way to split a ROM image, or at least list its contents?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: List the contents of a ROM image, or split it apart
« Reply #1 on: June 11, 2008, 06:52:01 PM »
@Homer
Heh, no smoking here ;-) But it was a long time ago since I did this, and I never actually needed to split my custom ROM image apart so I have never experience this problem.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: List the contents of a ROM image, or split it apart
« Reply #2 on: June 13, 2008, 01:04:12 PM »
Quote
Piru wrote:
It's trivial to list the resident tags inside the KS ROM however: Just scan for the resident tag structure (the ID + backref) and then dump the rt_IdString (remember that the ROM pointers need to be converted to buffer pointers: addr - 0xf80000 + bufstart). exec/resident.h has the struct Resident, the ID constant etc.

Trivial if you have any idea how to do that!

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10