Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3220 → Rev 3221

/programs/system/setup/trunk/setup.asm
20,6 → 20,8
; I. Poddubny - fixed russian keymap
;14/08/06 Mario79 - added regulation of mouse features
;-------------------------------------------------------------------------------
format binary as ""
 
use32
org 0x0
 
170,7 → 172,7
jmp nodownup
;--------------------------------------
downuplbl:
mov eax,5
mov eax,6
;--------------------------------------
nodownup:
mov [keyboard],eax
180,7 → 182,7
cmp ah,5
jnz nokp
mov eax,[keyboard]
cmp eax,5
cmp eax,6
je updownlbl
inc eax
jmp noupdown
425,6 → 427,20
call alt_gen
;--------------------------------------
nosetkeylet:
cmp [keyboard],6 ;belgian
jnz nosetkeylbe
 
mcall 21,2,1,be_keymap
inc ecx
mcall 21,,,be_keymap_shift
 
inc ecx
mcall 21,,,be_keymap_alt_gr
 
mcall 21,,9,5
;--------------------------------------
nosetkeylbe:
ret
;-------------------------------------------------------------------------------
alt_gen:
544,6 → 560,12
mov [text00+LLL*1+32],dword 'NIAN'
;--------------------------------------
noet:
cmp eax,6
jnz nobe
mov [text00+LLL*1+28],dword 'BELG'
mov [text00+LLL*1+32],dword 'IAN '
;--------------------------------------
nobe:
mov eax,[syslang] ; SYSTEM LANGUAGE
dec eax
test eax,eax