Welcome, Guest. Please login or register.

Author Topic: Extracting files from a kickstart rom  (Read 7102 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AF-Domains.netTopic starter

  • Technoid
  • Full Member
  • ***
  • Join Date: Oct 2002
  • Posts: 184
  • Country: 00
    • Show only replies by AF-Domains.net
    • AF-Domains.net
Extracting files from a kickstart rom
« on: January 02, 2005, 08:12:52 PM »
Is there any sort of command or program that can extract files or code from a kickstart rom?

Thanks

AF-Domains.net
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Extracting files from a kickstart rom
« Reply #1 on: January 02, 2005, 08:35:58 PM »
Quote
Is there any sort of command or program that can extract files or code from a kickstart rom?

No.

There is no generic solution to this problem (basically the problem is that relocs needs to be resolved properly, the code needs to be de-relocated. This is handwork).

Some tools might exist that extract single module (typically these tools have the specific relocs hardcoded).
 

Offline Matt_H

Re: Extracting files from a kickstart rom
« Reply #2 on: January 02, 2005, 09:49:09 PM »
There's a tool on Aminet by THOR that will extract the modules from the 3.5 or 3.9 update files, but I don't think there's any way to break apart the actual kickstart.
 

Offline AF-Domains.netTopic starter

  • Technoid
  • Full Member
  • ***
  • Join Date: Oct 2002
  • Posts: 184
  • Country: 00
    • Show only replies by AF-Domains.net
    • AF-Domains.net
Re: Extracting files from a kickstart rom
« Reply #3 on: January 02, 2005, 09:50:15 PM »
What is the name of the tool?
 

Offline Matt_H

Re: Extracting files from a kickstart rom
« Reply #4 on: January 02, 2005, 09:56:11 PM »
It's included in the ShellUpdate package. I have no idea how to use it properly, however.
 

Offline AF-Domains.netTopic starter

  • Technoid
  • Full Member
  • ***
  • Join Date: Oct 2002
  • Posts: 184
  • Country: 00
    • Show only replies by AF-Domains.net
    • AF-Domains.net
Re: Extracting files from a kickstart rom
« Reply #5 on: January 02, 2005, 09:58:25 PM »
What sort of coding or programming languages was the kickstart rom written in?

Since that might help.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Extracting files from a kickstart rom
« Reply #6 on: January 02, 2005, 10:35:25 PM »
@AF-Domains.net
Quote
What sort of coding or programming languages was the kickstart rom written in?

Assembler and C.

Quote
Since that might help.

No, it really doesn't.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Extracting files from a kickstart rom
« Reply #7 on: January 02, 2005, 10:41:02 PM »
@AF-Domains.net

I wrote such tool for BlizKick, too. It's called "romupdatesplit" and comes with full source code (well, it's AmigaE though... :-)) BlizKick.lha has the binary and source code included.

The usage is quite easy, for example:
Code: [Select]
romupdatesplit from "DEVS:AmigaOS ROM Update" to T:
This extracts the modules matching the current system.

To extract all modules, regardless of system type, use ALL/S.
 

Offline AF-Domains.netTopic starter

  • Technoid
  • Full Member
  • ***
  • Join Date: Oct 2002
  • Posts: 184
  • Country: 00
    • Show only replies by AF-Domains.net
    • AF-Domains.net
Re: Extracting files from a kickstart rom
« Reply #8 on: January 05, 2005, 02:42:30 AM »
Since it is next to impossible to extract files from the kickrom is it possible to disassemble a kickrom file?
 

Offline Matt_H

Re: Extracting files from a kickstart rom
« Reply #9 on: January 05, 2005, 03:33:30 AM »
Quote
Since it is next to impossible to extract files from the kickrom is it possible to disassemble a kickrom file?

A) I don't think so, and
B) The legality of such an attempt is questionable.

What are you trying to do, anyway?
 

Offline AF-Domains.netTopic starter

  • Technoid
  • Full Member
  • ***
  • Join Date: Oct 2002
  • Posts: 184
  • Country: 00
    • Show only replies by AF-Domains.net
    • AF-Domains.net
Re: Extracting files from a kickstart rom
« Reply #10 on: January 05, 2005, 07:05:57 AM »
I am trying to merge kcikstart 1.4 A15 with kick 3.1 to create a custom rom for my use only.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Extracting files from a kickstart rom
« Reply #11 on: January 05, 2005, 07:40:46 AM »
@AF-Domains.net
Quote
Since it is next to impossible to extract files from the kickrom is it possible to disassemble a kickrom file?

Yes.

However, the problem remains the same: You need to decide whether values between 0x00f80000-0x00ffffff are pointers (reloc) or data. If you get even single item wrong, the reassembled module will misbehave (in some conditions).
 

Offline AF-Domains.netTopic starter

  • Technoid
  • Full Member
  • ***
  • Join Date: Oct 2002
  • Posts: 184
  • Country: 00
    • Show only replies by AF-Domains.net
    • AF-Domains.net
Re: Extracting files from a kickstart rom
« Reply #12 on: January 05, 2005, 10:05:31 PM »
Which are the best Assembly and C programming tools to use to disassemble the kick roms with?
 

Offline seer

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1453
    • Show only replies by seer
Re: Extracting files from a kickstart rom
« Reply #13 on: January 05, 2005, 10:20:20 PM »
You need to decide whether values between 0x00f80000-0x00ffffff are pointers (reloc) or data

Ok, this is something I don't understand. I mean, something must read the ROM otherwise the Amiga doesn't work/boot. So, doesn't that mean you can make a tool that does almost the same ? Read the rom and extract the needed modules ?

Ok, I really have no clue about programming issues, but to me this sounds like "nobody can read a certain book but it can be translated..."

~
Everything you say will be misquoted and used against you.
~
 

Offline AF-Domains.netTopic starter

  • Technoid
  • Full Member
  • ***
  • Join Date: Oct 2002
  • Posts: 184
  • Country: 00
    • Show only replies by AF-Domains.net
    • AF-Domains.net
Re: Extracting files from a kickstart rom
« Reply #14 on: January 05, 2005, 10:27:00 PM »
I have already downloaded several programs off aminet to attempt to look inside the kickrom file but it mostly comes out as total garbage, I assume that it probably has something to do with the C programming that the rom was also programmed in.