English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 08 June 2012, 13:05   #21
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,971
Updated to icon.library 46.4.237 (Be careful, this is just a snapshot, a nightly built from a drunken coder)

BTW, the icon.library is now completely based on my own source code. It is finally independent and free of the AmigaOS copyright restrictions.
PeterK is offline  
AdSense AdSense  
Old 08 June 2012, 18:00   #22
SpeedGeek
Registered User
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 54
Posts: 379
@PeterK

If you can produce such excellent and awesome code when drunk imagine what you could do sober!
SpeedGeek is offline  
Old 09 June 2012, 03:26   #23
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by SpeedGeek View Post
@PeterK

If you can produce such excellent and awesome code when drunk imagine what you could do sober!
Maybe worse. Alcohol releases creativity in studies:

http://www.medicaldaily.com/news/201...vity-study.htm

Quote:
Originally Posted by PeterK View Post
BTW, the icon.library is now completely based on my own source code. It is finally independent and free of the AmigaOS copyright restrictions.
Congratulations. This is a great milestone achievement to be complete and free at last .
matthey is offline  
Old 09 June 2012, 04:26   #24
gulliver
BoingBagged

 
Join Date: Aug 2007
Location: The South of nowhere
Age: 40
Posts: 1,602
Quote:
Originally Posted by PeterK View Post
Updated to icon.library 46.4.237 (Be careful, this is just a snapshot, a nightly built from a drunken coder)

BTW, the icon.library is now completely based on my own source code. It is finally independent and free of the AmigaOS copyright restrictions.
Congratulations!!!

Now perhaps, you can drink some more, and recreate and make free another library or device
gulliver is offline  
Old 09 June 2012, 13:38   #25
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,971
Quote:
Originally Posted by SpeedGeek View Post
If you can produce such excellent and awesome code when drunk imagine what you could do sober!
.... then I'm just finding the bugs ...

@matthey and gulliver

Thanks guys. This library is complete in terms of independence now, but it is still not finished yet. After the next Aminet release is done I will try to write my own internal PNG decoding function to get rid of the slow detour through the datatype system.
PeterK is offline  
Old 10 June 2012, 05:19   #26
clauddio
Banned
clauddio's Avatar
 
Join Date: Aug 2011
Location: Saturn
Age: 46
Posts: 279
Quote:
Originally Posted by PeterK View Post
.... then I'm just finding the bugs ...

@matthey and gulliver

Thanks guys. This library is complete in terms of independence now, but it is still not finished yet. After the next Aminet release is done I will try to write my own internal PNG decoding function to get rid of the slow detour through the datatype system.
that's will be cool because png icons are really slow right now due png datatype
maybe you can make PNG icons more fast than the normal 0S3.5 icons?
clauddio is offline  
Old 10 June 2012, 09:13   #27
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,971
Quote:
...maybe you can make PNG icons more fast than the normal 0S3.5 icons?
No sorry, I can speed up the PNG decoding, but the icons will still use the OS 3.5+ typical colormapping, and therefore they won't be faster than OS 3.5 icons. Maybe, in a second step, I could add the possibility to draw the truecolor icons directly to the screen as this is done by the PowerIcons patch or AfA_OS, but I don't know when this could be realized??

Btw, If you want more speed then don't used this damned slow DOpus Magellan II. It has its own icon.module and I can't do much for DOpus5 and also don't like it.
PeterK is offline  
Old 10 June 2012, 11:54   #28
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,928
Quote:
Originally Posted by PeterK View Post
Btw, If you want more speed then don't used this damned slow DOpus Magellan II. It has its own icon.module and I can't do much for DOpus5 and also don't like it.
But you could patch the icon.module then you could like it.
daxb is offline  
Old 10 June 2012, 21:49   #29
NovaCoder
Registered User
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 3,450
Quote:
Originally Posted by PeterK View Post
Updated to icon.library 46.4.237 (Be careful, this is just a snapshot, a nightly built from a drunken coder)

