Estonian key_map and system_language in setup and panel.

git-svn-id: svn://kolibrios.org@275 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
kaitz 2007-01-14 15:21:41 +00:00
parent 1db135d09c
commit 55ed9e2720
3 changed files with 66 additions and 8 deletions

View File

@ -1913,11 +1913,12 @@ m_icon:
lsz m_text,\
ru, "Œ…<C592>ž",\
en, "MENU"
en, "MENU",\
et, "MENÜÜ"
mi_text db 'WAVETETRBGRDGPL '
flag_text db 'EnFiGeRuFr'
flag_text db 'EnFiGeRuFrEt'
type_lang db 0
;music_type db 1

View File

@ -0,0 +1,5 @@
@erase lang.inc
@echo lang fix et >lang.inc
@fasm @panel.asm @panel
@erase lang.inc
@pause

View File

@ -196,7 +196,7 @@ set_syslanguage_and_exit:
mov ebx,5
; mov ecx,9
int 0x40
cmp eax,4
cmp eax,6
jne temp ;@f
xor eax,eax
;@@: inc eax
@ -477,7 +477,7 @@ close:
dec eax
jmp nodownup
downuplbl:
mov eax,4
mov eax,5
nodownup:
mov [keyboard],eax
call draw_infotext
@ -485,7 +485,7 @@ close:
cmp ah,5
jnz nokp
mov eax,[keyboard]
cmp eax,4
cmp eax,5
je updownlbl
inc eax
jmp noupdown
@ -678,7 +678,7 @@ close:
cmp ah,43
jnz nosysp
mov eax,[syslang]
cmp eax,4
cmp eax,6
je nosysp
inc eax
mov [syslang],eax
@ -842,6 +842,23 @@ close:
mov edx,5
int 0x40
nosetkeylfr:
cmp [keyboard],5
jnz nosetkeylet
mov eax,21 ; estonian
mov ebx,2
mov ecx,1
mov edx,et_keymap
int 0x40
mov eax,21
inc ecx
mov edx,et_keymap_shift
int 0x40
mov eax,21
mov ecx,9
mov edx,6
int 0x40
call alt_gen
nosetkeylet:
ret
alt_gen:
@ -1029,7 +1046,11 @@ draw_infotext:
mov [text00+LLL*10+28],dword 'FREN'
mov [text00+LLL*10+32],dword 'CH '
nofr:
cmp eax,5
jnz noet
mov [text00+LLL*10+28],dword 'ESTO'
mov [text00+LLL*10+32],dword 'NIAN'
noet:
mov eax,[syslang] ; SYSTEM LANGUAGE
dec eax
@ -1058,7 +1079,11 @@ draw_infotext:
mov [text00+LLL*8+28],dword 'FREN'
mov [text00+LLL*8+32],dword 'CH '
nofr5:
cmp eax,5
jne noet5
mov [text00+LLL*8+28],dword 'ESTO'
mov [text00+LLL*8+32],dword 'NIAN'
noet5:
mov eax,[midibase]
mov esi,text00+LLL*0+32
@ -1711,6 +1736,33 @@ ru_keymap_shift:
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
et_keymap:
db '6',27
db '1234567890+´',8,9
db 'qwertyuiopüő',13
db '~asdfghjklöä','1',0,'<zxcvbnm,.-',0,'45 '
db '@234567890123',180,178,184,'6',176,'7'
db 179,'8',181,177,183,185,182
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
et_keymap_shift:
db '6',27
db '!"#¤%&/()=?`',8,9
db 'QWERTYUIOPÜŐ',13
db '~ASDFGHJKLÖÄ','1',0,'>ZXCVBNM;:_',0,'45 '
db '@234567890123',180,178,184,'6',176,'7'
db 179,'8',181,177,183,185,182
db 'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
read_fileinfo:
dd 0
dd 0