6 ms·
One of the first programs I ever wrote was a Mandelbrot renderer in GW-BASIC, on an 8086 PC with a CGA card running DOS 3.3. This wasn't in the '80s when this w
by mwfunk 10y ago
One of the first programs I ever wrote was a Mandelbrot renderer in GW-BASIC, on an 8086 PC with a CGA card running DOS 3.3. This wasn't in the '80s when this would have made sense, rather this was circa 1994 because this was literally the only computer that was available to me. Nonetheless it was mind-blowing to me.
CGA had a 320x200 4-color mode. My program had a hardcoded bounding box that it would evaluate, and generate a 320x200 rendering of. I had to leave it running overnight for it to run to completion. I would set up the bounding box in the source file, start running the program, then wait until the next day for it to complete. It was awesome. Modern hardware could probably do the same thing in a few milliseconds. I'm sure it being written in GW-BASIC didn't help. :) Still, good times. That was the first thing I ever did that sort of resembled graphics programming.
- bartread 10y agoActually I don't think this is as ridiculous as you might think. I spent quite a bit of time with a mate of mine over the summer of 1992 writing compression algorithms in GW-BASIC on his dad's 8086 powered PC, equipped with CGA graphics. Another friend had a computer with EGA (gasp!) graphics. Almost no-one had a "decent" (i.e., even remotely current) spec PC back then, and I was on an Amiga 500. When, just after we'd finished our A-level exams in 1994, first friend's dad upgraded to a 486SX33 with some sort of SVGA card that was capable of running DOOM - and doing so smoothly - minds were duly blown. And that's where that summer went.