BTW, the icon.library is now completely based on my own source code. It is finally independent and free of the AmigaOS copyright restrictions.

Well done Peter, a milestone in Amiga development for sure
NovaCoder is offline  
Old 11 June 2012, 13:46   #30
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 49
Posts: 937
Quote:
Originally Posted by PeterK View Post
.... then I'm just finding the bugs ...

@matthey and gulliver

Thanks guys. This library is complete in terms of independence now, but it is still not finished yet. After the next Aminet release is done I will try to write my own internal PNG decoding function to get rid of the slow detour through the datatype system.
Perhaps you can use meynaf's PNG decoding routine. This ASM version is free, but you can write own version, maybe will be better.
Don_Adan is offline  
Old 11 June 2012, 15:48   #31
SpeedGeek
Registered User
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 54
Posts: 379
Quote:
Originally Posted by matthey View Post
Maybe worse. Alcohol releases creativity in studies:

http://www.medicaldaily.com/news/201...vity-study.htm
Undoubtedly, another study conducted by a drunk and sponsored by the alcoholic beverage industry!
SpeedGeek is offline  
Old 11 June 2012, 21:50   #32
mfilos
Paranoid Amigoid

mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 39
Posts: 1,576
Thanks for the updates Peter my friend! Lotsa kudos \o/
Sorry for not testing these faster (as I normally do) but my daughter recently born 2 weeks ago so I gave all my attention to her and my wifey

I just tried the last version and it works awesome as always! For some reason the test icons on your AllIconsOnWB archive seemed a lot faster (especially the PNG ones).
I also converted an icon via CopyIcon from OS4 format to classic format and from 17KB it reduced to 4.9KB and with a lot greater speed!

Congratz for at LAST getting out of shity copyright Amiga Inc stuff restrictions. I really hope other coders will have your success

/respect
mfilos is offline  
Old 12 June 2012, 09:34   #33
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,971
Quote:
...my daughter recently born 2 weeks ago...
Congratulations, mfilos
Who has said that Greece has no future ??
You have a lot of sun, you have giros and wine, you have a nice wifey and now you're also the proud father of a little girly, what else do you want ??

Quote:
For some reason the test icons on your AllIconsOnWB archive seemed a lot faster (especially the PNG ones). I also converted an icon via CopyIcon from OS4 format to classic format and from 17KB it reduced to 4.9KB and with a lot greater speed!
Hmm, I don't know if there is any difference compared to the previous versions, but if it's faster for you now there must be a nice hidden feature, that's ok, of course

@Don_Adan
Quote:
Perhaps you can use meynaf's PNG decoding routine. This ASM version is free, but you can write own version, maybe will be better.
It's not the biggest problem to build such a PNG decoding routine, since I already have the specification of the PNG file structure and also the source code of the PowerIcon patch from Elena Novaretti. No, it's more the lack of self-motivation to start the job and get it done.

Last edited by PeterK; 12 June 2012 at 14:28.
PeterK is offline  
Old 12 June 2012, 17:19   #34
cosmicfrog
The 1 who ribbits
cosmicfrog's Avatar
 
Join Date: Apr 2006
Location: leek, Staffs, UK
Age: 50
Posts: 3,555
Send a message via MSN to cosmicfrog
Peter
cosmicfrog is offline  
Old 13 June 2012, 14:10   #35
clauddio
Banned
clauddio's Avatar
 
Join Date: Aug 2011
Location: Saturn
Age: 46
Posts: 279
hey peter
how about a new picture.datatype done in ASM ?
the latest one from OS3.9 bb2 is slow
can u try to make it faster?
clauddio is offline  
Old 13 June 2012, 18:01   #36
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,971
Quote:
...how about a new picture.datatype?
The icon.library is not finished yet. There is still a lot to do.

But, why don't you start coding yourself, clauddio ?? Never say, you couldn't do it, you will learn it by doing and here, at EAB, are many coders who would help you if there is something too difficult. Just try it.
PeterK is offline  
Old 14 June 2012, 19:38   #37
Bamiga2002
BlizzardPPC'less

