English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 26 July 2014, 15:30   #961
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Thanks for your test results, Michael


Update to icon.library 46.4.367:

Concerning my ineffective direct drawing optimization efforts I finally decided to modify the 363 code just a little by changing the order of some instructions.

In addition, there are a few new options supported now for displaying frames with planar icons only: PlanarFrames1 /2 /3 for different frame sizes and AllFramesOff which is a replacement for the old IconFramesOff (Delete that please).
PeterK is offline  
Old 30 July 2014, 03:01   #962
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library 46.4.368:

The new option to add frames to planar icons only has a better support on OS 3.9 now. Changing the settings in Prefs/Workbench will keep this option alive. So you can easily select another frame size for planar icons only if one of the supplied instructions PlanarFrames1 /2 /3 is in your startup-sequence.

Furthermore, I've tweaked the color reduction for PNG and OS4 icons a bit.
PeterK is offline  
Old 30 July 2014, 03:20   #963
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,185
Quote:
Originally Posted by PeterK View Post
Update to icon.library 46.4.368:

The new option to add frames to planar icons only has a better support on OS 3.9 now. Changing the settings in Prefs/Workbench will keep this option alive. So you can easily select another frame size for planar icons only if one of the supplied instructions PlanarFrames1 /2 /3 is in your startup-sequence.

Furthermore, I've tweaked the color reduction for PNG and OS4 icons a bit.

Thanks a lot Peter, but I don't get the idea and the how-to. What settings should I let on the Prefs/WB and can you give an example of command to run on the s-s?
Retrofan is offline  
Old 30 July 2014, 04:43   #964
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
There are three new WB v44+ instructions for the startup-sequence available since 46.4.367:
PlanarFrames1, PlanarFrames2 and PlanarFrames3

Instead of enabling the frames for all icons you can use these instructions to activate frames for the old planar icons only. The 1, 2 or 3 at the end of the instruction is responsible for the size of the icon frame. Call these commands as usually before LoadWB. Of course, a workbench.library v44+ is required. If you have OS 3.9 then you can enable/disable or change the frame size with Prefs/Workbench. No support for DOpus Magellan II, as always.

Addendum concerning the usage of the PlanarFrames1-3 instructions:

If you call any one of these instructions on OS 3.9 from your startup-sequence already before IPrefs is executed then you will get the full control of the Prefs/Workbench settings in Envarc:Sys back. This means that your saved Prefs/Workbench selection of the icon frame size will be restored at boot time, but will affect only the old style planar icons and won't add a frame to any colormapped icon.

Last edited by PeterK; 05 August 2014 at 10:39.
PeterK is offline  
Old 05 August 2014, 08:57   #965
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library 46.4.370:

The 68020 version has more direct drawing speed on OS 3.5+ now, because the Workbench task won't do any colormapping and C2P at all if it's not required. As a nice sideeffect you will have more free pens for other applications.

Last edited by PeterK; 05 August 2014 at 10:36.
PeterK is offline  
Old 05 August 2014, 16:47   #966
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 839
Open SYS:Prefs/ ~100 icons, mostly OS35 format


Lib, 8-bit, 16bit, 24bit
359, 1.68s, 1.92s, 2.18s
370, 1.90s, 1.84s, 2.12s


Truecolour has got a massive speedup!
But 8bit is for some reason much slower now
Michael is offline  
Old 05 August 2014, 18:39   #967
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library 46.4.371:

It wasn't possible to enable FastColors on AGA screens. Fixed.

Thank you for your tests and bug report, Michael
Btw, what do you think about the new PlanarFrames1-3 options ?

Last edited by PeterK; 05 August 2014 at 19:07.
PeterK is offline  
Old 05 August 2014, 20:24   #968
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 839
371, 1.72s in 8bit, so it looks we are back to running fast again.

PlanarFrames1-3 is nice, sadly it only works for WB.
Would have saved me a lot of trouble by not setting all the GlowIcons to frameless.
But with this, MagicWB icons are always correct, no matter what you set the WB icon prefs too.
There is a small neglectable speed penalty for this so, v371, 1.82s in 8bit with PlanarFrames3.
Michael is offline  
Old 08 August 2014, 11:06   #969
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library 46.4.372:

Some small tweaks here and there for the new direct drawing without colormapping (handling of special icons and low mem situations).
PeterK is offline  
Old 08 August 2014, 11:44   #970
jbenam
Italian Amiga Zealot
 
Join Date: Jan 2009
Location: Italy
Age: 36
Posts: 1,910
You're a machine, Peter!

