English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 20 March 2019, 20:01   #3141
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,529
Sorry, it's me again and ....

Link removed.

Thanks to everybody who has tried to help or support me!

Last edited by PeterK; 22 August 2019 at 20:41.
PeterK is offline  
Old 11 May 2019, 03:45   #3142
Retrofan
Ruler of the Universe

Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,068
Hi Peter, is everything ok about money now?. We are a family here, just tell if you like or by PM. Money is the easiest thing to fix having friends
Retrofan is offline  
Old 22 May 2019, 18:20   #3143
bloodline
Registered User

bloodline's Avatar
 
Join Date: Jan 2017
Location: London
Posts: 279
Sorry if this is the wrong place to ask, but does anyone know why there are the functions addFreeList() and freeFreeList() in the icon.library?

Shouldn’t these functions be in exec?
bloodline is offline  
Old 23 May 2019, 14:39   #3144
voxel
Amiga Nuts!
voxel's Avatar
 
Join Date: Sep 2006
Location: Le Mayet d'Ecole, 03800, FRANCE
Posts: 177
@bloodline ^^)

if you patch/replace an exec function by some more optimized code or else you find the new code (under the same function name) in the software that patches the old function...
voxel is offline  
Old 23 May 2019, 17:38   #3145
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 255
Quote:
Originally Posted by bloodline View Post
Sorry if this is the wrong place to ask, but does anyone know why there are the functions addFreeList() and freeFreeList() in the icon.library?

Shouldn’t these functions be in exec?
Oh well. This is - as always im AmigaOs - a historical accident. The icon.library requires some sort of resource tracking to ensure that all memory allocated with an icon is released as soon as the icon is released. That could also be done manually by checking all the pointers when releasing an (possibly even incomplete) DiskObject on release, but apparently the original creator considered it be more convenient to have this adminstrated by the library, and also considered it to be useful to have these functions exposed to the outside.

In reality, nobody else but the icon.library itself uses these functions. Intuition has AllocRemember(), for example, and exec received memory pools later on.

So, this is all legacy cruft, and an early (and not quite succesful) attempt for resource tracking. New code should not use these functions anyhow, and there are better ways how to track memory, e.g. by exec memory pools.
Thomas Richter is offline  
Old 29 May 2019, 18:14   #3146
bloodline
Registered User

bloodline's Avatar
 
Join Date: Jan 2017
Location: London
Posts: 279
Quote:
Originally Posted by Thomas Richter View Post
Oh well. This is - as always im AmigaOs - a historical accident. The icon.library requires some sort of resource tracking to ensure that all memory allocated with an icon is released as soon as the icon is released. That could also be done manually by checking all the pointers when releasing an (possibly even incomplete) DiskObject on release, but apparently the original creator considered it be more convenient to have this adminstrated by the library, and also considered it to be useful to have these functions exposed to the outside.
I sort of suspected/feared as much! I’ve never used the icon.library, so looking over the autodocs a while back these two functions stuck out like a sore thumb. RJ Michal does like to go on about what a mess OS1.x was, and you can see why when there is cruft like this scattered around.

Many thanks for the explanation.
bloodline is offline  
Old 02 September 2019, 15:55   #3147
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,529
Many thanks to everybody who has tried to help or support me during the last months. But I hope on your understanding when I don't want to talk here about that time anymore.


Update to icon.library 46.4.515

On filesystems which cut down long file names (like floppies) the icons that are losing their ".info" extension will no longer overwrite or delete their own mother file when you drag&drop files. But there is no protection like this for the contents of copied drawers and this does also not affect the Copy command or filemanagers.
PeterK is offline  
Old 02 September 2019, 16:03   #3148
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 5,174
Welcome back, your absence created a void, thanks for updating this useful library
Attached Thumbnails
Click image for larger version

Name:	Icon.library.jpg
Views:	45
Size:	220.6 KB
ID:	64316  

Last edited by AMIGASYSTEM; 02 September 2019 at 16:56.
AMIGASYSTEM is offline  
Old 02 September 2019, 16:23   #3149
Genlock
Out to Grass

Genlock's Avatar
 
Join Date: Jul 2010
Location: UK
Posts: 125
Quote:
Originally Posted by PeterK View Post
Many thanks to everybody who has tried to help or support me during the last months. But I hope on your understanding when I don't want to talk here about that time anymore.


Update to icon.library 46.4.515

On filesystems which cut down long file names (like floppies) the icons that are losing their ".info" extension will no longer overwrite or delete their own mother file when you drag&drop files. But there is no protection like this for the contents of copied drawers and this does also not affect the Copy command or filemanagers.
Hi Peter, Nice touch mate
Genlock is offline  
Old 04 September 2019, 12:36   #3150
Mark sealey
Registered User

Mark sealey's Avatar
 
Join Date: Sep 2018
Location: Nottingham
Posts: 269
Can anyone help me with this icon display issue ?

https://m.facebook.com/story.php?sto...13580129224184


https://youtu.be/Hh_BLJXNU7o

Last edited by Mark sealey; 04 September 2019 at 13:23.
Mark sealey is offline  
Old 04 September 2019, 12:41   #3151
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 5,174
The video is not accessible to those who do not have a Facebook account, uses Google Drive practical, simple and easy to access for everyone; you can also attach a sreenshot that shows the problem encountered

