Rev 7599 | Rev 9449 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7599 | Rev 7665 | ||
---|---|---|---|
Line 283... | Line 283... | ||
283 | 283 | ||
284 | 284 | ||
285 | proc waiting |
285 | proc waiting |
286 | fld [max_frame_rate] |
286 | fld [max_frame_rate] |
287 | fld [instant] |
287 | fld [instant] |
- | 288 | fcompp |
|
288 | fcomip st1 |
289 | fstsw ax |
289 | fstp st0 |
290 | sahf |
290 | jna @f |
291 | jc @f |
291 | inc [sleep_time] |
292 | inc [sleep_time] |
292 | jmp .end |
293 | jmp .end |
293 | @@: |
294 | @@: |
294 | fld [min_frame_rate] |
295 | fld [min_frame_rate] |
295 | fld [instant] |
296 | fld [instant] |
- | 297 | fcompp |
|
296 | fcomip st1 |
298 | fstsw ax |
297 | fstp st0 |
299 | sahf |
298 | jnc .end |
300 | jnc .end |
299 | cmp [sleep_time], 0 |
301 | cmp [sleep_time], 0 |
300 | jz .end |
302 | jz .end |