Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: motorollin on April 28, 2008, 05:55:41 PM

Title: AfA OS under 3.1 problems
Post by: motorollin on April 28, 2008, 05:55:41 PM
I have done a new install of 3.1. All I have installed is NewIcons, MUI and AfA OS 4.2.

- PNG icons don't work
- writepixelalpha_bench crashes with error #80000008
- AfA_Prefs won't allow me to select a skin (greyed out) and crashes after a few mouseclicks in the window (error #80000008)

+ textbench works
+ icon.library shows lib_PosSize of 10,000 in Scout, so MoreLibSpace is working
+ "status" shows the AfA lib exes as resident.

Any ideas?

--
moto
Title: Re: AfA OS under 3.1 problems
Post by: AmiKit on April 28, 2008, 06:05:35 PM
What about older AfA_OS releases?
Title: Re: AfA OS under 3.1 problems
Post by: SamuraiCrow on April 28, 2008, 06:08:01 PM
Doesn't AfA require OS 3.9 and both boing bags first to work properly?
Title: Re: AfA OS under 3.1 problems
Post by: motorollin on April 28, 2008, 06:10:10 PM
These are the requirements:

--Kickstart ROM Version 3.1
--more than 2MB RAM.
--68030 or higher with FPU.
--graphic card.

I haven't installed any RTG drivers yet, since this is under UAE so I was going to experiment with AGA first. Could this be why it won't work? Is RTG really a requirement or just a recommendation?

--
moto
Title: Re: AfA OS under 3.1 problems
Post by: SamuraiCrow on April 28, 2008, 06:21:12 PM
Since there is no Alpha-blending capability in the AGA chipset, I'd say you need to install Picasso96 and the Picasso96 driver for UAE_Gfx.
Title: Re: AfA OS under 3.1 problems
Post by: motorollin on April 28, 2008, 06:26:33 PM
Ok I'll do that and try again.

--
moto
Title: Re: AfA OS under 3.1 problems
Post by: motorollin on April 28, 2008, 06:45:43 PM
Ok installed P96 and the uaegfx driver and am now running on a P96 screen. PNG icons still don't work. Writepixelalpha_bench works now, and the skin section of AfA_Prefs is now active. But the Prefs window still hangs if I try to do anything. I'll try AmiKit's suggestion of an older version.

--
moto
Title: Re: AfA OS under 3.1 problems
Post by: motorollin on April 28, 2008, 07:05:36 PM
Same problem with 4.0... :-(

--
moto
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan on April 28, 2008, 08:09:21 PM
How did you start morelibspace? It says in the docs of
AFA 4.2 that OS3.1 users should start morelibspace with
the REBOOT parameter.

Regards,
Lloyd
Title: Re: AfA OS under 3.1 problems
Post by: motorollin on April 28, 2008, 08:19:45 PM
Yes I've got "c:morelibspace REBOOT" just before SetPatch. But as I said morelibspace is working because the amount of RAM available for icon.library has increased.

--
moto
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan on April 28, 2008, 11:56:04 PM
Just made a fresh os3.1 install + afa 4.2 under Winuae.
At first I had the same problems as you. Then I realised
I started the afa preference program from the cli,
because it's icon didn't show up in WB. I replaced the
icon-image of the afa prefs program and after that I
noticed with Icon-info,AFA prefs has a huge stack size set.
So this time i started the prefs program by doubleclicking
it's icon and it didn't guru anymore.
So I selected a skin, saved my settings and rebooted.
The skinned WB menubar shows up, but as soon as a window
is opened on wb I get a guru message. I didn't get any
further than that. Tomorrow I will try to look into it
again. *EDIT: Figured it out: I had to tick the use FPU
68881 option in winuaes cpu and fpu settings.
The skinning does now fully work.
The only thing that doesn't work is afa's ability to
show PNG icons. They just refuse to show up under my 3.1
config. I also own amiga forever, and under the 3.5/3.9
config of AF2006 it does work, so I will have to look
further into that.
BTW I use Winuae latest beta, so things may work different
for you, because I don't know what version of winuae you
use.

Regards,
Lloyd
Title: Re: AfA OS under 3.1 problems
Post by: jmbattle on April 29, 2008, 01:10:59 AM
It has been a while since I last installed AfA-OS from scratch (or even played with the Amiga, unfortunately...).  I do not know about the PNG icons, as I prefer to use Scalos, however all of the other functions offered by AfA-OS do appear to be working correctly under Kickstart 3.1.

Perhaps I should fire up AIAB and take a look at the order things are started?

Cheers,
James
x
Title: Re: AfA OS under 3.1 problems
Post by: motorollin on April 29, 2008, 10:38:42 AM
Quote
MozzerFan wrote:
I replaced the
icon-image of the afa prefs program and after that I
noticed with Icon-info,AFA prefs has a huge stack size set.
So this time i started the prefs program by doubleclicking
it's icon and it didn't guru anymore.

Ahh, that works! After selecting a skin and rebooting, skinning works :-D Thanks!

Quote
MozzerFan wrote:
I had to tick the use FPU
68881 option in winuaes cpu and fpu settings.

I'm using 68040 emulation. Also just tried 68060, and 68020+FPU but PNG icons still don't work.

Quote
MozzerFan wrote:
The only thing that doesn't work is afa's ability to
show PNG icons. They just refuse to show up under my 3.1
config. I also own amiga forever, and under the 3.5/3.9
config of AF2006 it does work, so I will have to look
further into that.

I also had the same problems getting PNG icons to work under 3.1 on my real A4000, but it does work under 3.9. OS >3.1 isn't listed as a requirement, so I'm not sure why it doesn't work :-?

Quote
MozzerFan wrote:
BTW I use Winuae latest beta, so things may work different
for you, because I don't know what version of winuae you
use.

I don't know whether that would make a difference or not. I'm using E-UAE on a Mac.

--
moto
Title: Re: AfA OS under 3.1 problems
Post by: motorollin on April 29, 2008, 10:45:50 AM
Just tried PowerIcons as a test, and it requires icon.library v44+. Perhaps AfA's PNG icon functions have the same requirement.

--
moto
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan 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
Title: Re: AfA OS under 3.1 problems
Post by: mfilos 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 (http://www.amiga.org/forums/showthread.php?t=35018).

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
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan 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
Title: Re: AfA OS under 3.1 problems
Post by: motorollin 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
Title: Re: AfA OS under 3.1 problems
Post by: motorollin 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
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan 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
Title: Re: AfA OS under 3.1 problems
Post by: motorollin 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
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan 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
Title: Re: AfA OS under 3.1 problems
Post by: motorollin on April 30, 2008, 11:39:14 AM
This also works on a real Amiga running 3.1
:pint:

--
moto
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan 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
Title: Re: AfA OS under 3.1 problems
Post by: unusedunused 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  
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan 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. (http://www.codewiz.org/projects/amiga/V44_Changes/V44_Changes_guide/node0012.html).
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
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan 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
Title: Re: AfA OS under 3.1 problems
Post by: unusedunused 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.
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan 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
Title: Re: AfA OS under 3.1 problems
Post by: unusedunused on 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
 
Title: Re: AfA OS under 3.1 problems
Post by: MozzerFan on May 03, 2008, 05:50:48 PM
It's working now, so it doesn't really matter.
Thanks for trying though.

Regards,
Lloyd