/programs/demos/spiral/spiral.asm |
---|
285,18 → 285,16 |
proc waiting |
fld [max_frame_rate] |
fld [instant] |
fcompp |
fstsw ax |
sahf |
jc @f |
fcomip st1 |
fstp st0 |
jna @f |
inc [sleep_time] |
jmp .end |
@@: |
fld [min_frame_rate] |
fld [instant] |
fcompp |
fstsw ax |
sahf |
fcomip st1 |
fstp st0 |
jnc .end |
cmp [sleep_time], 0 |
jz .end |