Rev 3598 | Rev 4612 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3598 | Rev 4588 | ||
---|---|---|---|
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: 3598 $ |
8 | $Revision: 4588 $ |
9 | 9 | ||
10 | 10 | ||
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 | mov [KEY_COUNT+eax], ch ; actually KEY_BUFF + EAX - 1 |
|
- | 496 | sub eax, 120+2 |
|
492 | .exit.irq1: |
497 | .exit.irq1: |
493 | ret |
498 | ret |
494 | ;--------------------------------------------------------------------- |
499 | ;--------------------------------------------------------------------- |
495 | set_lights: |
500 | set_lights: |
496 | push ebx esi |
501 | push ebx esi |