Subversion Repositories Kolibri OS

Rev

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

Rev 2601 Rev 2611
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2011. 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: 2601 $
8
$Revision: 2611 $
9
 
9
 
10
 
10
 
Line 361... Line 361...
361
        xor     [kb_lights], bl
361
        xor     [kb_lights], bl
362
        push    ecx
362
        push    ecx
363
        call    set_lights
363
        call    set_lights
364
        pop     ecx
364
        pop     ecx
365
.writekey:
365
.writekey:
-
 
366
        pushad
366
; test for system hotkeys
367
; test for system hotkeys
367
        movzx   eax, ch
368
        movzx   eax, ch
368
        cmp     bh, 1
369
        cmp     bh, 1
369
        ja      .nohotkey
370
        ja      .nohotkey
370
        jb      @f
371
        jb      @f
Line 413... Line 414...
413
        xor     eax, eax
414
        xor     eax, eax
414
@@:
415
@@:
415
        mov     [edi+4], ax
416
        mov     [edi+4], ax
416
        mov     eax, [kb_state]
417
        mov     eax, [kb_state]
417
        mov     [edi+6], ax
418
        mov     [edi+6], ax
418
        jmp     .exit.irq1
-
 
419
;--------------------------------------
419
;--------------------------------------
420
.nohotkey:
420
.nohotkey:
-
 
421
        popad
421
        cmp     [keyboard_mode], 0; return from keymap
422
        cmp     [keyboard_mode], 0; return from keymap
422
        jne     .scancode
423
        jne     .scancode
Line 423... Line 424...
423
        
424
        
424
        test    bh, bh
425
        test    bh, bh