Bamiga2002's Avatar
 
Join Date: May 2004
Location: Finland
Age: 40
Posts: 3,210
Send a message via MSN to Bamiga2002
The latest icon.library v238 seems to eat all my chipram in a heartbeat. I used DISABLEROMMODULES "" as adviced. I even downgraded from newicon.library v45 to v44 but all the same. With v228 no probs.
Bamiga2002 is offline  
Old 14 June 2012, 20:31   #38
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,971
Which of your systems is that ? WB 3.1 or WB 3.9 ?
If WB 3.1, is FBlit installed and has it the correct configuration ?

The latest icon.libraries are checking if FBlit is running before they switch to FastMem on WB 3.0/3.1. This was different with 46.4.228, it was always using FastMem as default memory.

If you use WB 3.5, then you can put the command WBCtrl ICONFAST into the startup-sequence just before LoadWB. And WB 3.9 has the Workbench preferences where you can choose FastMem (other memory) for icons.

If really nothing seems to work then try this (I did not check it out yet because my Pizza and Red Wine are waiting)
Attached Files
File Type: lha IconsToFastMem.lha (146 Bytes, 184 views)

Last edited by PeterK; 14 June 2012 at 21:11.
PeterK is offline  
Old 15 June 2012, 10:33   #39
Bamiga2002
BlizzardPPC'less

Bamiga2002's Avatar
 
Join Date: May 2004
Location: Finland
Age: 40
Posts: 3,210
Send a message via MSN to Bamiga2002
Quote:
Originally Posted by PeterK View Post
Which of your systems is that ? WB 3.1 or WB 3.9 ?
If WB 3.1, is FBlit installed and has it the correct configuration ?

The latest icon.libraries are checking if FBlit is running before they switch to FastMem on WB 3.0/3.1. This was different with 46.4.228, it was always using FastMem as default memory.

If you use WB 3.5, then you can put the command WBCtrl ICONFAST into the startup-sequence just before LoadWB. And WB 3.9 has the Workbench preferences where you can choose FastMem (other memory) for icons.

If really nothing seems to work then try this (I did not check it out yet because my Pizza and Red Wine are waiting)
I'm running OS 3.9, no FBlit but Mediator with Voodoo (see sig). I already had "WBCtrl IMT=ICONFAST" and in Workbench-preferences "Other memory". I also tried IconsToFastmem in place of the WBCtrl-command. Sadly none of these options worked. When WB loads there's 1.5Mb chipram left, as I try to open DOPUS 4, it can't open the screen an instead reverts to 4-color PAL screen (all chipram gone).

EDIT: I also downloaded the new Aminet-release v240, same thing here. I reverted back to v228 for now. And btw. I also have the PowerIcons-patch running.

Last edited by Bamiga2002; 15 June 2012 at 11:35.
Bamiga2002 is offline  
Old 16 June 2012, 00:11   #40
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,971
Hi Bamiga2002,
are you sure that it's 46.4.228 which is doing the job for you, and not 225 ?? I was wrong, 228 is not using FastMem by default like 225 is doing it. I'm a bit confused now, what's really going wrong on your system. So, I need some more information. Is it really DOpus 4, not DOpus 5, which makes the problem with falling back into 4-color mode ?

Which versions and revisions of the following files are installed ?
workbench.library, datatypes.library, picture.datatype, png.datatype and/or WarpPNG.datatype, all picasso96 files or cybergraphics files. Which size and date+time has the icon.library ?

Version of SetPatch, IPrefs, exec.library, graphics.library, dos.library ?

Don't use FastIPrefs or any of Cosmos' libraries, please !

Last edited by PeterK; 16 June 2012 at 12:55.
PeterK is offline  
AdSense AdSense  
 


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 6 03 December 2012 12:47
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 22:43.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.13205 seconds with 13 queries