Subversion Repositories Kolibri OS

Rev

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

Rev 3589 Rev 5201
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
4
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
4
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 3589 $
8
$Revision: 5201 $
9
 
9
 
10
WINDOW_MOVE_AND_RESIZE_FLAGS = \
10
WINDOW_MOVE_AND_RESIZE_FLAGS = \
11
  mouse.WINDOW_RESIZE_N_FLAG + \
11
  mouse.WINDOW_RESIZE_N_FLAG + \
Line 452... Line 452...
452
.sendkey:
452
.sendkey:
453
        movzx   eax, byte[KEY_COUNT]
453
        movzx   eax, byte[KEY_COUNT]
454
        cmp     al, 120
454
        cmp     al, 120
455
        jae     .result ;overflow
455
        jae     .result ;overflow
456
        inc     byte[KEY_COUNT]
456
        inc     byte[KEY_COUNT]
457
        mov     [KEY_COUNT+1+eax], dl
457
        mov     [KEY_BUFF+eax], dl
-
 
458
; store empty scancode
-
 
459
        add     eax, 120+2
-
 
460
        mov     [KEY_BUFF+eax], byte 0
-
 
461
        sub     eax, 120+2
458
;--------------------------------------
462
;--------------------------------------
459
align 4
463
align 4
460
.result:
464
.result:
461
        setae   byte[esp+32+4] ;считаем, что исходно: dword[esp+32+4]==72
465
        setae   byte[esp+32+4] ;считаем, что исходно: dword[esp+32+4]==72
462
;--------------------------------------
466
;--------------------------------------