Subversion Repositories Kolibri OS

Rev

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

Rev 837 Rev 928
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: 928 $
Line 9... Line 9...
9
 
9
 
Line 298... Line 298...
298
 
298
 
299
	jmp	.dowrite
299
	jmp	.dowrite
300
.scancode:
300
.scancode:
301
	mov	bl, ch
301
	mov	bl, ch
302
.dowrite:
302
.dowrite:
303
       movzx eax,byte[KEY_COUNT]
303
       mov eax, [KEY_COUNT]
304
       cmp   al,120
304
       cmp   al,120
305
       jae   .exit.irq1
305
       jae   .exit.irq1
306
       inc   eax
306
       inc   eax
307
       mov   [KEY_COUNT],al
307
       mov   [KEY_COUNT], eax
Line 308... Line 308...
308
       mov   [KEY_COUNT+eax],bl
308
       mov   [KEY_BUFF+eax-1],bl
309
 
309
 
Line 310... Line 310...
310
   .exit.irq1:
310
   .exit.irq1: