forked from brooke/mandel-6502
fix at 256 seconds
This commit is contained in:
parent
5cf64970c8
commit
4bac47a4fd
1 changed files with 4 additions and 0 deletions
4
mandel.s
4
mandel.s
|
|
@ -2002,10 +2002,14 @@ update_status:
|
|||
countdown_loop:
|
||||
lda elapsed_work + 1
|
||||
cmp #.hibyte(divisor)
|
||||
beq countdown_lobyte
|
||||
bcc countdown_done
|
||||
bcs countdown_inc
|
||||
countdown_lobyte:
|
||||
lda elapsed_work
|
||||
cmp #.lobyte(divisor)
|
||||
bcc countdown_done
|
||||
countdown_inc:
|
||||
sec
|
||||
lda elapsed_work
|
||||
sbc #.lobyte(divisor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue