This is a Mandelbrot and Julia Set fractal program written in x86 assembly language and C.  I chose this mix because I didn't want to code the Linux G

mrmcsoftware / FractalAsm-Linux

submited by
Style Pass
2021-06-20 00:00:03

This is a Mandelbrot and Julia Set fractal program written in x86 assembly language and C. I chose this mix because I didn't want to code the Linux GUI stuff in assembly. This program is based on the fractal program I wrote for a CPU / computer design I created. I have included that original program in case you want to see how this project has evolved. I created the x86 version in order to learn x86 assembly language and in order to create a tutorial video on x86 assembly language. Because of this, I purposely only used basic x86 assembly. That means no SSE, SSE2, AVX-512, etc. Using newer x86 instructions (vector, etc.) would make it faster, but would make it a bit harder to understand and would deviate quite a bit from my original program (for my CPU design). For example, fmul versus VPCLMULQDQ to multiply. Besides, GPU would be faster anyway, in which case you wouldn't even use assembly.

This is not meant to be the best, most versatile, fractal program. It was meant to show assembly language programming. BTW, this is why it's 512x512 resolution (with a 256x256 mode) - the original program was 256x256 due to the resolution of Logisim's video screen component. (Logisim is the simulation program I used to simulate my CPU design - refer to my various videos to see what I mean).

Leave a Comment
Related Posts