diff --git a/mandel.s b/mandel.s index 9996c53..8bd1a27 100644 --- a/mandel.s +++ b/mandel.s @@ -296,7 +296,6 @@ viewport_zoom: .byte 7 .byte 5 .byte 7 - .byte 8 viewport_ox: .dword ($00000000 & $3fffffff) << 2 @@ -1393,7 +1392,7 @@ skip_char: plus: lda zoom - cmp #8 + cmp #7 bpl skip_char inc zoom jmp done @@ -1427,8 +1426,6 @@ number_keys: beq four cpy #KEY_5 beq five - cpy #KEY_6 - beq six jmp skip_char one: @@ -1445,9 +1442,6 @@ four: jmp load_key_viewport five: ldx #4 - jmp load_key_viewport -six: - ldx #5 ; fall through load_key_viewport: jsr load_viewport diff --git a/readme.md b/readme.md index 2c9efc1..881890a 100644 --- a/readme.md +++ b/readme.md @@ -18,7 +18,7 @@ Enjoy! I'll probably work on this off and on for the next few weeks until I've g ## Current state -Basic rendering is functional, with interactive zoom/pan (+/-/arrows) and 6 preset viewports via the number keys. +Basic rendering is functional, with interactive zoom/pan (+/-/arrows) and 5 preset viewports via the number keys. The 16-bit signed integer multiplication takes two 16-bit inputs and emits one 32-bit output in the zero page, using the Atari OS ROM's floating point registers as workspaces. Inputs are clobbered.