add viewport number 5 full zoom
This commit is contained in:
parent
d8601bb856
commit
87caa52543
1 changed files with 8 additions and 0 deletions
8
mandel.s
8
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
|
||||
|
|
Loading…
Reference in a new issue