27 June 2011, 16:31 | #181 | |
Registered User
Join Date: Mar 2010
Location: Beckenham/England
Posts: 795
|
Quote:
Either library with env variable - no crashes. No_Forbid library no variable - crashes quite a lot, but not all the time. Forbid library no variable - after many resets with no problems there has been just one time when the system seemed to reset itself (didn't see a guru) and then seemed to run fine. When the other library causes crashes a reset is not enough to clear the problem. |
|
29 June 2011, 00:37 | #182 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Thank you James,
I've just uploaded icon.library 46.4.220 to Aminet which is almost identical to 219 with the Forbid(). |
29 June 2011, 01:31 | #183 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
|
Quote:
I don't think using Forib()/Permit() to get around issues caused by other programs that are not multitasking correctly is the best way to go with IconLib. Most of the Amiga development stuff that I've read seems to be against using Forib()/Permit() these days. I'm currently creating a custom 3.9 ROM for my ACA, which is the best (stability/speed) version of your icon.library to use for my AGA 1200? What else do I need to install to try some of these PNG Icons on my standard 3.9 install (I'm not using Scalos)? Thanks, Chris |
|
29 June 2011, 03:36 | #184 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Hi NovaCoder,
of course, I know that it could be better in some cases to use Semaphores for locking specific resources only instead of switching off the multitasking completely with Forbid() but I guess that Forbid() and Permit() are working much faster than ObtainSemaphore() and ReleaseSemaphore(). That's only one reason. The other one is that the second process which tries to use the pngalpha.library must use the same Semaphore locking to let it work as it should. That won't be the case, thus Semaphores are quite useless for solving this problem. My latest icon.library version 46.4.220 will come out on Aminet in a few hours.... and you may also still find some example icons somewhere above. Update: Please, don't put the icon.library into a ROM if the access speed of that ROM is not as fast as your FastMem Last edited by PeterK; 29 June 2011 at 09:51. |
29 June 2011, 04:08 | #185 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
|
It's ok, I've got an ACA so the 3.9 ROM is going straight to FASTRAM
|
29 June 2011, 04:17 | #186 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
PNG icon collections on Aminet are here: http://aminet.net/pix/picon
Very nice Mason icons are here: http://www.masonicons.info/4.html Icons on OS4 Depot: http://www.os4depot.net/index.php?fu...=graphics/icon |
29 June 2011, 04:41 | #187 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
|
Cool thanks for those icons, do I need any of the following installed to use v46.4.220 on my setup?
Code:
WarpPNG.datatype Datatypes.library Picture.datatype PNG.datatype zlib.library pngalpha.library Last edited by NovaCoder; 29 June 2011 at 04:47. |
29 June 2011, 04:54 | #188 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Replace the icon.library with 46.4.220,
the datatypes.library and the picture.datatype are ok and are required, zlib.library is ok and required for OS4 TrueColor icons, PNG.datatype is ok and required for PNG icons, but you can remove the DEVS:datatypes/PNG if you prefer the WarpPNG.datatype for pictures, There is an update for the WarpPNG.datatype on Aminet, but it is not required and supported for the icons anymore. pngalpha.library is ok and required for a few icons. if you have a Hi/TruColor screenmode then you should install the PowerIcons program too and patch it with my PatchPowerIcons Update: http://aminet.net/package/util/libs/IconLib_46.4 Last edited by PeterK; 03 July 2011 at 03:57. |
05 July 2011, 06:29 | #189 |
Banned
Join Date: Jan 2007
Location: France
Posts: 655
|
|
05 July 2011, 08:24 | #190 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Thanks for this info, Cosmos !
Really unbelievable, very good news, indeed. Maybe this italian guy finally changed her mind, because he also asked me for creating a better PowerIcons program, but I refused to do that, since it's too much work to analyze and modify PowerIcons just by reverse engineering without having the sources. Ok, now it should be possible and much easier to adapt the direct drawing routine and integrate it into the icon.library without inventing the wheel again. Many thanks to Elena Novaretti |
18 July 2011, 03:53 | #191 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Quote:
Some years ago, I've written a tiny utility called libXScounter, because I wanted to know how often every library function in the system is really called by applications and how much sense it makes to optimize a function. LibXsCounter.rar Unfortunatly, publishing commented sources of the system libraries which have not been completely rewritten from scratch is still illegal as long as the AmigaOS is protected by a Copyright for commercial interests. Thus, bugfixes can only be spread as patches. |
|
29 July 2011, 02:02 | #192 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
@TheCyberDruid
This thread can be closed and/or deleted. Thanks! |
29 July 2011, 02:24 | #193 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
|
Don't delete this thread, there's some very valuable infomation here about using the new library.
for example: Quote:
Last edited by NovaCoder; 29 July 2011 at 03:42. |
|
29 July 2011, 03:23 | #194 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
@NovaCoder
What is it? Are you missing some information in the IconLib_46.4.readme file? Which are the post numbers in this thread you're referring to? Update: That's all mentioned in the IconLib_46.4.readme file, but nobody reads it, as usually. http://aminet.net/package/util/libs/IconLib_46.4 Btw, IconLib_46.4.220 is the last freeware version! The next versions will be "BluesWare"-updates, which means, I would expect a Blues song as an mp3 or flac file via email. @TheCyberDruid This thread can be closed and/or deleted. Thanks! Last edited by PeterK; 29 July 2011 at 08:07. |
29 July 2011, 09:47 | #195 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,518
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
C Code without official includes | redblade | Coders. Language | 3 | 20 March 2013 14:05 |
A new OFFICIAL AmigaOne 500 | DDNI | News | 49 | 18 July 2012 16:08 |
some goodies not in official .dat | thevoice | project.TOSEC (amiga only) | 8 | 11 November 2006 12:35 |
The Official "Newly Aquired Games" thread | StarEye | project.SPS (was CAPS) | 42 | 24 February 2006 01:33 |
official - CD32 better than dreamcast | tin | Retrogaming General Discussion | 7 | 16 April 2004 21:43 |
|
|