Welcome, Guest. Please login or register.

Author Topic: Replacing AmigaOS libraries?  (Read 1740 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Replacing AmigaOS libraries?
« 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..?
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show only replies by platon42
    • http://www.platon42.de/
Re: Replacing AmigaOS libraries?
« Reply #1 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...
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline Heinz

  • Full Member
  • ***
  • Join Date: Nov 2005
  • Posts: 154
    • Show only replies by Heinz
    • http://amidevcpp.amiga-world.de
Re: Replacing AmigaOS libraries?
« Reply #2 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

I think it does exactly what you want. It replaces several AmigaOS Libraries, by running a command from cli.
 

Offline Einstein

  • Sr. Member
  • ****
  • Join Date: Dec 2004
  • Posts: 402
    • Show only replies by Einstein
Re: Replacing AmigaOS libraries?
« Reply #3 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:
I have spoken !