AROS 68k updates from ApollOS repository

deadwood · 12405

miker1264

  • Legendary Member
  • *****
    • Posts: 1294
    • Karma: +82/-2
Reply #180 on: December 12, 2021, 07:03:56 PM
Miker be careful, the icon.library of AROS 68k is fictitious, even if you delete it the icon.library will still work because "it is resident", this may mean that there is another copy of icon.library in the ROM.

I suspect something is fishy with AROS 68k Icon Library. You may be right. It isn't using the Icon Library in Libs. So what is it using.

I performed the same write test in Icon Library for x86_64 and the test file was written correctly. But it didn't work for 68k. Hmmm...



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2120
    • Karma: +48/-1
  • AROS One
    • AROS One
Reply #181 on: December 12, 2021, 07:12:12 PM
It is clear that there is an icon.library in Ram present in ROM or loaded through a command as OS 3.1.4 and OS 3.2 and OS 3.9, in fact if you try to copy the icon.library of PeterK in your AROS 68k you will see that it will not work because it is ignored, to activate it and have the system recognize it you must first clean the resident one from Ram through a command to put in the startup-sequence.


miker1264

  • Legendary Member
  • *****
    • Posts: 1294
    • Karma: +82/-2
Reply #182 on: December 12, 2021, 07:13:07 PM
Hah!

Icon Library on AROS 68k is an imposter! What shenanigans is this?

I renamed icon.library and restarted AROS 68k. Everything displayed normally. All the icons were still there.

Then I simply removed Icon Library and same effect. Everything displayed as usual. So we aren't using Icon Library 68k. What are we using and why?

AMIGASYSTEM

How do you go about installing PeterK's Icon Library? Anything special I should know about?





miker1264

  • Legendary Member
  • *****
    • Posts: 1294
    • Karma: +82/-2
Reply #183 on: December 12, 2021, 07:16:48 PM
It is clear that there is an icon.library in Ram present in ROM or loaded through a command as OS 3.1.4 and OS 3.2 and OS 3.9, in fact if you try to copy the icon.library of PeterK in your AROS 68k you will see that it will not work because it is ignored, to activate it and have the system recognize it you must first clean the resident one from Ram through a command to put in the startup-sequence.

 I see you answered my question about PeterK's icon library.

What is the command in startup-sequence. Could you post the startup-sequence so i can take a look at it to trace the location of icon lib 68k?

I'll start another thread about Icon Library 68k so as to not clutter this one.




AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2120
    • Karma: +48/-1
  • AROS One
    • AROS One
Reply #184 on: December 12, 2021, 07:31:49 PM
It's not an impostor the icon.library AROS 68k, probably it will be used for something, maybe to replace the one in RAM in case of deletion. or they forgot to delete it from the system, in fact on OS 3.1 exists only in ROM and in the OS it's not there :)

To install the icon.library of PeterK, first of all you have to download the most recent, this is because after a report of mine has been changed the path of ENV.... AROS uses a different path and without this change was not recognized def_icon, then maybe I'll attach the link where we have discussed with Peter.

Installation Icon.library PeterK

- Download THIS Archive
- From the folder "Bonus" take the file "icon.library_Aros" and rename to icon.library
- Copy icon.library by Peter in LIBS and delete the one of AROS
- From the ThirdParty/RemLib folder take the file "RemLib" and copy it in C
- In the Startup- sequence add this command "C:Remlib >Nil: icon.library".
- You can put the command "C:Remlib >Nil: icon.library" after SetClock LOAD

If you have the dummy icons "the transparent ones created by the system" to make them active add the command "C:IconGhostingOff"

IconGhostingOff and other important commands for icons and more are in the same package of iconLib by PeterK
 






deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1063
    • Karma: +104/-0
Reply #185 on: December 12, 2021, 08:05:18 PM
Hah!

Icon Library on AROS 68k is an imposter! What shenanigans is this?

I renamed icon.library and restarted AROS 68k. Everything displayed normally. All the icons were still there.

Then I simply removed Icon Library and same effect. Everything displayed as usual. So we aren't using Icon Library 68k. What are we using and why?

AMIGASYSTEM

How do you go about installing PeterK's Icon Library? Anything special I should know about?

icon.library is indeed in ROM. The one you get created in Libs is not used. To rebuild ROM you need to:

make workbench-libs-icon-kobj-quick
make kernel-link-amiga-m68k-quick



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1063
    • Karma: +104/-0
