forked from brooke/mandel-6502
update readme & doc comments & vars
This commit is contained in:
parent
7009e16235
commit
b6ddc0d50e
2 changed files with 16 additions and 14 deletions
16
mandel.s
16
mandel.s
|
|
@ -3,15 +3,15 @@ sx = $80 ; i16: screen pixel x
|
|||
sy = $82 ; i16: screen pixel y
|
||||
ox = $84 ; fixed4.12: center point x
|
||||
oy = $86 ; fixed4.12: center point y
|
||||
cx = $84 ; fixed4.12: c_x
|
||||
cy = $86 ; fixed4.12: c_y
|
||||
zx = $88 ; fixed4.12: z_x
|
||||
zy = $8a ; fixed4.12: z_y
|
||||
cx = $88 ; fixed4.12: c_x
|
||||
cy = $8a ; fixed4.12: c_y
|
||||
zx = $8c ; fixed4.12: z_x
|
||||
zy = $8e ; fixed4.12: z_y
|
||||
|
||||
zx_2 = $90 ; fixed8.24: z_x^2
|
||||
zy_2 = $94 ; fixed8.24: z_y^2
|
||||
zx_zy = $98 ; fixed8.24: z_x * z_y
|
||||
dist = $9c ; fixed8.24: z_x^2 + z_y^2
|
||||
zx_2 = $90 ; fixed4.12: z_x^2
|
||||
zy_2 = $92 ; fixed4.12: z_y^2
|
||||
zx_zy = $94 ; fixed4.12: z_x * z_y
|
||||
dist = $96 ; fixed4.12: z_x^2 + z_y^2
|
||||
|
||||
iter = $a0 ; u8: iteration count
|
||||
zoom = $a1 ; u8: zoom shift level
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue