home *** CD-ROM | disk | FTP | other *** search
/ Pulse 4 / screenshot02.png < prev   
Portable Network Graphic  |  1993-01-01  |  20KB  |  640x480  |  4-bit (16 colors)
Labels: text | screenshot | menu
OCR: As I'll have very little time for writing articles for this mag in the future, this'll be the last in the series of fractals. This also means that we've reached realtime fractal zooming. If you've read the eariler issues of Pulse, you know how to generate Mandelbrot/Julia pictures in assembler. Be that as it may, to get from single pictures to zooming between pictures you need to know how a special form of bitmap zooming works. Suppose you have an AxA picture which you want to make into a 200x200 picture on the screen, 400 >= A >= 200. To calculate which pixels you want to write to the screen from each row, simply do like this: ; Remember to set the MOU aH, - A ; segment registers! MOU bH, 200 MOU dx, A LOOK , HA ! A NEW TRIBE ! - NEK