Reply #186 on: December 12, 2021, 08:06:46 PM
FYI1, I'm not using GC 9.1 for my builds, but the original 6.5.0.

FYI2, elements of ROM can be found in AROS/arch/m68k-amiga/boot/mmakefile.src



miker1264

  • Legendary Member
  • *****
    • Posts: 1294
    • Karma: +82/-2
Reply #187 on: December 12, 2021, 08:09:48 PM
Hah!

Icon Library on AROS 68k is an imposter! What shenanigans is this?

I renamed icon.library and restarted AROS 68k. Everything displayed normally. All the icons were still there.

Then I simply removed Icon Library and same effect. Everything displayed as usual. So we aren't using Icon Library 68k. What are we using and why?

AMIGASYSTEM

How do you go about installing PeterK's Icon Library? Anything special I should know about?

icon.library is indeed in ROM. The one you get created in Libs is not used. To rebuild ROM you need to:

make workbench-libs-icon-kobj-quick
make kernel-link-amiga-m68k-quick

@deadwood

Thank you. That was a bit puzzling at first. It is resident in ROM.

Which Icon.Library will be included in ROM? The one present in Libs/icon.library?

So after I rebuild the ROM I then substitute the ROM. Ok.



OlafS3

  • Senior Member
  • ****
    • Posts: 455
    • Karma: +47/-0
Reply #188 on: December 12, 2021, 08:10:37 PM
Hah!

Icon Library on AROS 68k is an imposter! What shenanigans is this?

I renamed icon.library and restarted AROS 68k. Everything displayed normally. All the icons were still there.

Then I simply removed Icon Library and same effect. Everything displayed as usual. So we aren't using Icon Library 68k. What are we using and why?

AMIGASYSTEM

How do you go about installing PeterK's Icon Library? Anything special I should know about?

icon.library is indeed in ROM. The one you get created in Libs is not used. To rebuild ROM you need to:

make workbench-libs-icon-kobj-quick
make kernel-link-amiga-m68k-quick

in iconlib archive remlib is included in third parties. It can be used to replace the library in rom with the library in libs during startup



OlafS3

  • Senior Member
  • ****
    • Posts: 455
    • Karma: +47/-0
Reply #189 on: December 12, 2021, 08:12:00 PM
@miker

you do not necessarily need new roms

you can replace any library from rom with one library from harddrive during booting

RemLib >NIL: Libs:icon.library
« Last Edit: December 12, 2021, 08:18:45 PM by OlafS3 »



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1063
    • Karma: +104/-0
Reply #190 on: December 12, 2021, 08:20:01 PM

Which Icon.Library will be included in ROM? The one present in Libs/icon.library?


Nope. Another trick ;)

<build_dir>/bin/amiga-m68k/gen/kobjs/icon_library.ko



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2120
    • Karma: +48/-1
  • AROS One
    • AROS One
Reply #191 on: December 12, 2021, 08:24:43 PM
@miker

you do not necessarily need new roms


I think instead it's better to delete the icon.library from the ROM, in this way you can use any updated icon.library without the need to use remLib !

in addition to some possible conflict with some application, that happen, already happened !




OlafS3

  • Senior Member
  • ****
    • Posts: 455
    • Karma: +47/-0
Reply #192 on: December 12, 2021, 08:25:48 PM

Which Icon.Library will be included in ROM? The one present in Libs/icon.library?


Nope. Another trick ;)

<build_dir>/bin/amiga-m68k/gen/kobjs/icon_library.ko

Is the library new? I have removed PeterK icon library  from startup and it looks very similar even on magellan

looks good  :) 



miker1264

  • Legendary Member
  • *****
    • Posts: 1294
    • Karma: +82/-2
Reply #193 on: December 12, 2021, 08:30:48 PM
@deadwood

Hmmm....

My ROM failed. But your most recent ROM files work fine.

Maybe my system files are too old? The AROS Vanilla 68k I'm running is based on a more recent Nightlly.

The 68k system file sources I'm using is a few years old. What is the date of the 68k sources you are using?
« Last Edit: December 12, 2021, 08:36:27 PM by miker1264 »



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1063
    • Karma: +104/-0
Reply #194 on: December 12, 2021, 08:39:18 PM
That error indeed looks like lack of compatibility.

I'm using ABIv11 latest sources:
https://github.com/deadw00d/AROS