Can't wait to update the icon.library on my Amiga, all the latest optimizations should give it a nice boost
jbenam is offline  
Old 10 August 2014, 00:58   #971
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library 46.4.373:

WB-Reset was always remapping the icons completely without ever using the direct drawing and the delayed mapping. Thus it was wasting pens instead of setting them free, what it really does now on Workbench 3.5+ with a gfx-card (look at Scout=>Windows=>Workbench Screen=>Pens).


Quote:
... optimizations should give it a nice boost ...
Please, tell me if it does. Use "OpenWin.rexx" from daxb for benchmarks. Thx.

Last edited by PeterK; 10 August 2014 at 02:39.
PeterK is offline  
Old 10 August 2014, 20:57   #972
utri007
mä vaan
 
Join Date: Nov 2001
Location: Finland
Posts: 1,653
Would it be hard to make it work with KS2.0? I have one A2000 with GVP accelerator wich doesn't like KS3.1
utri007 is offline  
Old 10 August 2014, 21:09   #973
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
No sorry, that's nearly impossible since there are lots of functions missing in KS 2.x. You can find the differences in the Amiga autodocs showing the library versions when a function was introduced to the operating system. KS 3.0 has many new key features that did not exist before. Most important are the functions of the graphics.library v39+.
Code:
*--- functions in V39 or higher (Release 3) ---
SetRGB32(vp,n,r,g,b)(a0,d0/d1/d2/d3)
GetAPen(rp)(a0)
GetBPen(rp)(a0)
GetDrMd(rp)(a0)
GetOutlinePen(rp)(a0)
LoadRGB32(vp,table)(a0/a1)
SetABPenDrMd(rp,apen,bpen,drawmode)(a1,d0/d1/d2)
GetRGB32(cm,firstcolor,ncolors,table)(a0,d0/d1/a1)
AllocBitMap(sizex,sizey,depth,flags,friend_bitmap)(d0/d1/d2/d3/a0)
FreeBitMap(bm)(a0)
ReleasePen(cm,n)(a0,d0)
GetBitMapAttr(bm,attrnum)(a0,d1)

Last edited by PeterK; 10 August 2014 at 21:24.
PeterK is offline  
Old 11 August 2014, 17:18   #974
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 839
Quote:
Originally Posted by utri007 View Post
Would it be hard to make it work with KS2.0? I have one A2000 with GVP accelerator wich doesn't like KS3.1
If 3.1 is a problems, you can always go 3.0. GVPs usually worked with that.
Michael is offline  
Old 18 August 2014, 21:01   #975
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 839
Another silent update on Aminet
Michael is offline  
Old 22 August 2014, 17:52   #976
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library 46.4.375:

Just some more cleanup and rearrangement in the zlib decoder. A few bytes less, but probably no speed gain. Tell me if anything is broken now. Thanks !
PeterK is offline  
Old 27 August 2014, 09:52   #977
arti040
Piotr
 
Join Date: Jul 2013
Location: Lodz/Poland
Age: 40
Posts: 203
I don't know if it's a good place to mention that or if someone report it already. If yes, I'm sorry. Yesterday I did some tests using the latest available intuition.library (v. 40.86) and icon.library (v. 46.4) and all is OK on my A4k with P96/Voodoo3 (OS 3.9) but on my Amiga 1200/AGA (OS 3.1) system boots, but right after Wb is loaded pointer is permanently busy and nothing works.

Also, I have no contact to Cosmos, so if someone would be so kind and report that, it'd be great
arti040 is offline  
Old 27 August 2014, 11:48   #978
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
@arti040
http://leblogdecosmos.blogspot.fr/p/coding.html

http://www.amiga.org/forums/showthread.php?t=67146

Try to use just one of these libraries at a time.



Update to icon.library 46.4.376:

Some tweaks in the color reduction for PNG and OS4 icons. This gives a little more speed (maybe 8-10 % faster icon loading).
PeterK is offline  
Old 27 August 2014, 15:00   #979
HanSolo
Registered User
 
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
Quote:
Originally Posted by PeterK View Post
Update to icon.library 46.4.376:

Some tweaks in the color reduction for PNG and OS4 icons. This gives a little more speed (maybe 8-10 % faster icon loading).
where is it ? on aminet there is older version
HanSolo is offline  
Old 27 August 2014, 15:20   #980
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
At the start of the thread mate.
By the way it works really well. Haven't tested on my real Amiga yet though to check icon speed :P
mfilos 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 Amiga1992 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 11:29.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.35913 seconds with 14 queries