Welcome, Guest. Please login or register.

Author Topic: AfA OS under 3.1 problems  (Read 4987 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: AfA OS under 3.1 problems
« Reply #14 on: April 29, 2008, 11:31:21 AM »
Quote
I'm using 68040 emulation.


Of course, that explains why skinning didn't crash your
system. 68040 emulates 68040 with builtin FPU.
At first I was using 68020 without FPU emulation, later
I changed it to 68020/68881 and it didn't crash
anymore.


I guess for now, PNG icons under 3.1 aren't possible
with AFA_OS. I'm thinking of writing an email to Bernd,
but the last time I did that I didn't get an answer.

Regards,
Lloyd
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: AfA OS under 3.1 problems
« Reply #15 on: April 29, 2008, 11:53:17 AM »
Cool that we got some answers to these problems since I got these exact problems some days ago but I got not reply to this old post.

I repeat the same post here:

Everything installed just fine (Tried 4.1 and 4.2 version).
- I putted correctly the assign of AfA_OS_Libs in SS (which is in Libs:AfA_OS_Libs)
- I putted MoreLibSpace as first line in SS
- I putted AfA_OS_Loader after the AddDataTypes and before IPrefs
- "Status" command shows the 7 .exe libs loaded
- I have no PNG icon support (Unless I run PowerIcons manually, I haven't got PowerIcons installed)
- I can't choose any Skin from the AfA prefs (Seems disabled/grey)
[Btw I have no VisualPrefs nor PowerIcons installed]

So, at least for the skin support (that now it's grey) what was the solution? Increase of stack in icon info?
As for PNG, should we stick with PowerIcons for the time being?

Thanks again
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: AfA OS under 3.1 problems
« Reply #16 on: April 29, 2008, 01:25:47 PM »
@mfilos
This thread was about AFA under winuae/os3.1.

Have you checked with scout if Morelibspace is working ?
Did you try to run C:Morelibspace with REBOOT parameter?
If that doesn't work try to run it with REVERSE parameter ?
On my real amiga I have to run C:morelibspace as a blizkick
module, otherwise it won't work.


Regards,
Lloyd
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AfA OS under 3.1 problems
« Reply #17 on: April 29, 2008, 02:44:16 PM »
Tried icon.library from OS3.5 and the machine wouldn't boot, so that's out.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AfA OS under 3.1 problems
« Reply #18 on: April 29, 2008, 03:39:39 PM »
Hmm, works perfectly on a fresh install of 3.9. Perhaps this is a 3.1 incompatibility after all!

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: AfA OS under 3.1 problems
« Reply #19 on: April 29, 2008, 03:49:19 PM »
Moto you gave me an idea. I copied Icon.library,
workbench.library and setpatch from os3.9 to os3.1
and voila png icons work. with os3.1 icon.library
and workbench.library are in ROM, so inorder to use
a diskbased version of these, you must use setpatch.
Thanks man !

Edit: I don't have os3.5 so I can't test out the os3.5
versions of these files.

Regards,
Lloyd
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AfA OS under 3.1 problems
« Reply #20 on: April 29, 2008, 05:30:43 PM »
That's it! Nice one :-) Just to confirm, this is the fix to get PNG icons working through AFA under OS3.1:

1. Rename C:SetPatch to SetPatch.old
2. Copy AmigaOS3.9:OS-Version3.9/Workbench3.5/Libs/icon.library to Libs:
3. Copy AmigaOS3.9:OS-Version3.9/Workbench3.9/Libs/workbench.library to Libs:
4. Copy AmigaOS3.9:OS-Version3.9/Workbench3.9/C/SetPatch to C:

Thanks again :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: AfA OS under 3.1 problems
« Reply #21 on: April 30, 2008, 09:13:43 AM »
So to sum it all up:

- AFA needs picasso96.
- AFA needs FPU.
- AFA Prefs needs huge stacksize.
- AFA needs icon library, workbench.library and setpatch
  from OS3.9. I think the versions from OS3.5 will work
  also.


Regards,
Lloyd
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AfA OS under 3.1 problems
« Reply #22 on: April 30, 2008, 11:39:14 AM »
This also works on a real Amiga running 3.1
:pint:

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: AfA OS under 3.1 problems
« Reply #23 on: May 01, 2008, 12:08:54 AM »
Quote
This also works on a real Amiga running 3.1


OT:
That's why I love UAE. You can check things out, without
installing it on your real amiga.

Regards,
Lloyd
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: AfA OS under 3.1 problems
« Reply #24 on: May 01, 2008, 12:11:58 PM »
when use AFA under 3.1 then there is no newicons patch need.afa iconlib support newicons,png and OS4 Icons.

i not test yet OS3.1 without scalos, because i think scalos or dopus magellan is must have on WB3.1.with scalos PNG icon support work on OS3.1

but it is possible that AFA not run without Scalos

icon library on Wb3.5 is much enhance.afa need for fallback funcs that dopus magellan work correct with png icons a >3.1 icon library.

normaly you need no setpatch from 3.9 and workbench library from 3.9.

dopus magellan (demo on aminet) contain too a icon.library that is newer than this of OS 3.1

I think when you install this icon.library(see readme, it is legal to do so)or go to Stephan Rupprecht homepage to use this V44 icon.library then AFA PNG support must work on OS3.1 too.

But here too dont install a newicon display patch.

please let know if my suggestion work, so this can add in FAQ  
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: AfA OS under 3.1 problems
« Reply #25 on: May 01, 2008, 04:58:56 PM »
I do not intend to use Dopus Magellan or Scalos. I just
want to install AFA on a clean OS3.1. Fact is, PNG icons
do not work with icon.library from OS3.1. So you must
use icon.library from os3.5 or 3.9. As I said earlier,
in OS3.1 icon.library is ROM-based (just like workbench.library)
, and to use the 3.5 or 3.9 version you DO have to use
setpatch. If you dont
believe me, read this documentation about setpatch of os3.5 beta..
I asume this documentation is also valid for setpatch from
os3.9.
As setpatch removes both icon.library and workbench.library
from exec's library list automatically (as the above
document says), you must copy setpatch,icon.library and
workbench.library from os3.9 to os3.1.

Regards,
Lloyd
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: AfA OS under 3.1 problems
« Reply #26 on: May 01, 2008, 07:05:39 PM »
Just tested Stephan Rupprechts newicon.library v44.
(I assume this is the library Bernd talked about.
I couldn't find icon.library v.44).
I restored setpatch from os3.1 first and renamed icon.library and workbench.library.
Then I copied Stephan's newicon.library to libs:
(saved original newicon.library first) and rebooted.
I get the following error 'missing or obsolete library'
and the system crashes. So, for me, the only solution is
copying setpatch/icon.library/workbench.library from
os3.9 to os3.1.

Regards,
Lloyd
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: AfA OS under 3.1 problems
« Reply #27 on: May 02, 2008, 10:11:26 AM »
>believe me, read this documentation about setpatch of >os3.5 beta..
>I asume this documentation is also valid for setpatch from

ah so thanks for info, then i know what problem is, i must remove OS3.1 iconlibrary first.i dont think that OS3.1 initiate iconlibrary before use them.OS3.5 and OS3.9 dont have iconlibrary laod when afa_os_loader is execute, so no need of remove old iconlibrary

maybe i do that in some next versions.
 

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show only replies by MozzerFan
Re: AfA OS under 3.1 problems
« Reply #28 on: May 02, 2008, 03:36:14 PM »
Thanks for looking into it Bernd.
And of course a big thank you for AFA-OS.

Regards,
Lloyd
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: AfA OS under 3.1 problems
« Reply #29 from previous page: May 03, 2008, 03:26:03 PM »
I look now and see that OS3.1 workbench do intern icon draw, this mean the OS Function drawiconstate is not use in workbench and OS3.1 iconlib does not contain this function.

also i see no easy way how i can remove the resident iconlibrary of 3.1.resident is in ROM.

only i fix the AFA boot hang when a icon.library file is on OS3.1 in libs dir.

skinning and PNG icons dont work then, but its better than hang in the boot.

The FAQ can add then a the entry, that no icon.library should stay in libs dir if the OS3.1 romlib is active

only your trick can work.your trick seem use the workbench code of 3.9, so it can work