Small fixes

git-svn-id: svn://kolibrios.org@5875 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin 2015-11-02 23:09:03 +00:00
parent f99b56f461
commit 3ea6086e7f
2 changed files with 8 additions and 9 deletions

View File

@ -25,12 +25,12 @@ BootSettings:
invoke ini.get_str, sz_ini, sz_system, sz_language, param, 2, 0 invoke ini.get_str, sz_ini, sz_system, sz_language, param, 2, 0
mov ax, [param] mov ax, [param]
or ax, 0x2020 ; convert to lowercase or ax, 0x2020 ; convert to lowercase
mov ecx,10 mov ecx,8
mov edi,langMarks mov edi,langMarks
repnz scasw repnz scasw
jnz @f jnz @f
neg ecx neg ecx
add ecx,10 add ecx,8
mcall 21,5 mcall 21,5
@@: @@:
@ -262,11 +262,11 @@ close:
language1: language1:
dec [syslang] dec [syslang]
jns @f jns @f
mov [syslang],9 mov [syslang],7
jmp @f jmp @f
language2: language2:
inc [syslang] inc [syslang]
cmp [syslang],10 cmp [syslang],8
jc @f jc @f
mov [syslang],0 mov [syslang],0
@@: @@:
@ -486,10 +486,9 @@ stringsAmount = 6
align 4 align 4
text dd 0 text dd 0
langs: langs:
db 'ENGLISH FINNISH GERMAN RUSSIAN FRENCH ' db 'ENGLISH FINNISH GERMAN RUSSIAN FRENCH ESTONIANSPANISH ITALIAN '
db 'ESTONIANUKRAINE ITALIAN BELGIAN SPANISH '
langMarks: langMarks:
db 'enfiderufretukitbesp' db 'enfiderufretspit'
textrus: textrus:
db 'Ÿ§ëª á¨á⥬ë : < > <20>ਬ¥­¨âì' db 'Ÿ§ëª á¨á⥬ë : < > <20>ਬ¥­¨âì'

View File

@ -36,8 +36,8 @@ max_x dd 0x0
wcolor dd 0x506070 wcolor dd 0x506070
mi_text db 'WAVETETRBGRDGPL ' mi_text db 'WAVETETRBGRDGPL '
flagTextSm db 'EnFiGeRuFrEtUaItBe' flagTextSm db 'EnFiDeRuFrEtUaItBe'
flagTextBg db 'ENFIGERUFRETUAITBE' flagTextBg db 'ENFIDERUFRETUAITBE'
lsz m_text,\ lsz m_text,\
ru, "Œ¥­î",\ ru, "Œ¥­î",\