Subversion Repositories Kolibri OS

Rev

Rev 1505 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1505 Rev 1689
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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: 641 $
8
$Revision: 1689 $
Line 9... Line 9...
9
 
9
 
Line 175... Line 175...
175
       jne   @f
175
       jne   @f
176
       mov   bl,1
176
       mov   bl,1
177
       mov   eax,VKEY_SCRLOCK
177
       mov   eax,VKEY_SCRLOCK
178
       jmp   .no_key.xor
178
       jmp   .no_key.xor
179
   @@:
179
   @@:
-
 
180
       xor   ebx, ebx
180
       test  ch,ch
181
       test  ch,ch
181
       js    .writekey
182
       js    .writekey
182
       movzx eax,ch		 ; plain key
183
       movzx eax,ch		 ; plain key
183
       mov   bl,[keymap+eax]
184
       mov   bl,[keymap+eax]
184
       mov   edx,[kb_state]
185
       mov   edx,[kb_state]
Line 198... Line 199...
198
       mov   bl,[keymap_shift+eax]
199
       mov   bl,[keymap_shift+eax]
199
   @@: test  dl,VKEY_ALT	 ; alt on ?
200
   @@: test  dl,VKEY_ALT	 ; alt on ?
200
       jz    @f
201
       jz    @f
201
       mov   bl,[keymap_alt+eax]
202
       mov   bl,[keymap_alt+eax]
202
   @@:
203
   @@:
203
	mov	bh, 0
-
 
204
	jmp	.writekey
204
	jmp	.writekey
205
.modifier:
205
.modifier:
206
	test	ch, ch
206
	test	ch, ch
207
	js	.modifier.up
207
	js	.modifier.up
208
	or	[kb_state], eax
208
	or	[kb_state], eax