EEVblog Electronics Community Forum
Products => Computers => Programming => Topic started by: techman-001 on February 26, 2021, 10:29:13 am
-
Can you beat Matthias's Mandlebrot binary of 252 Bytes ?
[attachimg=1]
See this URL for the details and complete project including the Assembly source.
https://mecrisp-stellaris-folkdoc.sourceforge.io/rpi-pico.html#the-pico-mandlebrot-challenge (https://mecrisp-stellaris-folkdoc.sourceforge.io/rpi-pico.html#the-pico-mandlebrot-challenge)
-
Well, there is an assembly source, but no Forth source code to be seen? Isn't mecrisp stuff meant to be Forth?
I would have been curious to take a look at the Forth code for this.
-
Well, there is an assembly source, but no Forth source code to be seen? Isn't mecrisp stuff meant to be Forth?
I would have been curious to take a look at the Forth code for this.
The Mecrisp-Stellaris architect wrote the Mandlebrot challenge in Assembly as his aim was minimal binary size.
Mecrisp-Stellaris is 100% Assembly itself and its users are conversant in both languages.
-
Worth squirreling away for the H/W setup code alone... (which is about 2/3rds of the projects ~300 lines).
-
Worth squirreling away for the H/W setup code alone... (which is about 2/3rds of the projects ~300 lines).
Plus the toolset is all GPL'd, (like everything Mecrisp*).
-
New Release @ 1 March 2021.
Prints a Mandlebrot to a serial terminal and has a breathing LED effect while waiting for keypress, all in a 252 Byte binary!
Also includes a lot of extra information including emulator, fully commented assembly source and proof of concept files.
Same URL: https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/mandelboot.tar.gz (https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/mandelboot.tar.gz)
-
New Release @ 4 Mar 2021.
Now with Mandlebrot and Tricorn Set plus a breathing LED cosine effect while waiting for keypress.
Still in a 252 Bytes binary executable for the Pico.
https://mecrisp-stellaris-folkdoc.sourceforge.io/rpi-pico.html#the-pico-mandlebrot-challenge