Short: patch for faster icons & color mapping Author: Peter Keunecke Uploader: pkeunecke alice-dsl net Type: util/boot Version: 2.06+ Requires: 68020+, IBF 2.0+ needs the OS 3.5+ icon.library Architecture: m68k-amigaos >= 3.0.0 Latest changes: (die deutsche Beschreibung folgt unten) ~~~~~~~~~~~~~~ + MakeLibrary.script failure in shell v45.7 (*>NIL:). Fixed! + MakeLibrary.script argument line invalid or too long. Fix! The 2 KB cache has its own data section now to prevent stack problems in rare cases such as calling PlayCD from cachecdfs. Thus, MinStack or StackAttack are not really needed anymore, but it's always a good idea to increase the stacksize a bit. The Prefs/Workbench icon color precision was broken. - Fixed. Description: ~~~~~~~~~~~ IconBeFast v2 is a binary patch for the OS 3.5+ icon.library. It speeds up the drawing of 32-256 color palette mapped icons. IconBeFast uses a color distance table of only 1 KB to avoid many time consuming calculations or compares and branches. For further optimization it has a cache for colormap decoding. The loading of 256 color GlowIcons can be 6+ times faster now. You need at least a Workbench with 32 colors to get a profit. On all systems with a Hi/TrueColor Workbench it's the best to use IconBeFast together with PowerIcons from Elena Novaretti. The PowerIcons patch has useful commandline options for icons. With the PowerIcons patch you will always get perfect colors, even for OS 3.5+ GlowIcons, no need to install any PNG-icons. KensIcons K3 with 256 colors are very nice. Look at OS4 Depot. This patch is appended with 2 extra hunks to the icon.library. The supported iconlibs are v44.532, v44.543, v45.1 and v45.4. Since v45.5 is a special version for older WB 3.1 Amigas with 68000, most users will not need it. I would recommend v45.4.6! V45.5.5 has no data hunk for its cache and can work from ROM. Installation: ~~~~~~~~~~~~ Just click on the supplied script to generate the new iconlib. You can also uninstall this patch with the MakeLibrary.script. The old graphics.library patch IconBeFast v1.16 will only be used for the color mapping of all other images and it's up to you now if you prefer the v1.16 patch or use the OS function. It's not necessary to install v1.16 together with the patched icon.library, if you just need faster icons, but for images. A rare bug: ~~~~~~~~~~ No transparent background of (New)Icons on fast DOpus systems! DOpus5 gets even more unstable as soon as this bug shows up :( This seems to be a problem of DOpus5. It's a matter of speed! Maybe a conflict how Dopus5 handles interrupts or semaphores? But only a few tiny (New)Icons cause this issue under DOpus5. This issue never appeared on the even faster Amiga Workbench! That's all. Your bugreports or suggestions are always welcome! Distribution: ~~~~~~~~~~~~ This program and its sourcecode are freeware. I don't give any warranties. You're using this program on your own risk and you are responsible for any damage it could cause to your system! You are not allowed to distribute the patched icon.libraries!! Copyright 2006/2007: ~~~~~~~~~~~~~~~~~~~ Peter Keunecke Credits: ~~~~~~~ Last but not least, let my personal acknowledgements point to: PhxAss from Frank Wille for the very best assembler for Amigas. EdWord Pro from Martin Reddy for the coolest Amiga text editor. ChunKit by Patrick Rogers for appending IconBeFast to iconlib. FileX from Klaas Hermanns and Pavel Fedin for their Hex-editor. MD5SUM port by Peter Simons from Branko Lankester, Colin Plumb. And of course, THANKS to all users who've sent me any feedback! _______________________________________________________________ PS.[some off-topic nonsense to get rid of a confusing idea] ;) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you imagine, the plane of complex numbers introduced by Gauss could be mapped onto an open umbrella and you would simply close this umbrella to change its shape until it becomes a thin stick with the damned zero at its tip, the result looks very similar to the physics of a ray of light in my eyes! What a stupid idea? So, are the electromagnetic rays and their transverse waves just rotating in a plane of complex numbers and getting ahead because their radius is growing at the same time alike most other waves? The rising radius would be transformed into a one-way dimension. Circles around zero are reduced to spins with a complex quality. Instead of a second dimension rays would only need a fixed phase for each photon to specify the orientation of the complex poles. The electrical part would oscillate between the positive and the negative transversal poles and the magnetical part would depend on the imaginary numbers together with the secrets of the time?? In other words, is a ray of light the most direct representation of the complex numerical system of mathematics? Or what's wrong? If you know how to solve this mystery, tell me your opinion! THX Please remember, I'm not an expert and need easy explanations ;) I was never ambitious or clever enough to use Maxwell equations. ################################################################ IconBeFast 2.06+ Letzte Änderungen: ~~~~~~~~~~~~~~~~~ + MakeLibrary.script-Fehler in der shell v45.7 (*>NIL:). Fixed! + MakeLibrary.script: Argumentzeile ist ungültig oder zu lang. Der 2 KB Cache hat nun eine eigene Data-Section, um in seltenen Fällen Stackprobleme zu verhindern, wie PlayCD unter CacheCDFS. Folglich werden MinStack oder StackAttack nicht mehr unbedingt benötigt, aber es ist immer eine gute Idee, mehr Stack zu haben. Die Farbgenauigkeit von Prefs/Workbench wurde ignoriert. Fixed! Beschreibung: ~~~~~~~~~~~~ IconBeFast v2 ist ein Binär-Patch für die OS 3.5+ icon.library. Er beschleunigt das Zeichnen von 32-256 farbigen Paletten-Icons. IconBeFast nutzt eine Farbdistanztabelle von nur 1 KB, um viele zeitraubende Berechnungen, Vergleiche und Sprünge zu vermeiden. Zur weiteren Beschleunigung dient ein Cache zur Farbdekodierung. 256 Farben GlowIcons können nun 6 Mal so schnell geladen werden. Eine Workbench mit mindestens 32 Farben sollte man schon haben. Für alle Systeme mit einer Hi/TrueColor Workbench ist es ideal, IconBeFast als auch PowerIcons von Elena Novaretti zu benutzen. Der PowerIcons-Patch hat nützliche Programm-Optionen für Icons. Mit dem PowerIcons-Patch erhält man stets perfekte Farben, auch bei den OS 3.5+ GlowIcons, sogar ohne PNG-Icons zu installieren. Besonders schön sind Kens Icons mit 256 Farben. Siehe OS4 Depot. Dieser Patch wird mit 2 Extra-Hunks an die icon.library gehängt. Unterstützt werden die Libs v44.532, v44.543, v45.1 und v45.4. V45.5 ist eine Spezialversion für alte WB 3.1 Amigas mit 68000, die die meisten Anwender nicht benötigen. Ich empfehle v45.4.6! V45.5.5 hat keinen Data-Hunk mit Cache und arbeitet auch im ROM. Installation: ~~~~~~~~~~~~ Einfach MakeLibrary anklicken, um die icon.libary zu erstellen. Man kann den Patch auch wieder mit MakeLibrary.script entfernen. Der alte graphics.library-Patch IconBeFast v1.16 wird nur noch für die Farbzuweisungen bei allen anderen Bildern gebraucht und es bleibt jedem überlassen v1.16 weiter einzusetzen oder nicht. Für schnellere Icons genügt es, nur die icon.library zu patchen. Ein seltener Bug: ~~~~~~~~~~~~~~~~ Kein transparenter Hintergrund einiger (New)Icons bei schnellen DOpus5 Systemen. Dieses scheint ein Problem von DOpus5 zu sein. Wenn es auftritt, läuft DOpus5 danach sehr instabil. Vielleicht liegt es daran, wie DOpus5 Interrupts oder Semaphores behandelt? Dieser Fehler passiert aber nur bei wenigen winzigen (New)Icons. Dieses Problem trat nie bei der sogar schnelleren Workbench auf. Alle Fehlerhinweise und Verbesserungsvorschläge sind willkommen! Rechtliches: ~~~~~~~~~~~ Dieses Programm, inklusive Sourcecode, ist Freeware. Ich gebe keine Garantien. Die Benutzung erfolgt auf eigenes Risiko und die Benutzer sind für eventuelle Systemschäden selbst haftbar. Es ist nicht erlaubt gepatchte icon.libraries weiterzugeben!! Copyright 2006/2007: ~~~~~~~~~~~~~~~~~~~ Peter Keunecke