Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: motorollin on June 11, 2008, 05:42:28 PM

Title: List the contents of a ROM image, or split it apart
Post by: motorollin 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
Title: Re: List the contents of a ROM image, or split it apart
Post by: Homer on June 11, 2008, 06:07:40 PM
Blimey motorollin, I would usually advise you to contact motorollin, but I guess you must have been smoking some heavy stuff man  :lol:
:pint:
Title: Re: List the contents of a ROM image, or split it apart
Post by: motorollin 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
Title: Re: List the contents of a ROM image, or split it apart
Post by: AmigaMance on June 12, 2008, 12:19:33 AM
 Use romupdatesplit from the BlizKick archive.
Title: Re: List the contents of a ROM image, or split it apart
Post by: Piru on June 12, 2008, 12:59:21 AM
romupdatesplit splits the "AmigaOS ROM Update", not the kickstart ROM. Generic KS ROM splitter is pretty much impossible to code.

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.
Title: Re: List the contents of a ROM image, or split it apart
Post by: motorollin 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