diff --git a/mandel.s b/mandel.s index b8985b3..9546b68 100644 --- a/mandel.s +++ b/mandel.s @@ -290,18 +290,21 @@ viewport_zoom: .byte 6 .byte 8 .byte 6 + .byte 8 viewport_ox: .dword $00000000 .dword $ff110000 .dword $ff110000 .dword $fe400000 + .dword $fe3b0000 viewport_oy: .dword $00000000 .dword $ffb60000 .dword $ffbe0000 .dword $00000000 + .dword $fffe0000 ; 2 + 9 * byte cycles .macro add bytes, dest, arg1, arg2 @@ -1399,6 +1402,8 @@ number_keys: beq three cpy #KEY_4 beq four + cpy #KEY_5 + beq five jmp skip_char one: @@ -1412,6 +1417,9 @@ three: jmp load_key_viewport four: ldx #3 + jmp load_key_viewport +five: + ldx #4 ; fall through load_key_viewport: jsr load_viewport