This commit is contained in:
Brooke Vibber 2024-12-31 09:53:22 -08:00
parent 1e0f577e09
commit 81bf7f3c43

View file

@ -1106,10 +1106,9 @@ cont:
enough: enough:
.endmacro .endmacro
.macro zoom_factor dest, src, zoom, aspect .macro zoom_factor dest, src, aspect
; output: dest: fixed8.24 ; output: dest: fixed8.24
; input: src: fixed4.12 ; input: src: fixed4.12
; input: zoom: u8 ???
; aspect: fixed4.12 ; aspect: fixed4.12
; clobbers A, X, flags, etc ; clobbers A, X, flags, etc
copy16 dest, src copy16 dest, src
@ -1602,9 +1601,9 @@ skipped_mask:
not_skipped_mask: not_skipped_mask:
; run the fractal! ; run the fractal!
zoom_factor cx, sx, zoom, aspect_x zoom_factor cx, sx, aspect_x
add32 cx, cx, ox add32 cx, cx, ox
zoom_factor cy, sy, zoom, aspect_y zoom_factor cy, sy, aspect_y
add32 cy, cy, oy add32 cy, cy, oy
jsr mandelbrot jsr mandelbrot
jsr pset jsr pset