Subversion Repositories Kolibri OS

Rev

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

Rev 4429 Rev 4923
Line 486... Line 486...
486
        movzx   eax, byte[KEY_COUNT]
486
        movzx   eax, byte[KEY_COUNT]
487
        cmp     al, 120
487
        cmp     al, 120
488
        jae     .exit.irq1
488
        jae     .exit.irq1
489
        inc     eax
489
        inc     eax
490
        mov     [KEY_COUNT], al
490
        mov     [KEY_COUNT], al
-
 
491
; store ascii or scancode
491
        mov     [KEY_COUNT+eax], bl
492
        mov     [KEY_COUNT+eax], bl ; actually KEY_BUFF + EAX - 1
-
 
493
; store original scancode
-
 
494
        add     eax, 120+2
-
 
495
        push    ecx
-
 
496
        cmp     [keyboard_mode], 0; return from keymap
-
 
497
        je      @f
-
 
498
 
-
 
499
        xor     ch, ch
-
 
500
@@:
-
 
501
        mov     [KEY_COUNT+eax], ch ; actually KEY_BUFF + EAX - 1
-
 
502
        pop     ecx
-
 
503
        sub     eax, 120+2
492
.exit.irq1:
504
.exit.irq1:
493
        ret
505
        ret
494
;---------------------------------------------------------------------
506
;---------------------------------------------------------------------
495
set_lights:
507
set_lights:
496
        push    ebx esi
508
        push    ebx esi