Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: freqmax on September 20, 2012, 04:25:07 PM

Title: Replacing AmigaOS libraries?
Post by: freqmax on September 20, 2012, 04:25:07 PM
Is it possible to replace libraries like "exec.library" etc.. in AmigaOS without resorting to ROM/Flash replacements? ie by just running some program from the CLI.

And is there a difference in this capability between 1.x 2.x 3.x etc..?
Title: Re: Replacing AmigaOS libraries?
Post by: platon42 on September 20, 2012, 05:44:59 PM
Replacing exec is a pretty difficult job because it is so central and early in the system. SetPatch with BoingBag 2 does it, though. expansion.library is also the only lib that cannot be replaced by the exec mechanism (only custom ROM), but all other libs can easily be "updated" with the LoadResident mechanism (KickPtr/KickTag). Damn clever. I think the actual mechanism is available since the 1.x kickstarts (don't quote me on that though)... There might be some slight differences especially between 1.x, and 2.x...
Title: Re: Replacing AmigaOS libraries?
Post by: Heinz on September 20, 2012, 08:07:52 PM
Quote from: freqmax;708810
Is it possible to replace libraries like "exec.library" etc.. in AmigaOS without resorting to ROM/Flash replacements? ie by just running some program from the CLI.

And is there a difference in this capability between 1.x 2.x 3.x etc..?


You should have a look at the sources of AROS for AmigaOS (http://amidevcpp.amiga-world.de/afaupload.php?HR_LANG=deutsch)

I think it does exactly what you want. It replaces several AmigaOS Libraries, by running a command from cli.
Title: Re: Replacing AmigaOS libraries?
Post by: Einstein on September 23, 2012, 10:05:42 PM
This makes me remember myself asking, in mid 2000s, how to free all libraries including Exec in order to free all ram because I wanted to write .adf files into floppy disks....using an OS app.... :roflmao: