OS4 DepotLogo by McFly 
(anonymous IP:,0) 

   Bug tracker
   Locale browser

   o Audio (334)
   o Datatype (50)
   o Demo (199)
   o Development (582)
   o Document (21)
   o Driver (97)
   o Emulation (145)
   o Game (952)
   o Graphics (488)
   o Library (108)
   o Network (224)
   o Office (62)
   o Utility (886)
   o Video (65)

Total files: 4213

Full index file. Download
Recent index file. Download



Support the site

 Readme for:  Graphics » Misc » flashmandelng_os4.lha


Description: Mandelbrot & Julia fractals for OS4 Amiga
Download: flashmandelng_os4.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 11Mb
Version: 3.3
Date: 30 Mar 21
Author: Dino Papararo / Edgar Schwan
Submitter: Dino Papararo
Email: dino papararo/gmail com
Homepage: http://www.schwan-clan.de
Requirements: AmigaOS4 compatible platform with or without Altivec extensions
Category: graphics/misc
Replaces: graphics/misc/flashmandelng.lha
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 11636
Comments: 20
Snapshots: 9
Videos: 1
Downloads:  (Current version)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
FlashMandel is "THE" Mandelbrot and Julia fractals  rendering  program  for  the
AmigaOS4 platforms :-) It's a very long time project, development started in the
end of '90 when I was sixteen and learned about fractals reading and looking  on
specialized newspapers some beautiful pictures.  Early develpoment started on an
Amiga 2000 with KS1.3 1MB Ram and SAS/C compiler. FlashMandel was  developed  by
me, Dino Papararo, in my freetime to learn and improve my skills with C/ASM code
and AmigaOS specific API functions. In a second time joined Edgar Schwan  adding
a  lot  of  interesting  features  like  reaction  GUI, arexx ports and scripts,
localization, MAPM arbitray precision math, installer script,  a  dedicated  web
page, and many various bug fixes.

Flashmandel  was  focused  on OS2.x and OS3.x with 68k cpus, main critical parts
were written in 68k assembler. I remember latest 68k version was developed on my
A4000  with  Cyberstorm  PPC 604e/68060 mixing binaries between 68k and ppc code
under WarpOS. Later I sold all my Amiga stuff but after many years I  wanted  to
come back to my preferred computer and hobby, programming in C/ASM under WinUAE.

Sadly  after first entusiastic days I had to admint experience was not the same.
So I decided to come back for real with a true AmigaNG platform!  Sooner I got a
2nd  hand "Pegasos 2" board. Today I can boot three different OS, Amiga OS4.1fe,
MorphOS and Linux Debian. It's really a funny machine, much much better than any
emulated one and obviously any pc :-)

So my actual development system  is ->  Pegasos II G4()1GHz 2GB Ram - Radeon
AmigaOS4.1fe update 2 with latest OS4 SDK and GCC 8.4.0

FlashMandel uses handmade assembler routines for max speed!   ..and "SPEED" it's
main  feature.  With  new  implemented  altivec  routines,  for altivec version,
renderings are all near realtime! I think it's one of the fastest mandelbrot and
julia  sets  rendering  program  ever  seen  on  a  single  core  cpu.  Due it's
development  for  AmigaOS  it  lacks  of  multiprocessing  features.  But   once
implemented, it can be adapted for sure to work on more cpu cores.

FlashMandelNG primary features are:

Uses  Reaction  GUI,  Arexx port, Localization, Arbitrary precision math via GMP
Library and don't need any installer, just click 'n run! C and Asm  sources  are
also  included,  you  can  recompile  it  just  typing MAKE! It's faaast even on
emulated Amigas and can render even with direct  memory  access  (TURBO  OPTION)
..under  x86  emuation  it's faster than many others x86 native fractal programs
;-) Saved pictures can  be  reloaded  and  further  explored  at  all  supported
screen's resolutions. It's really cool and totally free ;-)

Additional  developing  notes:  FlasdhMandelNG is developed with GCC 8.4.0 under
Pegasos II and AmigaOS 4.1fe. Altivec code  was  firstly  developed  and  tested
under  Powermac  G5  Quad hardware ..Now I can test it directly on my Pegasos II
;-) Altivec code is the most optimized ever seen  and  could  be  used  as  nice
programming  guide.  Many  many  thanks and greetings to my friend Edgar Schwan,
FlashMandel CoDeveloper, for  his  great  efforts  in  Localization,  Arexx  and
Reaction integration, GMP Library port, etc...

In  archive  we have two binaries: 
1) FlashMandelNG_OS4 -> critical routines are written in  PPC handmade assembler
to gain max speed on all powerpc cpus families from 603 to G5!
2) FlashMandelNG_OS4_altivec -> critical routines are written in C code but with

full Altivec directives, engine processes 4 pixels per time! Sadly due limited 
hardware implementation, precision is limited to float32 datatypes.

I'd like to add another binary for Tabor and its SPE unit! ...For now it was not
possibble due GCC v8 incompatibilities with SPE code ..maybe in the next release
we got it!

..so what version is the faster  one?  On  a  G4  latest  FlashMandelNG  Altivec
versions  are about 3x faster than FPU version because it processes 4 pixels per
time! ..but it's also less accurate due Float32  single  precision  calculations
(limited  by  hardware)  vs  Float64  FPU doubles, so for deep zooms you need to
switch sooner to high precision math calculations.

About precision one of main features  of  FlashMandel  is  the  ability  to  use
arbitrary precision math. To archieve this I used GMP library, Edgar did a great
job porting it from linux sources ..and now we have it also on Amiga systems :-)

FlashMandelNG_OS4 is Giftware, If you like it please sent me nice  goodies  ..An
email or common postcard is ok too! :-) It's possible to include it in magazines
and CDs, if so please let me to have a free copy of paper/media support ;-)


New in 3.3  Implemented  load/save  picture  also for 24bit screens. Greetings
to  Massimiliano Scarano  for his support into 24bit picture ilbm save function.

New in 3.2 Implemented 24 bit screens  support  for  truecolor  fractals.  Fixed
Histogram  coloring algorithm. Fixed and speeded up recursive drawing functions.
Minor code fixes and code clean up, now indentation follows GNU rules to 80 cols
To save 24 bit pictures you have to switch to 256 colors screen  due to a bug in
iff ilbm 24bit save function. It will be resoved hopefully in a next release.

New in 3.1 Implemented Histogram coloring algorithm  as  currently  decribed  on
wikipedia,  now  you can display a wider range of colors at same time. Recoded a
lot of stuff following the current best "C Programming practices", i.e. no  more
use  of  global  vars  for  inner functions. Fixed still some serious bugs, this
update is a "must have".

New in 3.0 Finally Reaction GUI is  fully  reimplemented,  Edgar  did  really  a
superb  work  about  this!  I  reworked  also  color remapping to gave some nice
alternative, i.e. try GUI remapping. A lot of  bugs  were  fixed  some  of  them
really dirty, I have also cleanup the code and gained some small speedup!

New in 2.9 Now Altivec C routines uses full intrinsics, generated code should be
very mear to full handmade asm. Small bugfixes and code cleanup.

New in 2.8 These are last days of COVID-19 quarantine in Italy, next  week  I'll
come  back  to  my daily work, ..so I decided to try to unlock once for all full
potential of Altivec  vector  unit  and...  I  did  it!  :-)  Now  FlashMandelNG
processes  4 pixels per time in the altivec version and it's nearly realtime for
zooms with low/mid iterations. One of the  most  important  issues  was  how  to
control Altivec power without loosing speed. So I took a challenge vs myself and
I won it! The my Altivec algorithm is fastest ever seen, preserving  full  power
and using a smart and efficient control for results! :-) Altivec version speeded
up to 3x!! Have fun!

New in v2.7 Minor speed improvements, I think to have reached tha max  possibile
performances  on  a G4. Only Altivec code can be highly speedup until to 4x, I'm
working on it! Fixed running multiple instances of  FlashMandel.  Now  only  RTG
screens  are  supported.  Recompiled  with GCC 8.4.0 and latest adtools. Various
minor bugfixes and improvements.

New in v2.6 Raised up GMP Library to actual latest version 6.2.0 (Edgar  Schwan)
Implemented periodicity checking to speed up renderig in black areas (Mandelbrot
set). Speeded up a bit Altivec version, we still calc one pixel  per  time,  I'd
like  to do 4 pixels per time using full Altivec power. Bugfixed rendering Z^n+C
with of power set to 16 or more. Raised max iterations to 2^31-1. Fixed Load and
Save pictures. Removed all debug symbols.

New  in v2.5 Due Covid19 virus in few weeks I did what I used to do in years due
my lack of time.. Finally I have implemented GMP Library  numeric  support.  Now
you  can  zoom  into  Mandelbrot  and Julia sets until 4096 precision's bits are
saturated. On current Amiga generations maybe you need to live for 500 years  to
saturate  all  precision  bits..  Eventually  I  can improve precision bits even
furter :-) I changed a bit the main recursion algorithm and now calculations are
about  10%  faster! I discovered and fixed some other annoyng bugs, at this time
only the Arexx and Reaction code parts and needs to  be  revisioned,  all  other
code  is all updated. At this time Reaction GUI isn't implemented because it was
developed with Reactor Tool. Sadly Reactor doesn't support PowerPc but only 68k,
so  object  file  generated  can't  be  linked  with  other sources and than GUI
fallback to system GadTools. If there will be ever a new release of Reactor with
PPC/OS4  support  I'll  be  happy  to reintroduce Reaction GUI and give again to
FlashMandel the right look! I decided also to renew iff chunk  format  of  saved
pictures, so now you can't load old fractals and continue zooming inside.

New  in  v2.3 Old heavy bug fixed - if Flashmandel didn't found a locale catalog
crashed at startup Other fixes and little improvements applied

New in v2.2 Now finally with a real Amiga and sadly in Covid-19 era in Italy,  I
had  a  lot  cpu  power, and a lot of time, to test and fully bugfix and cleanup
nearly all the code. Lowered resolution of all pictures to  1280x720  to  reduce
archive  size, old pictures are incompatible to this new version. Added some new
palettes and changed default one. Reviewed some Arexx scripts. Refreshed english

New in v2.1 Partial MorphOS compatibility via OS4EMU - Load and save didn't work
Reworked and eliminated all pre AGA stuff. Now we  have  3  different  binaries,
normal  GCC code, Altivec code and New PowerPC handmade asm version. Added DUTCH
catalog language - thanks to Bennymee for translation Minor fixes and changes.

New in v2.0 (Re)Enabled AREXX support (Please download and install AWNP_2-54.lha
archive from Aminet to let it run) Fixed tooltypes

To Do:
Fix load/save pictures for 24bit screens
AmigaOne Tabor A1222 specific SPE version 
Fix/Improve AREXX Scripts/Benchmarks

"Bottomless wonders spring from simple rules, which are repeated without end."
cit. Benoit Mandelbrot


Amiga Rulez!

File Version Size Date OS Dls Readme
flashmandelng.lha4.432Mb27 Apr 224.1¤ FlashMandelNG - Mandelbrot & Julia fractals for OS4 Amiga
Copyright (c) 2004-2022 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment