italian version

git-svn-id: svn://kolibrios.org@3604 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
fedesco 2013-06-05 05:47:25 +00:00
parent 52893d0ce3
commit b268ecd39c
9 changed files with 222 additions and 101 deletions

View File

@ -82,7 +82,7 @@ Hex2Dec2Bin /rd/1/develop/h2d2b
Codici ASCII /rd/1/develop/keyascii Codici ASCII /rd/1/develop/keyascii
SCAN-codes /rd/1/develop/scancode SCAN-codes /rd/1/develop/scancode
#9 **** EXAMPLES **** #9 **** EXAMPLES ****
Threads /rd/1/develop/thread Thread /rd/1/develop/thread
IPC /rd/1/develop/ipc IPC /rd/1/develop/ipc
Color slider /rd/1/demos/cslide Color slider /rd/1/demos/cslide
Esempio Console 1 /rd/1/develop/testcon2 Esempio Console 1 /rd/1/develop/testcon2
@ -90,7 +90,7 @@ Esempio Console 2 /rd/1/develop/test_gets
Esempio Message Boxes /rd/1/demos/use_mb Esempio Message Boxes /rd/1/demos/use_mb
#10 **** SYSTEM **** #10 **** SYSTEM ****
Impostazioni > /@11 Impostazioni > /@11
System sensors > /@12 Sensori di sistema > /@12
Work with files > /@13 Work with files > /@13
Testing > /@19 Testing > /@19
Opzioni Accessibilità > /@20 Opzioni Accessibilità > /@20
@ -103,7 +103,7 @@ Gestore icone /rd/1/icon
MyKey /rd/1/mykey MyKey /rd/1/mykey
Video mode for ATI /rd/1/vmode Video mode for ATI /rd/1/vmode
#12 **** SYSTEM SENSORS **** #12 **** SYSTEM SENSORS ****
Process manager /rd/1/cpu Gestore processi /rd/1/cpu
PCI devices /rd/1/pcidev PCI devices /rd/1/pcidev
Test graphics speed /rd/1/mgb Test graphics speed /rd/1/mgb
CPUID /rd/1/cpuid CPUID /rd/1/cpuid
@ -131,13 +131,13 @@ Zero-Config /sys/network/zeroconf
Network Config /sys/network/netcfg Network Config /sys/network/netcfg
Network status /sys/network/netstat Network status /sys/network/netstat
#16 **** SERVERS **** #16 **** SERVERS ****
FTP daemon /sys/network/ftpd Demone FTP /sys/network/ftpd
#17 **** CLIENTS **** #17 **** CLIENTS ****
IRC client /sys/network/ircc Client IRC /sys/network/ircc
TFTP client /sys/network/tftpc Client TFTP /sys/network/tftpc
Ping /sys/network/ping Ping /sys/network/ping
Telnet client /sys/network/telnet Client Telnet /sys/network/telnet
Synergy client /sys/network/synergyc Client Synergy /sys/network/synergyc
DNS lookup /sys/network/nslookup DNS lookup /sys/network/nslookup
Internet downloader /rd/1/network/downloader Internet downloader /rd/1/network/downloader
Text-based browser /rd/1/htmlv Text-based browser /rd/1/htmlv

View File

@ -35,6 +35,7 @@
; 12 - Update time decriment (tab_conf.inc) ; 12 - Update time decriment (tab_conf.inc)
; 13..17 - Èçìåíåíèå öâåòà CPU_load, Mem_usage, Temp1, Temp2, Temp3 ; 13..17 - Èçìåíåíèå öâåòà CPU_load, Mem_usage, Temp1, Temp2, Temp3
include 'lang.inc'
include 'config.inc' include 'config.inc'
include 'macros.inc' include 'macros.inc'
@ -70,7 +71,7 @@ CODE
shr ecx, 12 shr ecx, 12
and cl, 11b and cl, 11b
mov [CPU_type], cl mov [CPU_type], cl
; ! Öâåòà èç ìàññèâà colors ; ! Öâåòà èç ìàññèâà colors
mov dword[d_cpu_load], 0xFF00 ; èíèöèàëèçèðóåì ãðàôèê çàãðóçêè ÀËÓ mov dword[d_cpu_load], 0xFF00 ; èíèöèàëèçèðóåì ãðàôèê çàãðóçêè ÀËÓ
mov dword[d_mem_usage], 0x8BA169 ; -- mem usega mov dword[d_mem_usage], 0x8BA169 ; -- mem usega
@ -129,7 +130,7 @@ no_tabs:
; åñëè íåò çàïóùåíûõ òåñòîâ - çàïóñêàåì âûáðàííûé ; åñëè íåò çàïóùåíûõ òåñòîâ - çàïóñêàåì âûáðàííûé
cmp byte[test_id], 0 cmp byte[test_id], 0
je run_test je run_test
; если кнопка активного теста - останавливаем тест, иначе ничего не делаем ; если кнопка активного теста - останавливаем тест, иначе ничего не делаем
cmp [test_id], ah cmp [test_id], ah
jne wait_for_event jne wait_for_event
call stop_test call stop_test
@ -212,16 +213,16 @@ draw_window:
int 0x40 int 0x40
cmp cx, 230 ; ïðèâÿçàíî ê êîîðäèíàòàì îêíà cmp cx, 230 ; ïðèâÿçàíî ê êîîðäèíàòàì îêíà
jl @b jl @b
; Ïèøèì íàçâàíèÿ ïàðàìåòðîâ (Cpu load, temper, etc...) ; Ïèøèì íàçâàíèÿ ïàðàìåòðîâ (Cpu load, temper, etc...)
mov edx, msgs_mon mov edx, msgs_mon
mov ebx, 17 * 65536 + 30 mov ebx, 17 * 65536 + 30
call show_text call show_text
mov edx, msgs_mon2 mov edx, msgs_mon2
mov ebx, 156 * 65536 + 30 mov ebx, 156 * 65536 + 30
call show_text call show_text
; Ðèñóåì êíîïêè ñìåíû öâåòà ; Ðèñóåì êíîïêè ñìåíû öâåòà
mov eax, 8 mov eax, 8
mov ebx, 112 * 65536 + 5 mov ebx, 112 * 65536 + 5
@ -234,7 +235,7 @@ draw_window:
inc edx inc edx
cmp edx, 13 + 5 ; 5 êíîïîê cmp edx, 13 + 5 ; 5 êíîïîê
jne @b jne @b
; Ïèøèì çàãðóçêó ïðîöåññîðà ; Ïèøèì çàãðóçêó ïðîöåññîðà
call cpu_usage call cpu_usage
;--- äîáàâëÿåì íà ãðàôèê --- ;--- äîáàâëÿåì íà ãðàôèê ---
@ -248,7 +249,7 @@ draw_window:
xor esi, esi xor esi, esi
call digit_len call digit_len
int 0x40 int 0x40
; Ïèøèì èñïîëüçóåìóþ ïàìÿòü ; Ïèøèì èñïîëüçóåìóþ ïàìÿòü
call mem_usage call mem_usage
;--- äîáàâëÿåì íà ãðàôèê --- ;--- äîáàâëÿåì íà ãðàôèê ---
@ -262,7 +263,7 @@ draw_window:
xor esi, esi xor esi, esi
call digit_len call digit_len
int 0x40 int 0x40
cmp byte[hwm_enable], 0 cmp byte[hwm_enable], 0
jne show_mon jne show_mon
; Íåò äàò÷èêîâ - ïèøåì NO ; Íåò äàò÷èêîâ - ïèøåì NO
@ -349,11 +350,11 @@ sh_fan: push ecx
call digit_len call digit_len
mov eax, 47 mov eax, 47
int 0x40 int 0x40
add edx, 10 add edx, 10
pop esi pop esi
pop ecx pop ecx
loop sh_fan loop sh_fan
;--------------------------- ;---------------------------
; Íàïðóãè ; Íàïðóãè
mov esi, hwm_voltages mov esi, hwm_voltages
@ -370,13 +371,13 @@ volt_nxt:
fld dword [esi] fld dword [esi]
fsub dword [edi] fsub dword [edi]
fabs fabs
; fcomp dword [c_eps] ; bug in MeOsEmul ; fcomp dword [c_eps] ; bug in MeOsEmul
; fstsw ax ; fstsw ax
fcom dword [c_eps] ; 0xBADCODE fcom dword [c_eps] ; 0xBADCODE
fstsw ax fstsw ax
finit finit
sahf sahf
jc @f jc @f
mov ecx, val_mod mov ecx, val_mod
@ -385,7 +386,7 @@ volt_nxt:
test al, al test al, al
jnz @b jnz @b
sub esi, Data_String sub esi, Data_String
mov eax, 4 mov eax, 4
int 0x40 int 0x40
add ebx, 10 add ebx, 10
@ -393,7 +394,7 @@ volt_nxt:
pop ecx pop ecx
movsd movsd
loop volt_nxt loop volt_nxt
no_monitor: no_monitor:
;--------------------------- ;---------------------------
; Ñîçäà¸ì êíîïêè âêëàäîê ; Ñîçäà¸ì êíîïêè âêëàäîê
@ -460,7 +461,7 @@ about_tab:
include "system.inc" include "system.inc"
include "hwm.inc" include "hwm.inc"
include "diag.inc" include "diag.inc"
DATA DATA
act_tab db 2 ; Íîìåð àêòèâíîé âêëàäêè act_tab db 2 ; Íîìåð àêòèâíîé âêëàäêè
@ -478,7 +479,7 @@ msgs_mon mls \
'Fan3',\ 'Fan3',\
'Fan4',\ 'Fan4',\
'Fan5' 'Fan5'
msgs_mon2 mls \ msgs_mon2 mls \
'Vcore',\ 'Vcore',\
'AGP',\ 'AGP',\
@ -524,13 +525,13 @@ old_volts: times 7 dd ?
diag_beg: diag_beg:
d_cpu_load: dd ? d_cpu_load: dd ?
times 286 db ? times 286 db ?
d_mem_usage: dd ? d_mem_usage: dd ?
times 286 db ? times 286 db ?
d_temp1: dd ? d_temp1: dd ?
times 286 db ? times 286 db ?
d_temp2: dd ? d_temp2: dd ?
times 286 db ? times 286 db ?

View File

@ -1,5 +1,6 @@
; language for programs ; 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 macro comment {
^@ fix } ^@ fix }
@ -103,10 +104,10 @@ struc mls [sstring] {
db ssize db ssize
db sstring db sstring
common common
db -1 ; mod db -1 ; mod
} }
; strings ; strings
@ -363,4 +364,4 @@ EVM_EXIT = 1000b
EVM_BACKGROUND = 10000b EVM_BACKGROUND = 10000b
EVM_MOUSE = 100000b EVM_MOUSE = 100000b
EVM_IPC = 1000000b EVM_IPC = 1000000b
EVM_STACK = 10000000b EVM_STACK = 10000000b

View File

@ -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}

View File

@ -9,18 +9,36 @@
call show_text call show_text
jmp end_drow_tab jmp end_drow_tab
msg_about mls \ ; äîëæíà áûòü õîòÿáû îäíà ñòðîêà if lang eq it
' Ghost Monitor',\ msg_about mls \
'',\ ' Ghost Monitor',\
' tool for testing and monitoring hardware',\ '',\
'',\ 'strumento per testare il proprio hardware',\
'Supported SuperIO : W83627HF,W83697HF',\ '',\
' W83627THF,W83627THF-A,W83627EHF-A,',\ 'Supported SuperIO : W83627HF,W83697HF',\
' W83637THF,IT8705F,IT8712F,SiS950',\ ' W83627THF,W83627THF-A,W83627EHF-A,',\
' ABIT uGuru',\ ' W83637THF,IT8705F,IT8712F,SiS950',\
'',\ ' ABIT uGuru',\
'Tests based on R.J.Redelmeier CPUBurn',\ '',\
'',\ 'Test basati su R.J.Redelmeier CPUBurn',\
'Mailto : ghost.nsk@mail.ru',\ '',\
'',\ 'Mailto : ghost.nsk@mail.ru',\
' *** Use at YOUR own RISK ***' '',\
' *** Usare a prioprio rischio ***'
else
msg_about mls \ ; äîëæíà áûòü õîòÿáû îäíà ñòðîêà
' Ghost Monitor',\
'',\
' tool for testing and monitoring hardware',\
'',\
'Supported SuperIO : W83627HF,W83697HF',\
' W83627THF,W83627THF-A,W83627EHF-A,',\
' W83637THF,IT8705F,IT8712F,SiS950',\
' ABIT uGuru',\
'',\
'Tests based on R.J.Redelmeier CPUBurn',\
'',\
'Mailto : ghost.nsk@mail.ru',\
'',\
' *** Use at YOUR own RISK ***'
end if

View File

@ -49,7 +49,7 @@ mmx_en: int 0x40
mov edx, 160 * 65536 + 295 mov edx, 160 * 65536 + 295
xor esi, esi xor esi, esi
int 0x40 int 0x40
; push eax ; Вернуть код после исправления ftoa ; push eax ; Вернуть код после исправления ftoa
; fild dword[esp] ; fild dword[esp]
; push 1000;000 ; push 1000;000
@ -66,7 +66,7 @@ mmx_en: int 0x40
; int 0x40 ; int 0x40
; pop eax ; pop eax
; pop eax ; pop eax
; Семейство и модель процессора ; Семейство и модель процессора
mov eax, 47 mov eax, 47
mov ebx, 0x10100 mov ebx, 0x10100
@ -78,7 +78,7 @@ mmx_en: int 0x40
mov cl, [CPU_mod] mov cl, [CPU_mod]
add edx, 10 * 65536 add edx, 10 * 65536
int 0x40 int 0x40
; коэффициент умножения ; коэффициент умножения
call multiplier call multiplier
test ecx, ecx test ecx, ecx
@ -112,7 +112,7 @@ if (OS_version >= 0x0530)
xor esi, esi xor esi, esi
int 0x40 int 0x40
end if end if
; Расставляем двоеточия ; Расставляем двоеточия
mov eax, 4 mov eax, 4
mov ebx, 152 * 65536 + 285 mov ebx, 152 * 65536 + 285
@ -125,14 +125,24 @@ nxt_dp: push ecx
add ebx, 10 add ebx, 10
pop ecx pop ecx
loop nxt_dp loop nxt_dp
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
jmp end_drow_tab jmp end_drow_tab
dub_p db ':' dub_p db ':'
lab_info_tab mls \ if lang eq it
'CPU Vendor',\ lab_info_tab mls \
'CPU frequency (MHz)',\ 'Vendor CPU',\
'MMX tehnology',\ 'Frequenza CPU (MHz)',\
'Multiplier',\ 'MMX tehnology',\
'Monitoring chip',\ 'Multiplier',\
'Free memory (Kb)' 'Monitoring chip',\
'Memoria libera (Kb)'
else
lab_info_tab mls \
'CPU Vendor',\
'CPU frequency (MHz)',\
'MMX tehnology',\
'Multiplier',\
'Monitoring chip',\
'Free memory (Kb)'
end if

View File

@ -132,13 +132,17 @@ nr4: int 0x40
mov ecx, 418 * 65536 + 10 mov ecx, 418 * 65536 + 10
mov edx, atcol mov edx, atcol
int 0x40 int 0x40
jmp end_drow_tab jmp end_drow_tab
tmsg_p db 'Pentium (Pro/II/III)' ; 7/20 tmsg_p db 'Pentium (Pro/II/III)' ; 7/20
tmsg_k6 db 'K6 (I/II/III)' ; 13 tmsg_k6 db 'K6 (I/II/III)' ; 13
tmsg_k7 db 'K7/Athlon/Duron' ; 15 tmsg_k7 db 'K7/Athlon/Duron' ; 15
;tmsg_mmx db 'MMX (memory)' ; 12 ;tmsg_mmx db 'MMX (memory)' ; 12
tmsg_rec db '- recommendate' ; 14 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

View File

@ -35,6 +35,8 @@ SECONDARY_CHANNEL equ 0x177
; Fnc 01: 10-1,14-1,18-1,1c-1,BMA-0x18e1,0x18d1 ; Fnc 01: 10-1,14-1,18-1,1c-1,BMA-0x18e1,0x18d1
; <20>¥£¨áâà ¯® ᬥ饭¨î 0å10 ¤«ï ä㭪樨 02 ᮤ¥à¦¨â 0x1c01 (¯®àâë 0å1á00-0å1á07) ; <20>¥£¨áâà ¯® ᬥ饭¨î 0å10 ¤«ï ä㭪樨 02 ᮤ¥à¦¨â 0x1c01 (¯®àâë 0å1á00-0å1á07)
include 'lang.inc' ; language support
; <20>¥¦¨¬ë Legacy, Native ¨ ¯à. ¬¥­ïîâáï ç¥à¥§ BIOS. ; <20>¥¦¨¬ë Legacy, Native ¨ ¯à. ¬¥­ïîâáï ç¥à¥§ BIOS.
include '../../../config.inc' ;for nightbuild include '../../../config.inc' ;for nightbuild
include '..\..\..\macros.inc' include '..\..\..\macros.inc'
@ -117,7 +119,7 @@ load_libraries l_libs_start,end_l_libs
; jne skin_path_ready ; jne skin_path_ready
mov esi,default_SMART mov esi,default_SMART
call copy_str_1 call copy_str_1
;skin_path_ready: ;skin_path_ready:
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
;OpenDialog initialisation ;OpenDialog initialisation
push dword OpenDialog_data push dword OpenDialog_data
@ -125,11 +127,11 @@ load_libraries l_libs_start,end_l_libs
push dword OpenDialog_data2 push dword OpenDialog_data2
call [OpenDialog_Init] call [OpenDialog_Init]
; prepare for PathShow ; prepare for PathShow
push dword PathShow_data_1 push dword PathShow_data_1
call [PathShow_prepare] call [PathShow_prepare]
push dword PathShow_data_2 push dword PathShow_data_2
call [PathShow_prepare] call [PathShow_prepare]
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
@ -176,7 +178,7 @@ draw_PathShow:
; draw for PathShow ; draw for PathShow
push dword PathShow_data_1 push dword PathShow_data_1
call [PathShow_draw] call [PathShow_draw]
push dword PathShow_data_2 push dword PathShow_data_2
call [PathShow_draw] call [PathShow_draw]
popa popa
@ -1307,31 +1309,61 @@ show_SmartBlock:
ret ret
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
;DATA AREA ;DATA AREA
t: if lang eq it
.sup db 'supported',0 t:
;.usp db 'unsupported',0 .sup db 'supportato',0
.sel db 'selected',0 ;.usp db 'unsupported',0
;.usl db 'not selected',0 .sel db 'selzionato',0
.enb db 'enabled',0 ;.usl db 'not selected',0
;.dis db 'disabled',0 .enb db 'abilitato',0
.unk db 'unknown',0 ;.dis db 'disabled',0
.type db 'Type',0 .unk db 'sconosciuto',0
.chs db 'CHS',0 .type db 'Tipo',0
.chs db 'CHS',0
else
t:
.sup db 'supported',0
;.usp db 'unsupported',0
.sel db 'selected',0
;.usl db 'not selected',0
.enb db 'enabled',0
;.dis db 'disabled',0
.unk db 'unknown',0
.type db 'Type',0
.chs db 'CHS',0
end if
.10_19 db 'Serial number',0 if lang eq it
.23_26 db 'Firmware revision',0 .10_19 db 'Numero seriale',0
.27_46 db 'Model number',0 .23_26 db 'Versione firmware',0
.47 db 'Max. number of sectors that shall be transferred per DRQ data block',0 .27_46 db 'Numero modello',0
;.47 db 'Maximum number of logical sectors that shall be transferred per DRQ',0 .47 db 'Max. number of sectors that shall be transferred per DRQ data block',0
;.47_ db 'data block on READ/WRITE MULTIPLE commands',0 ;.47 db 'Maximum number of logical sectors that shall be transferred per DRQ',0
.48.0 db 'Trusted Computing feature set is',0 ;1 sup ;.47_ db 'data block on READ/WRITE MULTIPLE commands',0
.49.13.1 db 'Standby timer values are',0 ;sup .48.0 db 'Trusted Computing feature set is',0 ;1 sup
.49.13.0 db 'Standby timer values shall be managed by the device',0 .49.13.1 db 'Standby timer values are',0 ;sup
.49.11.1 db 'IORDY',0 ;sup .49.13.0 db 'Standby timer values shall be managed by the device',0
.49.11.0 db 'IORDY may be',0 ;sup .49.11.1 db 'IORDY',0 ;sup
.49.10.1 db 'IORDY may be disabled',0 .49.11.0 db 'IORDY may be',0 ;sup
.49.9 db 'LBA',0 ;1 sup .49.10.1 db 'IORDY potrebbe essere disabilitato',0
.49.8 db 'DMA',0 ;1 sup .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
.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 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 db 'Free-fall Control Sensitivity',0
;.53.6_15 db 'Sensitivity level',0 ;.53.6_15 db 'Sensitivity level',0
@ -1613,11 +1645,19 @@ page_text db 'Page:',0
;head_f_l db 'error',0 ;head_f_l db 'error',0
;err_message_found_lib db 'box_lib.obj was not found',0 ;err_message_found_lib db 'box_lib.obj was not found',0
;err_message_import db 'box_lib.obj was not imported ',0 ;err_message_import db 'box_lib.obj was not imported ',0
error_open_file_string_Info db 'Can not open Info file!',0 if lang eq it
error_save_file_string_Info db 'Can not save Info file!',0 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 'Can not open SMART file!',0 error_open_file_string_SMART db 'Non riesco ad aprire SMART file!',0
error_save_file_string_SMART db 'Can not save 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 no_error_text db 0
align 4 align 4
error_text dd no_error_text error_text dd no_error_text
@ -1628,11 +1668,20 @@ system_dir_ProcLib db '/sys/lib/proc_lib.obj',0
head_f_i: head_f_i:
head_f_l db 'System error',0 head_f_l db 'System error',0
err_message_found_lib1 db 'box_lib.obj - Not found!',0 if lang eq it
err_message_found_lib2 db 'proc_lib.obj - Not found!',0 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 - Wrong import!',0 err_message_import1 db 'box_lib.obj - Import errato!',0
err_message_import2 db 'proc_lib.obj - Wrong import!',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 align 4
l_libs_start: l_libs_start:
@ -1685,7 +1734,7 @@ aOpenDialog_Start db 'OpenDialog_start',0
;aOpenDialog_Version db 'Version_OpenDialog',0 ;aOpenDialog_Version db 'Version_OpenDialog',0
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
align 4 align 4
Box_lib_import: Box_lib_import:
;init_lib dd a_init ;init_lib dd a_init
;version_lib dd a_version ;version_lib dd a_version
@ -1931,4 +1980,4 @@ library_path:
stacktop: stacktop:
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
I_END: I_END:
;--------------------------------------------------------------------- ;---------------------------------------------------------------------

View File

@ -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}