Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3603 → Rev 3604

/programs/system/gmon/gmon.asm
35,6 → 35,7
; 12 - Update time decriment (tab_conf.inc)
; 13..17 - Èçìåíåíèå öâåòà CPU_load, Mem_usage, Temp1, Temp2, Temp3
 
include 'lang.inc'
include 'config.inc'
include 'macros.inc'
 
/programs/system/gmon/macros.inc
1,5 → 1,6
; language for programs
lang fix en ; ru en fr ge fi
;lang fix en ; ru en fr ge fi
; added lang.inc for compiling with a specific language
 
@^ fix macro comment {
^@ fix }
/programs/system/gmon/makefile
0,0 → 1,19
#!gmake
 
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=gmon
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}
/programs/system/gmon/tab_about.inc
9,6 → 9,23
call show_text
jmp end_drow_tab
 
if lang eq it
msg_about mls \
' Ghost Monitor',\
'',\
'strumento per testare il proprio hardware',\
'',\
'Supported SuperIO : W83627HF,W83697HF',\
' W83627THF,W83627THF-A,W83627EHF-A,',\
' W83637THF,IT8705F,IT8712F,SiS950',\
' ABIT uGuru',\
'',\
'Test basati su R.J.Redelmeier CPUBurn',\
'',\
'Mailto : ghost.nsk@mail.ru',\
'',\
' *** Usare a prioprio rischio ***'
else
msg_about mls \ ; äîëæíà áûòü õîòÿáû îäíà ñòðîêà
' Ghost Monitor',\
'',\
24,3 → 41,4
'Mailto : ghost.nsk@mail.ru',\
'',\
' *** Use at YOUR own RISK ***'
end if
/programs/system/gmon/tab_info.inc
129,7 → 129,16
jmp end_drow_tab
dub_p db ':'
 
if lang eq it
lab_info_tab mls \
'Vendor CPU',\
'Frequenza CPU (MHz)',\
'MMX tehnology',\
'Multiplier',\
'Monitoring chip',\
'Memoria libera (Kb)'
else
lab_info_tab mls \
'CPU Vendor',\
'CPU frequency (MHz)',\
'MMX tehnology',\
136,3 → 145,4
'Multiplier',\
'Monitoring chip',\
'Free memory (Kb)'
end if
/programs/system/gmon/tab_test.inc
141,4 → 141,8
tmsg_k7 db 'K7/Athlon/Duron' ; 15
;tmsg_mmx db 'MMX (memory)' ; 12
tmsg_rec db '- recommendate' ; 14
tmsg_war db 'May permanent damage to electronic' ; 34
if lang eq it
tmsg_war db 'Potrebbe danneggiare lo hardware ' ; 34
else
tmsg_war db 'May permanent damage to electronic' ; 34
end if
/programs/system/hdd_info/trunk/hdd_info.asm
35,6 → 35,8
; Fnc 01: 10-1,14-1,18-1,1c-1,BMA-0x18e1,0x18d1
; ¥£¨áâà ¯® ᬥ饭¨î 0å10 ¤«ï ä㭪樨 02 ᮤ¥à¦¨â 0x1c01 (¯®àâë 0å1á00-0å1á07)
 
include 'lang.inc' ; language support
 
; ¥¦¨¬ë Legacy, Native ¨ ¯à. ¬¥­ïîâáï ç¥à¥§ BIOS.
include '../../../config.inc' ;for nightbuild
include '..\..\..\macros.inc'
1307,7 → 1309,19
ret
;---------------------------------------------------------------------
;DATA AREA
if lang eq it
t:
.sup db 'supportato',0
;.usp db 'unsupported',0
.sel db 'selzionato',0
;.usl db 'not selected',0
.enb db 'abilitato',0
;.dis db 'disabled',0
.unk db 'sconosciuto',0
.type db 'Tipo',0
.chs db 'CHS',0
else
t:
.sup db 'supported',0
;.usp db 'unsupported',0
.sel db 'selected',0
1317,7 → 1331,24
.unk db 'unknown',0
.type db 'Type',0
.chs db 'CHS',0
end if
 
if lang eq it
.10_19 db 'Numero seriale',0
.23_26 db 'Versione firmware',0
.27_46 db 'Numero modello',0
.47 db 'Max. number of sectors that shall be transferred per DRQ data block',0
;.47 db 'Maximum number of logical sectors that shall be transferred per DRQ',0
;.47_ db 'data block on READ/WRITE MULTIPLE commands',0
.48.0 db 'Trusted Computing feature set is',0 ;1 sup
.49.13.1 db 'Standby timer values are',0 ;sup
.49.13.0 db 'Standby timer values shall be managed by the device',0
.49.11.1 db 'IORDY',0 ;sup
.49.11.0 db 'IORDY may be',0 ;sup
.49.10.1 db 'IORDY potrebbe essere disabilitato',0
.49.9 db 'LBA',0 ;1 sup
.49.8 db 'DMA',0 ;1 sup
else
.10_19 db 'Serial number',0
.23_26 db 'Firmware revision',0
.27_46 db 'Model number',0
1332,6 → 1363,7
.49.10.1 db 'IORDY may be disabled',0
.49.9 db 'LBA',0 ;1 sup
.49.8 db 'DMA',0 ;1 sup
end if
 
;.53 db 'Free-fall Control Sensitivity',0
;.53.6_15 db 'Sensitivity level',0
1613,11 → 1645,19
;head_f_l db 'error',0
;err_message_found_lib db 'box_lib.obj was not found',0
;err_message_import db 'box_lib.obj was not imported ',0
if lang eq it
error_open_file_string_Info db 'Non riesco ad aprire Info file!',0
error_save_file_string_Info db 'Non riesco a salvare Info file!',0
 
error_open_file_string_SMART db 'Non riesco ad aprire SMART file!',0
error_save_file_string_SMART db 'Non riesco a salvare SMART file!',0
else
error_open_file_string_Info db 'Can not open Info file!',0
error_save_file_string_Info db 'Can not save Info file!',0
 
error_open_file_string_SMART db 'Can not open SMART file!',0
error_save_file_string_SMART db 'Can not save SMART file!',0
end if
no_error_text db 0
align 4
error_text dd no_error_text
1628,11 → 1668,20
head_f_i:
head_f_l db 'System error',0
 
if lang eq it
err_message_found_lib1 db 'box_lib.obj - Non trovato!',0
err_message_found_lib2 db 'proc_lib.obj - Non trovato!',0
 
err_message_import1 db 'box_lib.obj - Import errato!',0
err_message_import2 db 'proc_lib.obj - Import errato!',0
 
else
err_message_found_lib1 db 'box_lib.obj - Not found!',0
err_message_found_lib2 db 'proc_lib.obj - Not found!',0
 
err_message_import1 db 'box_lib.obj - Wrong import!',0
err_message_import2 db 'proc_lib.obj - Wrong import!',0
end if
;---------------------------------------------------------------------
align 4
l_libs_start:
/programs/system/hdd_info/trunk/makefile
0,0 → 1,19
#!gmake
 
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=hdd_info
SOURCE=${FILE}.asm
OUT=${FILE}.bin
 
en:
echo "lang fix en" > ${LANG}
${FASM} ${SOURCE} ${OUT}
it:
echo "lang fix ital" > ${LANG}
${FASM} ${SOURCE} ${OUT}
 
clean:
rm -f ${LANG} ${OUT}