Subversion Repositories Kolibri OS

Rev

Rev 9910 | Rev 9930 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9910 Rev 9926
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;;
4
;;  Distributed under terms of the GNU General Public License.  ;;
4
;;  Distributed under terms of the GNU General Public License.  ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 9910 $
8
$Revision: 9926 $
9
 
9
 
10
align 4 ;3A08
10
align 4 ;3A08
11
build_interrupt_table:
11
build_interrupt_table:
Line 628... Line 628...
628
        lea     esi, [WIN_POS + eax*2]
628
        lea     esi, [WIN_POS + eax*2]
629
        movzx   edi, word [esi]              ; edi = process
629
        movzx   edi, word [esi]              ; edi = process
630
        shl     edi, BSF sizeof.APPDATA
630
        shl     edi, BSF sizeof.APPDATA
631
        cmp     [SLOT_BASE + edi + APPDATA.state], TSTATE_FREE ; skip free slots
631
        cmp     [SLOT_BASE + edi + APPDATA.state], TSTATE_FREE ; skip free slots
632
        je      .check_next_window
632
        je      .check_next_window
633
        shr     edi, 3
633
        shr     edi, (BSF sizeof.APPDATA - BSF sizeof.WDATA)
634
        add     edi, window_data
634
        add     edi, window_data
635
; \begin{diamond}[19.09.2006]
635
; \begin{diamond}[19.09.2006]
636
; skip minimized windows
636
; skip minimized windows
637
        test    [edi + WDATA.fl_wstate], WSTATE_MINIMIZED
637
        test    [edi + WDATA.fl_wstate], WSTATE_MINIMIZED
638
        jnz     .check_next_window
638
        jnz     .check_next_window