Last edited by AMIGASYSTEM; 04 September 2019 at 13:01.
AMIGASYSTEM is offline  
Old 04 September 2019, 12:50   #3152
Steril707
Tigerskunk!

Steril707's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 967
Thanks for keeping on working on the Icon-Library, Peter!
Steril707 is offline  
Old 04 September 2019, 13:31   #3153
Mark sealey
Registered User

Mark sealey's Avatar
 
Join Date: Sep 2018
Location: Nottingham
Posts: 269
Quote:
Originally Posted by AMIGASYSTEM View Post
The video is not accessible to those who do not have a Facebook account, uses Google Drive practical, simple and easy to access for everyone; you can also attach a sreenshot that shows the problem encountered
My apologies....added a YouTube link...currently uploading to Google drive.
Mark sealey is offline  
Old 04 September 2019, 13:42   #3154
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 5,174
Thank you, what minute can we see the problem? the video lasts about 10 minutes
AMIGASYSTEM is offline  
Old 04 September 2019, 14:00   #3155
Mark sealey
Registered User

Mark sealey's Avatar
 
Join Date: Sep 2018
Location: Nottingham
Posts: 269
Quote:
Originally Posted by amigasystem View Post
thank you, what minute can we see the problem? The video lasts about 10 minutes
2.47 ?
Mark sealey is offline  
Old 04 September 2019, 15:10   #3156
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 5,174
Quote:
Originally Posted by Mark sealey View Post
2.47 ?
If it's the system crash it could be that the filesystem is corrupted or HD with some physical problem, have you tried to copy that folder to another volume or device?
AMIGASYSTEM is offline  
Old 04 September 2019, 15:33   #3157
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,529
Hello Carlo, nice to see that you want to help me.


Quote:
Originally Posted by Mark sealey View Post
Can anyone help me with this icon display issue ?

https://m.facebook.com/story.php?sto...13580129224184


[ Show youtube player ]
Sorry, but that's not enough information. Ok, your "About" message says Kickstart and OS 3.1.4, but it doesn't look like a clean OS 3.1.4 installation at all, more like an old 3.1 system, which was updated with 3.1.4.

What were your last hard- or software changes to the system before this issue started to occur? (Furia sometimes has hardware problems.)

Which version of icon.library is installed. Does it happen with other (older)versions too? Did you try the library from OS 3.1.4 v45.22? Which screenmode are you using?

Version Libs:icon.library FILE FULL

Upload your startup-sequence as a text file, please.

Hmm ... that all seems to be an old hardware problem ... http://eab.abime.net/showthread.php?...66#post1275266

Last edited by PeterK; 04 September 2019 at 15:56.
PeterK is offline  
Old 04 September 2019, 17:47   #3158
Mark sealey
Registered User

Mark sealey's Avatar
 
Join Date: Sep 2018
Location: Nottingham
Posts: 269
Quote:
Originally Posted by PeterK View Post
Hello Carlo, nice to see that you want to help me.




Sorry, but that's not enough information. Ok, your "About" message says Kickstart and OS 3.1.4, but it doesn't look like a clean OS 3.1.4 installation at all, more like an old 3.1 system, which was updated with 3.1.4.

What were your last hard- or software changes to the system before this issue started to occur? (Furia sometimes has hardware problems.)

Which version of icon.library is installed. Does it happen with other (older)versions too? Did you try the library from OS 3.1.4 v45.22? Which screenmode are you using?

Version Libs:icon.library FILE FULL

Upload your startup-sequence as a text file, please.

Hmm ... that all seems to be an old hardware problem ... http://eab.abime.net/showthread.php?...66#post1275266
Thanks for the reply....I have had your library working.....awhile ago....but I had to rebuild my boot partition.

Currently its a os3.1.4.1 build with

fblit(os314.cfg)

Full pallet patch

Visual prefs

Mcp in WBstartup

High res laced (pal...via indivision ecs v2)

Peter K icon library from aminet
(020 icon library)

I'll post further information when I get home.

EDIT:

Icon.library 46.4.513

screenmode PAL:Hi Res Laced (default width/Height 16 col)

Last edited by Mark sealey; 04 September 2019 at 21:39.
Mark sealey is offline  
Old 04 September 2019, 22:18   #3159
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,529
Please try another icon.library like v45.22 of OS 3.1.4 or 46.4.515 from the first page of this thread.

Copy your Prefs and FullPalette drawers with their contents into a lha archive and upload that together with your startup-sequence.

--------------------------------

The icon.library 46.4.515 can be downloaded from Aminet now:

http://aminet.net/package/util/libs/IconLib_46.4
.

Last edited by PeterK; 14 September 2019 at 12:27.
PeterK is offline  
Old 18 September 2019, 19:36   #3160
James
Registered User

 
Join Date: Mar 2010
Location: Beckenham/England
Posts: 543
Quote:
Originally Posted by PeterK View Post
The icon.library 46.4.515 can be downloaded from Aminet now:

http://aminet.net/package/util/libs/IconLib_46.4
.
Thanks PeterK!
James is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClassicWB Full and icon.library 46.4 Retroplay project.ClassicWB 8 05 August 2018 13:57
WB library conflict/versions Akira support.Apps 3 22 July 2010 18:47
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 04:39
What's the latest version of icon.library for OS3.9? NovaCoder support.Apps 3 30 June 2009 15:43
Requesting icon.library v44+... nikvest request.Other 2 16 September 2007 01:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.19163 seconds with 16 queries