Subversion Repositories Kolibri OS

Rev

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

Rev 4600 Rev 5618
Line 2036... Line 2036...
2036
        jmp     con.msg_loop
2036
        jmp     con.msg_loop
2037
.noinput:
2037
.noinput:
2038
        mov     [con.bGetchRequested], 1
2038
        mov     [con.bGetchRequested], 1
2039
        jmp     con.msg_loop
2039
        jmp     con.msg_loop
2040
con.mouse:
2040
con.mouse:
-
 
2041
        push    37
-
 
2042
        pop     eax
-
 
2043
        push    7
-
 
2044
        pop     ebx
-
 
2045
        int     0x40
-
 
2046
        test    eax, eax
-
 
2047
        jz      .no_scrollmouse
-
 
2048
        cwde
-
 
2049
        add     eax, [con.wnd_ypos]
-
 
2050
        jg      @f
-
 
2051
        xor     eax, eax
-
 
2052
@@:
-
 
2053
        mov     ebx, [con.scr_height]
-
 
2054
        sub     ebx, [con.wnd_height]
-
 
2055
        cmp     eax, ebx
-
 
2056
        jb      @f
-
 
2057
        mov     eax, ebx
-
 
2058
@@:
-
 
2059
        mov     [con.wnd_ypos], eax
-
 
2060
        jmp     con.redraw_image
-
 
2061
.no_scrollmouse:
2041
        xor     eax, eax
2062
        xor     eax, eax
2042
        xchg    eax, dword [con.bUpPressed]
2063
        xchg    eax, dword [con.bUpPressed]
2043
        mov     dword [con.bUpPressed_saved], eax
2064
        mov     dword [con.bUpPressed_saved], eax
2044
        push    37
2065
        push    37
2045
        pop     eax
2066
        pop     eax