flip the y coordinate sign
This commit is contained in:
parent
6e66145ec6
commit
89b4e45901
1 changed files with 3 additions and 2 deletions
5
mandel.s
5
mandel.s
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue