Rev 2436 | Rev 2440 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2436 | Rev 2438 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | ;; ;; |
15 | ;; ;; |
16 | ;; See file COPYING for details ;; |
16 | ;; See file COPYING for details ;; |
17 | ;; ;; |
17 | ;; ;; |
18 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
18 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 19... | Line 19... | ||
19 | 19 | ||
Line 20... | Line 20... | ||
20 | $Revision: 2436 $ |
20 | $Revision: 2438 $ |
21 | 21 | ||
Line 554... | Line 554... | ||
554 | jb .exit |
554 | jb .exit |
555 | test edi, 1 ; force ? |
555 | test edi, 1 ; force ? |
556 | jnz .forced |
556 | jnz .forced |
Line 557... | Line 557... | ||
557 | 557 | ||
558 | ; not forced: |
- | |
559 | - | ||
560 | push eax |
558 | ; not forced: |
561 | mov edx, [_display.width]; screen x size |
- | |
562 | imul edx, ebx |
559 | mov edx, [d_width_calc_area + ebx*4] |
563 | add eax, [_WinMapAddress] |
560 | add edx, [_WinMapAddress] |
564 | movzx edx, byte [eax+edx] |
561 | movzx edx, byte [eax+edx] |
565 | cmp edx, [CURRENT_TASK] |
- | |
566 | pop eax |
562 | cmp edx, [CURRENT_TASK] |
567 | jne .exit |
563 | jne .exit |
568 | ;-------------------------------------- |
564 | ;-------------------------------------- |
569 | align 4 |
565 | align 4 |
570 | .forced: |
566 | .forced: |