flip the y coordinate sign

This commit is contained in:
Brooke Vibber 2025-02-22 20:24:04 -08:00
parent 6e66145ec6
commit 89b4e45901

View file

@ -1549,11 +1549,11 @@ minus:
dec zoom
jmp done
up:
sub32 oy, oy, temp
add32 oy, oy, temp
jsr display_coords
jmp done
down:
add32 oy, oy, temp
sub32 oy, oy, temp
jsr display_coords
jmp done
left:
@ -1854,6 +1854,7 @@ not_skipped_mask:
zoom_factor cx, sx, aspect_x
add32 cx, cx, ox
zoom_factor cy, sy, aspect_y
neg32 cy
add32 cy, cy, oy
jsr mandelbrot
jsr pset