2016-11-01 00:41:05 +01:00
|
|
|
|
empty_label: db ' ',0
|
|
|
|
|
TEXT_HOME: db 'Home',0
|
|
|
|
|
TEXT_ENTER: db 'Enter',0
|
|
|
|
|
TEXT_END: db 'End',0
|
|
|
|
|
TEXT_CANCEL: db 'x',0
|
2013-10-17 16:31:03 +02:00
|
|
|
|
|
2016-11-01 00:41:05 +01:00
|
|
|
|
strlen_var dd 0
|
2013-10-17 16:31:03 +02:00
|
|
|
|
|
2016-11-01 00:41:05 +01:00
|
|
|
|
if lang eq ru
|
|
|
|
|
TEXT_TITLE: db '<27><><EFBFBD><EFBFBD><EFBFBD>襭<EFBFBD><E8A5AD> ࠡ<><E0A0A1><EFBFBD>',0
|
2016-11-01 11:16:24 +01:00
|
|
|
|
TEXT_RDSAVE1: db '<27><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, ᤥ<><E1A4A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>',0
|
|
|
|
|
TEXT_RDSAVE2: db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ࠡ<><E0A0A1><EFBFBD> <20> <20><><EFBFBD>⥬<EFBFBD> (Ctrl+S)',0
|
2016-11-01 00:41:05 +01:00
|
|
|
|
TEXT_KERNEL: db '<27><><EFBFBD><EFBFBD>',0
|
|
|
|
|
TEXT_REBOOT: db '<27><>१<EFBFBD><E0A5A7><EFBFBD>㧪<EFBFBD>',0
|
|
|
|
|
TEXT_OFF: db '<27>몫<EFBFBD>祭<EFBFBD><E7A5AD>',0
|
|
|
|
|
else if lang eq ge
|
|
|
|
|
TEXT_TITLE: db 'Shutdown computer',0
|
|
|
|
|
TEXT_RDSAVE1: db 'Save all changes that were done',0
|
|
|
|
|
TEXT_RDSAVE2: db 'during system work (Ctrl+S)',0
|
|
|
|
|
TEXT_KERNEL: db 'Kernel',0
|
|
|
|
|
TEXT_REBOOT: db 'Neustart',0
|
|
|
|
|
TEXT_OFF: db 'Beenden',0
|
2013-10-17 16:31:03 +02:00
|
|
|
|
else if lang eq it
|
2016-11-01 00:41:05 +01:00
|
|
|
|
TEXT_TITLE: db 'Shutdown computer',0
|
|
|
|
|
TEXT_RDSAVE1: db 'Save all changes that were done',0
|
|
|
|
|
TEXT_RDSAVE2: db 'during system work (Ctrl+S)',0
|
|
|
|
|
TEXT_KERNEL: db 'Kernel',0
|
|
|
|
|
TEXT_REBOOT: db 'Riavvio',0
|
|
|
|
|
TEXT_OFF: db 'Spegni',0
|
2013-10-17 16:31:03 +02:00
|
|
|
|
else
|
2016-11-01 00:41:05 +01:00
|
|
|
|
TEXT_TITLE: db 'Shutdown computer',0
|
|
|
|
|
TEXT_RDSAVE1: db 'Save all changes that were done',0
|
|
|
|
|
TEXT_RDSAVE2: db 'during system work (Ctrl+S)',0
|
|
|
|
|
TEXT_KERNEL: db 'Kernel',0
|
|
|
|
|
TEXT_REBOOT: db 'Reboot',0
|
|
|
|
|
TEXT_OFF: db 'Power off',0
|
2013-10-17 16:31:03 +02:00
|
|
|
|
end if
|
|
|
|
|
|
|
|
|
|
rdsave:
|
2013-11-11 23:49:12 +01:00
|
|
|
|
dd 7,0,hide,0,0
|
|
|
|
|
db '/sys/rdsave',0
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
;Lib_DATA
|
|
|
|
|
;<EFBFBD>ᥣ<EFBFBD><EFBFBD> ᮡ<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⥫쭮<EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|
|
|
|
system_dir_Boxlib db '/sys/lib/box_lib.obj',0
|
|
|
|
|
system_dir_libini db '/sys/lib/libini.obj',0
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
head_f_i:
|
|
|
|
|
head_f_l db 'System error',0
|
|
|
|
|
|
|
|
|
|
err_message_found_lib1 db 'box_lib.obj - Not found!',0
|
|
|
|
|
err_message_found_lib2 db 'libini.obj - Not found!',0
|
|
|
|
|
|
|
|
|
|
err_message_import1 db 'box_lib.obj - Wrong import!',0
|
|
|
|
|
err_message_import2 db 'libini.obj - Wrong import!',0
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
l_libs_start:
|
|
|
|
|
|
|
|
|
|
library01 l_libs system_dir_Boxlib+9, cur_dir_path, library_path, system_dir_Boxlib, \
|
|
|
|
|
err_message_found_lib1, head_f_l, Box_lib_import, err_message_import1, head_f_i
|
|
|
|
|
|
|
|
|
|
library02 l_libs system_dir_libini+9, cur_dir_path, library_path, system_dir_libini, \
|
|
|
|
|
err_message_found_lib2, head_f_l, libini_import, err_message_import2, head_f_i
|
|
|
|
|
|
|
|
|
|
end_l_libs:
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
align 4
|
|
|
|
|
Box_lib_import:
|
|
|
|
|
init_checkbox2 dd aInit_checkbox2
|
|
|
|
|
check_box_draw2 dd aCheck_box_draw2
|
|
|
|
|
check_box_mouse2 dd aCheck_box_mouse2
|
|
|
|
|
;version_ch2 dd aVersion_ch2
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
|
|
|
|
aInit_checkbox2 db 'init_checkbox2',0
|
|
|
|
|
aCheck_box_draw2 db 'check_box_draw2',0
|
|
|
|
|
aCheck_box_mouse2 db 'check_box_mouse2',0
|
|
|
|
|
;aVersion_ch2 db 'version_ch2',0
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
align 4
|
|
|
|
|
libini_import:
|
|
|
|
|
init_lib dd a_init
|
|
|
|
|
ini_get_int dd aini_get_int
|
|
|
|
|
ini_set_int dd aini_set_int
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
|
|
|
|
a_init db 'lib_init',0
|
|
|
|
|
aini_get_int db 'ini_get_int',0
|
|
|
|
|
aini_set_int db 'ini_set_int',0
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
2016-11-01 00:41:05 +01:00
|
|
|
|
check1 check_box2 32 shl 16 +15, 70 shl 16 +15,6,0xffffff,0x757575,0x00CC00, empty_label, ch_flag_middle
|
2013-11-11 23:49:12 +01:00
|
|
|
|
|
|
|
|
|
hide db 'h',0
|
|
|
|
|
asettings db 'settings',0
|
|
|
|
|
aautosave db 'autosave',0
|
|
|
|
|
ini_file db '/sys/settings/rdsave.ini',0
|
2013-11-21 10:36:24 +01:00
|
|
|
|
|
2015-08-03 14:38:30 +02:00
|
|
|
|
|
|
|
|
|
If fade=1
|
2013-11-21 10:36:24 +01:00
|
|
|
|
|
|
|
|
|
color21 dd 0x01505890
|
|
|
|
|
color22 dd 0xbfbfbf
|
|
|
|
|
color23 dd 0xa49fa1
|
|
|
|
|
|
|
|
|
|
color24 dd 0x590011
|
|
|
|
|
color25 dd 0x593700
|
|
|
|
|
color26 dd 0x373737
|
|
|
|
|
color27 dd 0x003700
|
|
|
|
|
|
|
|
|
|
color28 dd 0x90bfbfbf
|
|
|
|
|
|
2015-08-03 14:38:30 +02:00
|
|
|
|
else
|
2013-11-21 10:36:24 +01:00
|
|
|
|
|
|
|
|
|
if lang eq ru
|
|
|
|
|
label7:
|
|
|
|
|
db '<27><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD><EFBFBD> <20><>ࠧ<EFBFBD>...',0
|
|
|
|
|
else
|
|
|
|
|
label7:
|
|
|
|
|
db 'Saving RAM-drive...',0
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
|
|
end if
|