8086/8088 Assembly Language: Mandelbrot Set in VGA Part 3 (Final Program)

  Рет қаралды 533

PCRetroProgrammer

PCRetroProgrammer

2 жыл бұрын

Code is available on my GitHub account:
github.com/wbhart/PCRetroProg...

Пікірлер: 9
@JimLeonard
@JimLeonard 2 жыл бұрын
This is excellent, and great work. Avoiding the "lake" is the big speedup as you mentioned. One of the ways I sped up mine for introJR (which was not as efficient as yours!) was to recognize that I only have 16 colors to paint with, so I limited iterations to 16. One of the most interesting ways I've seen to draw a fractal somehow generates empty outlines for the areas of solid color, then fills them in. If that method isn't sufficiently more calculations, then doing so and using a flood fill might be a speedup too. I regret I forgot where I saw that method used but it's probably in fractint somewhere.
@pcretroprogrammer2656
@pcretroprogrammer2656 2 жыл бұрын
Thanks for the kind comments. Yes, I believe there was some version of Fractint that used the outline/floodfill optimisation. I remember being surprised as a kid that this didn't seem to go much faster.
@t00by00zer
@t00by00zer 8 ай бұрын
@@pcretroprogrammer2656 The boundary is always close to max iteration, which is where the processing time is consumed. And you have to check every pixel for it's escape number.
@IExSet
@IExSet 2 жыл бұрын
Dont look on number of comments and likes, just keep to burn hearts with your super content !!!!
@pcretroprogrammer2656
@pcretroprogrammer2656 2 жыл бұрын
Thanks! I'm not worried about likes and comments here (though those do help grow the channel). I'm much more interested in getting good information out there that is clear and correct!
2 жыл бұрын
I can be wrong, but at 21:06, wouldn't it be easier to just remove INC DI and DEC DI, and putting an INC DI though before JMP done_iter instead? That way STOSB increments DI normally, and at the end of the iter_loop, before JMP done_iter, there is the new single INC DI which does the job.
@billhart3814
@billhart3814 2 жыл бұрын
Yes, that seems like it should work just fine. It should give a small speedup, which is nice!
@nasigoreng553
@nasigoreng553 2 жыл бұрын
Really cool and yeh quite quick for an 8088 would having a 8087 make it perform better?
@pcretroprogrammer2656
@pcretroprogrammer2656 2 жыл бұрын
I don't think it would be quicker, but I haven't tried a floating point version, so I don't know for sure.
8086/8088 Assembly Language: Assembly Optimisation Part 3
21:39
PCRetroProgrammer
Рет қаралды 420
8086/8088 Assembly Language: Mandelbrot Set in VGA Part 1 (Theory)
14:00
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 22 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 37 МЛН
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 2,7 МЛН
Programming with Math | The Lambda Calculus
21:48
Eyesomorphic
Рет қаралды 104 М.
CGA Graphics Programming: General Ellipses (Part 1)
25:03
PCRetroProgrammer
Рет қаралды 679
Using AI to Create the Perfect Keyboard
12:05
adumb
Рет қаралды 1,4 МЛН
What's so special about the Mandelbrot Set? - Numberphile
16:53
Numberphile
Рет қаралды 2,3 МЛН
Why Five Stroke Engines Are More Efficient But Still a Failure
18:18
driving 4 answers
Рет қаралды 328 М.
What is the factorial of -½?
12:46
Stand-up Maths
Рет қаралды 565 М.
ARRAYLIST VS LINKEDLIST
21:20
Core Dumped
Рет қаралды 51 М.
The Reciprocals of Primes - Numberphile
15:31
Numberphile
Рет қаралды 1,6 МЛН
Paterson Primes (with 3Blue1Brown) - Numberphile
10:35
Numberphile
Рет қаралды 260 М.
How often does DRAM refresh have to be done?
29:53
PCRetroProgrammer
Рет қаралды 2,4 М.
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 22 МЛН