Rev 5797 | Rev 8892 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5797 | Rev 8866 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2021. 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: 5797 $ |
8 | $Revision: 8866 $ |
9 | 9 | ||
10 | 10 | ||
Line 101... | Line 101... | ||
101 | pop eax |
101 | pop eax |
102 | ret |
102 | ret |
103 | ;--------------------------------------------------------------------- |
103 | ;--------------------------------------------------------------------- |
104 | align 4 |
104 | align 4 |
105 | set_keyboard_data: |
105 | set_keyboard_data: |
106 | movzx eax, word[TASK_COUNT]; top window process |
106 | movzx eax, word[thread_count]; top window process |
107 | movzx eax, word[WIN_POS+eax*2] |
107 | movzx eax, word[WIN_POS+eax*2] |
108 | shl eax, 8 |
108 | shl eax, 8 |
109 | mov al, [SLOT_BASE+eax+APPDATA.keyboard_mode] |
109 | mov al, [SLOT_BASE+eax+APPDATA.keyboard_mode] |
110 | mov [keyboard_mode], al |
110 | mov [keyboard_mode], al |
Line 192... | Line 192... | ||
192 | pop ebx |
192 | pop ebx |
193 | ret 4 |
193 | ret 4 |
194 | ;--------------------------------------------------------------------- |
194 | ;--------------------------------------------------------------------- |
195 | align 4 |
195 | align 4 |
196 | irq1: |
196 | irq1: |
197 | movzx eax, word[TASK_COUNT]; top window process |
197 | movzx eax, word[thread_count]; top window process |
198 | movzx eax, word[WIN_POS+eax*2] |
198 | movzx eax, word[WIN_POS+eax*2] |
199 | shl eax, 8 |
199 | shl eax, 8 |
200 | mov al, [SLOT_BASE+eax+APPDATA.keyboard_mode] |
200 | mov al, [SLOT_BASE+eax+APPDATA.keyboard_mode] |
201 | mov [keyboard_mode], al |
201 | mov [keyboard_mode], al |