Rev 4588 | Rev 4929 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4588 | Rev 4612 | ||
---|---|---|---|
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: 4588 $ |
8 | $Revision: 4612 $ |
9 | 9 | ||
10 | 10 | ||
Line 490... | Line 490... | ||
490 | mov [KEY_COUNT], al |
490 | mov [KEY_COUNT], al |
491 | ; store ascii or scancode |
491 | ; store ascii or scancode |
492 | mov [KEY_COUNT+eax], bl ; actually KEY_BUFF + EAX - 1 |
492 | mov [KEY_COUNT+eax], bl ; actually KEY_BUFF + EAX - 1 |
493 | ; store original scancode |
493 | ; store original scancode |
494 | add eax, 120+2 |
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 | @@: |
|
495 | mov [KEY_COUNT+eax], ch ; actually KEY_BUFF + EAX - 1 |
501 | mov [KEY_COUNT+eax], ch ; actually KEY_BUFF + EAX - 1 |
- | 502 | pop ecx |
|
496 | sub eax, 120+2 |
503 | sub eax, 120+2 |
497 | .exit.irq1: |
504 | .exit.irq1: |
498 | ret |
505 | ret |
499 | ;--------------------------------------------------------------------- |
506 | ;--------------------------------------------------------------------- |
500 | set_lights: |
507 | set_lights: |