italian version

git-svn-id: svn://kolibrios.org@3612 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
fedesco 2013-06-06 16:10:22 +00:00
parent 5f85d6b8f5
commit d4aab4d5c2
2 changed files with 487 additions and 442 deletions

View File

@ -7,6 +7,7 @@
; ;
include '..\..\..\macros.inc' include '..\..\..\macros.inc'
include 'lang.inc'
memsize = 1000h memsize = 1000h
org 0 org 0
@ -61,7 +62,7 @@ drawwindow:
mov ebx, 17 shl 16 + 30 mov ebx, 17 shl 16 + 30
mov ecx, [sc.work_text] mov ecx, [sc.work_text]
mov edx, msg_nb mov edx, msg_nb
mov esi, 14 mov esi, msg_nb.length
mcall mcall
mov ebx, 105 shl 16 + 30 mov ebx, 105 shl 16 + 30
@ -72,19 +73,20 @@ drawwindow:
mov ebx, 17 shl 16 + 40 mov ebx, 17 shl 16 + 40
mov edx, msg_stat mov edx, msg_stat
mov esi, 8 mov esi, msg_stat.length
mcall mcall
mov ebx, 102 shl 16 + 50 mov ebx, 102 shl 16 + 50
mov edx, msg_divs mov edx, msg_divs
mov esi, 32 mov esi, msg_divs.length
mcall mcall
mov ebx, 17 shl 16 + 62 mov ebx, 17 shl 16 + 62
mov edx, msg_hdd mov edx, msg_hdd
mov esi, 10 mov esi, msg_hdd.length
mcall mcall
mov ebx, 17 shl 16 + 72 mov ebx, 17 shl 16 + 72
mov edx, msg_sgd mov edx, msg_sgd
mov esi, msg_sgd.length
mcall mcall
call get_divs call get_divs
@ -108,7 +110,7 @@ drawwindow:
call get_bd_stat call get_bd_stat
mov ecx, [sc.work_text] mov ecx, [sc.work_text]
mov esi, 9 mov esi, msg_nf.length
mov ebx, 105 shl 16 + 40 mov ebx, 105 shl 16 + 40
mov edx, msg_nf mov edx, msg_nf
mov al, [bd_stat] mov al, [bd_stat]
@ -118,6 +120,7 @@ drawwindow:
dec al dec al
jz @f jz @f
mov edx, msg_en mov edx, msg_en
mov esi, msg_en.length
@@: mov eax, 4 @@: mov eax, 4
mcall mcall
@ -211,7 +214,12 @@ bd_stat: db 0 ; 0 -
nb_name dd nb_nf nb_name dd nb_nf
bd_msk dd msk_i440 bd_msk dd msk_i440
if lang eq it
;nb_nf db 9, 'Non trovato'
nb_nf db 11, 'Non trovato'
else
nb_nf db 9, 'Not found' nb_nf db 9, 'Not found'
end if
msk_i440 db 0 msk_i440 db 0
nb_i440 db 4, 'i440' nb_i440 db 4, 'i440'
msk_nforce db 0x6D, 0x80, 0xE7, 0x06, 0 ; ­®¬¥à ॣ¨áâà , ¬ áª , ­®¬¥à ॣ¨áâà , ¬ áª , ... , 0 msk_nforce db 0x6D, 0x80, 0xE7, 0x06, 0 ; ­®¬¥à ॣ¨áâà , ¬ áª , ­®¬¥à ॣ¨áâà , ¬ áª , ... , 0
@ -552,16 +560,35 @@ boot_bd_enable:
title db appname,version,0 title db appname,version,0
msg_divs db ' x8 x16 x32 x64 x128 x256 x512' msg_divs db ' x8 x16 x32 x64 x128 x256 x512'
.length = $ - msg_divs
msg_hdd db 'Hatl Disc.' msg_hdd db 'Hatl Disc.'
.length = $ - msg_hdd
msg_sgd db 'Stop Grand' msg_sgd db 'Stop Grand'
msg_nb db 'North bridge :';14 .length = $ - msg_sgd
msg_stat db 'Status :' ;8 msg_nb db 'North bridge :'
msg_en db 'Enabled ' ;9 .length = $ - msg_nb
msg_dis db 'Disabled ' ;9 msg_stat db 'Status :'
msg_nf db 'Not found' ;9 .length = $ - msg_stat
if lang eq it
msg_en db 'Abilitato '
.length = $ - msg_en
msg_dis db 'Disabilitato'
.length = $ - msg_dis
msg_nf db 'Non trovato '
.length = $ - msg_nf
else
msg_en db 'Enabled '
.length = $ - msg_en
msg_dis db 'Disabled '
.length = $ - msg_dis
msg_nf db 'Not found'
.length = $ - msg_nf
end if
I_END: I_END:
sc system_colors
val_hdd: dd ? sc system_colors
val_sgd: dd ? val_hdd dd ?
val_sgd dd ?

View File

@ -0,0 +1,18 @@
#!gmake
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=kbd
SOURCE=${FILE}.ASM
OUT=${FILE}.bin
en:
echo "lang fix en" > ${LANG}
${FASM} ${SOURCE} ${OUT}
it:
echo "lang fix it" > ${LANG}
${FASM} ${SOURCE} ${OUT}
clean:
rm -f ${LANG} ${OUT}