From 46d9482bb0ac40c5c2c29344e4f1d759022b5cc6 Mon Sep 17 00:00:00 2001 From: vitalkrilov Date: Fri, 7 Jan 2022 12:42:44 +0000 Subject: [PATCH] Fixed misuse of "/rd/1" (changed to "/sys") for all other programs git-svn-id: svn://kolibrios.org@9587 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/SPForth/img.asm | 2 +- .../develop/SPForth/meforth_samples/autoload.f | 2 +- .../develop/SPForth/meforth_samples/autorun2.f | 14 +++++++------- programs/develop/SPForth/meforth_samples/example.f | 2 +- programs/develop/SPForth/meforth_samples/menuet.f | 4 ++-- programs/develop/SPForth/meforth_samples/picture.f | 4 ++-- programs/develop/SPForth/src/spf_last.f | 2 +- programs/develop/fasm/1.73/fasm.asm | 8 ++++---- programs/develop/heed/trunk/heed.asm | 2 +- programs/develop/info3ds/info3ds.asm | 4 ++-- programs/develop/info3ds/info3ds_u.asm | 4 ++-- programs/develop/kol_f_edit/kol_f_edit.asm | 4 ++-- programs/develop/koldbg/koldbg.asm | 2 +- programs/develop/koldbg/readme.txt | 6 +++--- .../ktcc/trunk/libc.obj/include/clayer/dialog.h | 6 +++--- .../ktcc/trunk/libc/include/clayer/dialog.h | 6 +++--- .../libraries/crypt_des/example/crypt_files.asm | 4 ++-- .../develop/libraries/exif/examples/viev_exif.asm | 4 ++-- .../libraries/libs-dev/.test/001/test001.asm | 4 ++-- .../libraries/libs-dev/.test/006/test006.asm | 2 +- .../libraries/menuetlibc/src/libmcoff/loadcoff.c | 2 +- programs/develop/libraries/pixlib/pixlib.c | 2 +- programs/develop/libraries/pixlib/pixlib.inc | 2 +- programs/develop/mtdbg/mtdbg.txt | 6 +++--- programs/develop/scc/README.TXT | 2 +- programs/develop/scc/SCC.ASM | 4 ++-- programs/develop/sdk/trunk/pixlib/pixlib.inc | 2 +- programs/develop/tinypad/trunk/data/tp-idata.inc | 8 ++++---- programs/fs/copyr/trunk/ascl.inc | 2 +- programs/fs/kfar/trunk/kfar.asm | 2 +- programs/fs/opendial/opendial.asm | 2 +- programs/games/almaz/ASCL.INC | 6 +++--- programs/games/arcanii/trunk/ascl.inc | 2 +- programs/games/arcanoid/trunk/ascl.inc | 2 +- programs/games/klavisha/trunk/data.inc | 2 +- programs/games/klavisha/trunk/readme.txt | 2 +- programs/games/life3/trunk/life3.asm | 4 ++-- programs/games/phenix/trunk/ascl.inc | 2 +- programs/games/pong3/trunk/ascgl.inc | 2 +- programs/media/animage/trunk/lib_data.inc | 2 +- programs/media/img_transform/img_transform.asm | 4 ++-- programs/media/kiv/trunk/kiv.asm | 2 +- programs/media/listplay/trunk/listplay.asm | 2 +- programs/media/log_el/trunk/log_el.asm | 4 ++-- programs/media/midamp/trunk/midamp.asm | 2 +- programs/media/mp3info/mp3info.asm | 2 +- programs/media/mp3info/readme.txt | 2 +- programs/media/palitra/branch/readme.txt | 4 ++-- programs/media/palitra/trunk/readme.txt | 4 ++-- programs/media/voxel_editor/trunk/voxel_editor.asm | 4 ++-- .../media/voxel_editor/utilites/vox_creator.asm | 4 ++-- programs/media/voxel_editor/utilites/vox_mover.asm | 4 ++-- programs/media/voxel_editor/utilites/vox_tgl.asm | 4 ++-- programs/media/zsea/data.inc | 2 +- programs/network/ftpd/users.ini | 4 ++-- programs/other/cnc_control/cnc_control.asm | 4 ++-- programs/other/cnc_editor/cnc_editor.asm | 4 ++-- programs/other/ha/HACONFIG.ASM | 8 ++++---- programs/other/ha/ReadMe.txt | 4 ++-- programs/other/ha/SETTINGS/HOTANGLES.CFG | 8 ++++---- programs/other/kpack/trunk/const_var.inc | 6 +++--- programs/other/kpack/trunk/kpack.asm | 2 +- programs/other/outdated/archer/trunk/data.inc | 2 +- .../other/outdated/cmd/trunk/examples/EXAMPLE.CMD | 4 ++-- programs/other/outdated/copy2/trunk/copy2.asm | 2 +- programs/other/outdated/gifview/trunk/gifview.asm | 2 +- programs/other/outdated/kerpack/trunk/kerpack.asm | 2 +- programs/other/outdated/mfar/trunk/mfar.asm | 2 +- programs/other/outdated/slovarik/ASCL.INC | 6 +++--- programs/other/outdated/slovarik/SLOVARIK.ASM | 6 +++--- programs/other/outdated/slovarik/SLOVARIK.INI | 2 +- programs/other/outdated/sysxtree/trunk/ascl.inc | 2 +- .../other/outdated/sysxtree/trunk/sysxtree.asm | 4 ++-- programs/other/planet_v/planet_v.asm | 4 ++-- programs/other/rtfread/trunk/rtfread.asm | 2 +- programs/other/t_edit/t_data.inc | 2 +- programs/system/format/format.asm | 6 +++--- programs/system/hdd_info/trunk/hdd_info.asm | 2 +- programs/system/icon/trunk/data.inc | 2 +- programs/system/icon/trunk/icon.asm | 2 +- programs/system/icon_new/icon.ini | 2 +- programs/system/run/trunk/run.txt | 2 +- programs/system/shell/Docs_rus.txt | 2 +- programs/system/shell/modules/module_executable.c | 2 +- programs/testing/kbd/trunk/readme.txt | 2 +- programs/testing/mgb/trunk/mgb.asm | 4 ++-- 86 files changed, 148 insertions(+), 148 deletions(-) diff --git a/programs/develop/SPForth/img.asm b/programs/develop/SPForth/img.asm index 551c09732a..80299928f3 100644 --- a/programs/develop/SPForth/img.asm +++ b/programs/develop/SPForth/img.asm @@ -12,7 +12,7 @@ AHEADER 0 ,'TST',cfa_TST call cfa__SLITERALminusCODE+00H DB 010H - DB '/rd/1/autoload.f',0 + DB '/sys/autoload.f',0 call cfa_INCLUDED_+00H DB 0C3H AHEADER 0 ,'H.',cfa_Hdot diff --git a/programs/develop/SPForth/meforth_samples/autoload.f b/programs/develop/SPForth/meforth_samples/autoload.f index 3377e934b4..a08bff5a25 100644 --- a/programs/develop/SPForth/meforth_samples/autoload.f +++ b/programs/develop/SPForth/meforth_samples/autoload.f @@ -4,7 +4,7 @@ VARIABLE wd 256 ALLOT COUNT 1+ SWAP 1- SWAP wd SWAP CMOVE ; : _wd - $" /rd/1/" setwd ; _wd + $" /sys/" setwd ; _wd : "/ [CHAR] / ; diff --git a/programs/develop/SPForth/meforth_samples/autorun2.f b/programs/develop/SPForth/meforth_samples/autorun2.f index aab27b5237..d75aca45d6 100644 --- a/programs/develop/SPForth/meforth_samples/autorun2.f +++ b/programs/develop/SPForth/meforth_samples/autorun2.f @@ -5,11 +5,11 @@ OVER finfo @ 8 + ! >asciiz ; : exec 16 finfo @ ! finfo @ 58 sys2 ." started, code=" . CR 5 sys2 DROP ; -S" /RD/1/GRSCREEN" >path 99 exec -S" /RD/1/@RB" >path 30 exec -S" /RD/1/@SS" >path 30 exec -S" /RD/1/@TASKBAR" >path 30 exec -S" /RD/1/SETUP" >path S" BOOT" >param 30 exec -S" /RD/1/ICON2" >path S" BOOT" >param 10 exec -S" /RD/1/board" >path 25 exec +S" /SYS/GRSCREEN" >path 99 exec +S" /SYS/@RB" >path 30 exec +S" /SYS/@SS" >path 30 exec +S" /SYS/@TASKBAR" >path 30 exec +S" /SYS/SETUP" >path S" BOOT" >param 30 exec +S" /SYS/ICON2" >path S" BOOT" >param 10 exec +S" /SYS/board" >path 25 exec BYE diff --git a/programs/develop/SPForth/meforth_samples/example.f b/programs/develop/SPForth/meforth_samples/example.f index e9b1b96493..ffacd5d5e5 100644 --- a/programs/develop/SPForth/meforth_samples/example.f +++ b/programs/develop/SPForth/meforth_samples/example.f @@ -1,5 +1,5 @@ DECIMAL - S" /rd/1/menuet.f" INCLUDED + S" /sys/menuet.f" INCLUDED : not_emit emit_proc DUP @ NOT SWAP ! ; diff --git a/programs/develop/SPForth/meforth_samples/menuet.f b/programs/develop/SPForth/meforth_samples/menuet.f index 8fe40a92e9..c1ede6cf84 100644 --- a/programs/develop/SPForth/meforth_samples/menuet.f +++ b/programs/develop/SPForth/meforth_samples/menuet.f @@ -1,5 +1,5 @@ -\ S" /rd/1/1st.4th" INCLUDED - S" /rd/1/locals.f" INCLUDED +\ S" /sys/1st.4th" INCLUDED + S" /sys/locals.f" INCLUDED \ : sys_wnd ( border, header, workarea, y, x -- ) \ 1 12 sys2 DROP 0 sys6 2 12 sys2 2DROP ; diff --git a/programs/develop/SPForth/meforth_samples/picture.f b/programs/develop/SPForth/meforth_samples/picture.f index b18d55b5b4..761ed8eed7 100644 --- a/programs/develop/SPForth/meforth_samples/picture.f +++ b/programs/develop/SPForth/meforth_samples/picture.f @@ -1,5 +1,5 @@ DECIMAL - S" /rd/1/menuet.f" INCLUDED + S" /sys/menuet.f" INCLUDED : not_emit emit_proc DUP @ NOT SWAP ! ; @@ -58,7 +58,7 @@ CREATE gif 600 ALLOT : new_me ( new main loop) - gif DUP $" /rd/1/Menu.gif" COUNT READ 2DROP + gif DUP $" /sys/Menu.gif" COUNT READ 2DROP gif raw READ_GIF . ; diff --git a/programs/develop/SPForth/src/spf_last.f b/programs/develop/SPForth/src/spf_last.f index 0806da498a..923063bc72 100644 --- a/programs/develop/SPForth/src/spf_last.f +++ b/programs/develop/SPForth/src/spf_last.f @@ -71,6 +71,6 @@ VECT EMIT ' _EMIT TO EMIT : H. BASE @ SWAP HEX U. BASE ! ; -: TST S" /rd/1/autoload.f" INCLUDED_ ; +: TST S" /sys/autoload.f" INCLUDED_ ; : TST1 S" WORDS" EVALUATE ; diff --git a/programs/develop/fasm/1.73/fasm.asm b/programs/develop/fasm/1.73/fasm.asm index f144346c90..6a0ef1fcd4 100644 --- a/programs/develop/fasm/1.73/fasm.asm +++ b/programs/develop/fasm/1.73/fasm.asm @@ -557,11 +557,11 @@ ch1_dbg CHECK_BOX2 (5 shl 16)+15, ((LINE_H*3+3) shl 16)+15, 6, 0xffffff, 0x80ff, align 4 OpenDialog_data OPEN_DLG 0,PROCESS_INFO,communication_area_name,0,path,default_dir,library_path,do_redraw,0,path,filename_area,Filter,420,10,320,10 -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name db 'FFFFFFFF_open_dialog',0 open_dialog_name db 'opendial',0 -communication_area_default_path db '/rd/1/File managers/',0 +communication_area_default_path db '/sys/File managers/',0 Filter: dd Filter.end - Filter @@ -576,7 +576,7 @@ mouse_dd dd 0 ;needed for Shift in editbox ;--------------------------------------------------------------------- infile path 'example.asm',0 outfile path 'example',0 -path path '/rd/1//',0 +path path '/sys/',0 path_end: crlf db $D,$A,0 title db appname,VERSION_STRING,0 @@ -612,7 +612,7 @@ import_loader.state dd 0 file_io_notify FILEIO SSF_START_APP file_io_notify.path db 0 file_io_notify.lppath dd notify_path -notify_path db '/rd/1/@notify',0 +notify_path db '/sys/@notify',0 file_io_start FILEIO SSF_START_APP file_io_start.path path diff --git a/programs/develop/heed/trunk/heed.asm b/programs/develop/heed/trunk/heed.asm index 364ee57476..17444da65d 100644 --- a/programs/develop/heed/trunk/heed.asm +++ b/programs/develop/heed/trunk/heed.asm @@ -3309,7 +3309,7 @@ else db '/sys/File Managers/opendial',0 end if communication_area_default_pach: - db '/rd/1',0 + db '/sys',0 Filter: dd Filter.end - Filter.1 diff --git a/programs/develop/info3ds/info3ds.asm b/programs/develop/info3ds/info3ds.asm index 5b87b76111..a58aaef546 100644 --- a/programs/develop/info3ds/info3ds.asm +++ b/programs/develop/info3ds/info3ds.asm @@ -1039,14 +1039,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter.1 diff --git a/programs/develop/info3ds/info3ds_u.asm b/programs/develop/info3ds/info3ds_u.asm index 457c4978be..7da065bc3f 100644 --- a/programs/develop/info3ds/info3ds_u.asm +++ b/programs/develop/info3ds/info3ds_u.asm @@ -1109,14 +1109,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter.1 diff --git a/programs/develop/kol_f_edit/kol_f_edit.asm b/programs/develop/kol_f_edit/kol_f_edit.asm index cc5dbd1c02..63d912a202 100644 --- a/programs/develop/kol_f_edit/kol_f_edit.asm +++ b/programs/develop/kol_f_edit/kol_f_edit.asm @@ -1294,14 +1294,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/develop/koldbg/koldbg.asm b/programs/develop/koldbg/koldbg.asm index 6ba047276c..7ae9340e21 100644 --- a/programs/develop/koldbg/koldbg.asm +++ b/programs/develop/koldbg/koldbg.asm @@ -197,7 +197,7 @@ macro jecxnz Target loop Target } -TestFile db '/rd/1/develop/scancode',0 +TestFile db '/sys/develop/scancode',0 MinWidth = 90 MaxWidth = 255 diff --git a/programs/develop/koldbg/readme.txt b/programs/develop/koldbg/readme.txt index f35b86f789..24be8382fc 100644 --- a/programs/develop/koldbg/readme.txt +++ b/programs/develop/koldbg/readme.txt @@ -17,8 +17,8 @@ koldbg ┼ёыш эшърър  яЁюуЁрььр эх чруЁєцхэр, Єю ьюцэю чруЁєчшЄ№ яЁюуЁрььє ъюьрэфющ load: load <яюыэюх шь  шёяюыэ хьюую Їрщыр> [<рЁуєьхэЄ√>] ═ряЁшьхЁ: -load /rd/1/example -LOAD /rd/1/aclock w200 h200 +load /sys/example +LOAD /sys/aclock w200 h200 LoaD /hd0/1/menuetos/dosbox/dosbox ┬ё╕, ўЄю ёЄюшЄ яюёых яхЁтюую яЁюсхыр яюёых шьхэш шёяюыэ хьюую Їрщыр, фюёыютэю яхЁхфр╕Єё  яЁюуЁрььх т ърўхёЄтх ъюьрэфэющ ёЄЁюъш. ╩юьрэфр load ёююс∙рхЄ ю Ёхчєы№ЄрЄх т юъэх ёююс∙хэшщ (эхьэюую т√°х юъэр ъюьрэфэющ ёЄЁюъш). ┼ёыш яЁюуЁрььє єфрыюё№ чруЁєчшЄ№, Єю юс ¤Єюь яю тшЄё  ёююЄтхЄёЄтє■∙хх ёююс∙хэшх; хёыш эх єфрыюё№, Єю т ёююс∙хэшш сєфхЄ єърчрэр яЁшўшэр ю°шсъш. ═ршсюыхх тхЁю Єэр  - "file not found", хёыш эхяЁртшы№эю єърчрэю шь  Їрщыр. @@ -26,7 +26,7 @@ LOAD /rd/1/aclock w200 h200 ╬Єырфўшъ ьюцхЄ чруЁєцрЄ№ Їрщы√ ё шэЇюЁьрЎшхщ юс шьхэрї т яЁюуЁрььх (ьхЄъш, уыюсры№э√х яхЁхьхээ√х) - ЄхъёЄют√х Їрщы√, ърцфр  ёЄЁюър ъюЄюЁ√ї шьххЄ тшф 0x <шь > (ёЄЁюъш, эх шьх■∙шх Єръющ тшф, шуэюЁшЁє■Єё ). ╥ръющ Їрщы ьюцхЄ с√Є№ ёючфрэ тЁєўэє■ шыш ёухэхЁшЁютрэ ртЄюьрЄшўхёъш яЁш ъюьяшы Ўшш шёїюфэшър fasm'юь. ▀тэр  чруЁєчър юёє∙хёЄты хЄё  ъюьрэфющ load-symbols: load-symbols <яюыэюх шь  Їрщыр ёшьтюыют> -╩Ёюьх Єюую, яЁш т√яюыэхэшш ъюьрэф√ load юЄырфўшъ яЁютхЁ хЄ эрышўшх Їрщыр ё Єръшь цх шьхэхь, ъръ чруЁєцрхь√щ сшэрЁэшъ, ш Ёрё°шЁхэшхь .dbg (/rd/1/example.dbg фы  яхЁтюую шч яЁшьхЁют т√°х), ш хёыш Єръющ хёЄ№, чруЁєцрхЄ хую ртЄюьрЄшўхёъш (т√фртр  ёююс∙хэшх "Symbols loaded", хёыш тё╕ т +╩Ёюьх Єюую, яЁш т√яюыэхэшш ъюьрэф√ load юЄырфўшъ яЁютхЁ хЄ эрышўшх Їрщыр ё Єръшь цх шьхэхь, ъръ чруЁєцрхь√щ сшэрЁэшъ, ш Ёрё°шЁхэшхь .dbg (/sys/example.dbg фы  яхЁтюую шч яЁшьхЁют т√°х), ш хёыш Єръющ хёЄ№, чруЁєцрхЄ хую ртЄюьрЄшўхёъш (т√фртр  ёююс∙хэшх "Symbols loaded", хёыш тё╕ т яюЁ фъх). ╠юцхЄ ёыєўшЄ№ё  Єръ, ўЄю чруЁєцхээр  яЁюуЁрььр єяръютрэр. ╬с∙шщ яЁшэЎшя єяръютъш яЁюуЁрьь ёыхфє■∙шщ: ёэрўрыр шёїюфэ√щ Їрщы яръєхЄё  (ъръшь-эшсєф№ рыуюЁшЄьюь ёцрЄш ), яюЄюь яЁшяшё√трхЄё  эхсюы№°ющ яю ЁрчьхЁє ъюф, ъюЄюЁ√щ яюыєўрхЄ єяЁртыхэшх яЁш чряєёъх яЁюуЁрьь√, Ёрёяръют√трхЄ т ярь Єш шёїюфэ√щ ъюф, яюёых ўхую яхЁхфр╕Є хьє єяЁртыхэшх. ┼ёыш яЁюуЁрььр єяръютрэр, Єю х╕ "эрёЄю ∙шщ" ъюф эх тшфхэ ш фы  юЄырфъш эєцэю яЁхфтрЁшЄхы№эю яЁющЄш ъюф Ёрёяръют∙шър. koldbg юяЁхфхы хЄ сюы№°шэёЄтю ёє∙хёЄтє■∙шї єяръют∙шъют (mxp, mxp_lzo, mxp_nrv, mtappack) ш т ¤Єюь ёыєўрх яЁхфырурхЄ ртЄюьрЄшўхёъш яЁющЄш фю "эрёЄю ∙хую" ъюфр. ╨хъюьхэфєхЄё  ёюуырёшЄ№ё  (эрцрЄ№ 'y' шыш ), эю ьюцэю ш юЄърчрЄ№ё . ╧Ёш юЄърчх ш т ёыєўрх, ъюуфр яЁюуЁрььр єяръютрэр ўхь-Єю эхшчтхёЄэ√ь, ьюцэю шёяюы№чютрЄ№ ъюьрэфє "unpack" (схч рЁуєьхэЄют). ┬√ч√трщЄх х╕ Єюы№ъю т ёыєўрх, diff --git a/programs/develop/ktcc/trunk/libc.obj/include/clayer/dialog.h b/programs/develop/ktcc/trunk/libc.obj/include/clayer/dialog.h index 3cb7759e0c..2ee0c2e3c1 100644 --- a/programs/develop/ktcc/trunk/libc.obj/include/clayer/dialog.h +++ b/programs/develop/ktcc/trunk/libc.obj/include/clayer/dialog.h @@ -6,11 +6,11 @@ #define SUCCESS 1 char sz_com_area_name[] = "FFFFFFFF_open_dialog"; -char sz_dir_default_path[] = "/rd/1"; -char sz_start_path[] = "/rd/1/File managers/opendial"; +char sz_dir_default_path[] = "/sys"; +char sz_start_path[] = "/sys/File managers/opendial"; char cd_com_area_name[] = "FFFFFFFF_color_dialog"; -char cd_start_path[] = "/rd/1/colrdial"; +char cd_start_path[] = "/sys/colrdial"; enum open_dialog_mode { OPEN, diff --git a/programs/develop/ktcc/trunk/libc/include/clayer/dialog.h b/programs/develop/ktcc/trunk/libc/include/clayer/dialog.h index 3cb7759e0c..2ee0c2e3c1 100644 --- a/programs/develop/ktcc/trunk/libc/include/clayer/dialog.h +++ b/programs/develop/ktcc/trunk/libc/include/clayer/dialog.h @@ -6,11 +6,11 @@ #define SUCCESS 1 char sz_com_area_name[] = "FFFFFFFF_open_dialog"; -char sz_dir_default_path[] = "/rd/1"; -char sz_start_path[] = "/rd/1/File managers/opendial"; +char sz_dir_default_path[] = "/sys"; +char sz_start_path[] = "/sys/File managers/opendial"; char cd_com_area_name[] = "FFFFFFFF_color_dialog"; -char cd_start_path[] = "/rd/1/colrdial"; +char cd_start_path[] = "/sys/colrdial"; enum open_dialog_mode { OPEN, diff --git a/programs/develop/libraries/crypt_des/example/crypt_files.asm b/programs/develop/libraries/crypt_des/example/crypt_files.asm index ec3c7e2333..294df7d60d 100644 --- a/programs/develop/libraries/crypt_des/example/crypt_files.asm +++ b/programs/develop/libraries/crypt_des/example/crypt_files.asm @@ -373,14 +373,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/develop/libraries/exif/examples/viev_exif.asm b/programs/develop/libraries/exif/examples/viev_exif.asm index e4e8b74e2d..c11c20ff62 100644 --- a/programs/develop/libraries/exif/examples/viev_exif.asm +++ b/programs/develop/libraries/exif/examples/viev_exif.asm @@ -537,14 +537,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/develop/libraries/libs-dev/.test/001/test001.asm b/programs/develop/libraries/libs-dev/.test/001/test001.asm index b6a83e0c6e..4c8609c339 100644 --- a/programs/develop/libraries/libs-dev/.test/001/test001.asm +++ b/programs/develop/libraries/libs-dev/.test/001/test001.asm @@ -272,7 +272,7 @@ draw_window: ret -_f_path db '/rd/1/lib',0 +_f_path db '/sys/lib',0 _f_mask db '*ini*',0 ;--------------------------------------------------------------------- @@ -281,7 +281,7 @@ _f_mask db '*ini*',0 s_header db 'EXAMPLE APPLICATION',0 -s_ini db '/rd/1/test001.ini',0 +s_ini db '/sys/test001.ini',0 s_sec db 'Panels',0 s_key db 'param1',0 diff --git a/programs/develop/libraries/libs-dev/.test/006/test006.asm b/programs/develop/libraries/libs-dev/.test/006/test006.asm index 3ffb277848..21e31f1b2d 100644 --- a/programs/develop/libraries/libs-dev/.test/006/test006.asm +++ b/programs/develop/libraries/libs-dev/.test/006/test006.asm @@ -135,7 +135,7 @@ draw_window: align 4 title db 'Press button [Up] and see ' -openfile_path db '/rd/1/t1.png',0 +openfile_path db '/sys/t1.png',0 struct FileInfoBlock Function dd ? diff --git a/programs/develop/libraries/menuetlibc/src/libmcoff/loadcoff.c b/programs/develop/libraries/menuetlibc/src/libmcoff/loadcoff.c index cb1535ac10..9d3b192156 100644 --- a/programs/develop/libraries/menuetlibc/src/libmcoff/loadcoff.c +++ b/programs/develop/libraries/menuetlibc/src/libmcoff/loadcoff.c @@ -83,7 +83,7 @@ coffobj_t * mcoff_load_file(char * fname) /* We just search some paths if it is relative */ if(fname[0]!='/') { - sz=open_on_path("/RD/1",fname); + sz=open_on_path("/SYS",fname); if(sz>64 && sz<0x1000000) goto OK; /* Max 16MB for DLL */ sz=open_on_path("/HD/1/MENUETOS",fname); if(sz>64 && sz<0x1000000) goto OK; /* Max 16MB for DLL */ diff --git a/programs/develop/libraries/pixlib/pixlib.c b/programs/develop/libraries/pixlib/pixlib.c index dd46021986..0b78ea171b 100644 --- a/programs/develop/libraries/pixlib/pixlib.c +++ b/programs/develop/libraries/pixlib/pixlib.c @@ -92,7 +92,7 @@ int __stdcall start(int state) srv_hw2d = get_service("HDRAW"); if(srv_hw2d == 0) - srv_hw2d = load_service("/rd/1/drivers/ati2d.drv"); + srv_hw2d = load_service("/sys/drivers/ati2d.drv"); return TRUE; }; diff --git a/programs/develop/libraries/pixlib/pixlib.inc b/programs/develop/libraries/pixlib/pixlib.inc index f11c309fc0..454c716b7c 100644 --- a/programs/develop/libraries/pixlib/pixlib.inc +++ b/programs/develop/libraries/pixlib/pixlib.inc @@ -175,7 +175,7 @@ macro fix_cwd path add esp, 12 } -szPxlib db '/rd/1/lib/pixlib.obj',0 +szPxlib db '/sys/lib/pixlib.obj',0 szStart db 'START',0 szVersion db 'version',0 diff --git a/programs/develop/mtdbg/mtdbg.txt b/programs/develop/mtdbg/mtdbg.txt index dc7561b8fe..8ba32474ae 100644 --- a/programs/develop/mtdbg/mtdbg.txt +++ b/programs/develop/mtdbg/mtdbg.txt @@ -17,8 +17,8 @@ mtdbg ┼ёыш эшърър  яЁюуЁрььр эх чруЁєцхэр, Єю ьюцэю чруЁєчшЄ№ яЁюуЁрььє ъюьрэфющ load: load <яюыэюх шь  шёяюыэ хьюую Їрщыр> [<рЁуєьхэЄ√>] ═ряЁшьхЁ: -load /rd/1/example -LOAD /rd/1/aclock w200 h200 +load /sys/example +LOAD /sys/aclock w200 h200 LoaD /hd0/1/menuetos/dosbox/dosbox ┬ё╕, ўЄю ёЄюшЄ яюёых яхЁтюую яЁюсхыр яюёых шьхэш шёяюыэ хьюую Їрщыр, фюёыютэю яхЁхфр╕Єё  яЁюуЁрььх т ърўхёЄтх ъюьрэфэющ ёЄЁюъш. ╩юьрэфр load ёююс∙рхЄ ю Ёхчєы№ЄрЄх т юъэх ёююс∙хэшщ (эхьэюую т√°х юъэр ъюьрэфэющ ёЄЁюъш). ┼ёыш яЁюуЁрььє єфрыюё№ чруЁєчшЄ№, Єю юс ¤Єюь яю тшЄё  ёююЄтхЄёЄтє■∙хх ёююс∙хэшх; хёыш эх єфрыюё№, Єю т ёююс∙хэшш сєфхЄ єърчрэр яЁшўшэр ю°шсъш. ═ршсюыхх тхЁю Єэр  - "file not found", хёыш эхяЁртшы№эю єърчрэю шь  Їрщыр. @@ -26,7 +26,7 @@ LOAD /rd/1/aclock w200 h200 ╬Єырфўшъ ьюцхЄ чруЁєцрЄ№ Їрщы√ ё шэЇюЁьрЎшхщ юс шьхэрї т яЁюуЁрььх (ьхЄъш, уыюсры№э√х яхЁхьхээ√х) - ЄхъёЄют√х Їрщы√, ърцфр  ёЄЁюър ъюЄюЁ√ї шьххЄ тшф 0x <шь > (ёЄЁюъш, эх шьх■∙шх Єръющ тшф, шуэюЁшЁє■Єё ). ╥ръющ Їрщы ьюцхЄ с√Є№ ёючфрэ тЁєўэє■ шыш ёухэхЁшЁютрэ ртЄюьрЄшўхёъш яЁш ъюьяшы Ўшш шёїюфэшър fasm'юь. ▀тэр  чруЁєчър юёє∙хёЄты хЄё  ъюьрэфющ load-symbols: load-symbols <яюыэюх шь  Їрщыр ёшьтюыют> -╩Ёюьх Єюую, яЁш т√яюыэхэшш ъюьрэф√ load юЄырфўшъ яЁютхЁ хЄ эрышўшх Їрщыр ё Єръшь цх шьхэхь, ъръ чруЁєцрхь√щ сшэрЁэшъ, ш Ёрё°шЁхэшхь .dbg (/rd/1/example.dbg фы  яхЁтюую шч яЁшьхЁют т√°х), ш хёыш Єръющ хёЄ№, чруЁєцрхЄ хую ртЄюьрЄшўхёъш (т√фртр  ёююс∙хэшх "Symbols loaded", хёыш тё╕ т +╩Ёюьх Єюую, яЁш т√яюыэхэшш ъюьрэф√ load юЄырфўшъ яЁютхЁ хЄ эрышўшх Їрщыр ё Єръшь цх шьхэхь, ъръ чруЁєцрхь√щ сшэрЁэшъ, ш Ёрё°шЁхэшхь .dbg (/sys/example.dbg фы  яхЁтюую шч яЁшьхЁют т√°х), ш хёыш Єръющ хёЄ№, чруЁєцрхЄ хую ртЄюьрЄшўхёъш (т√фртр  ёююс∙хэшх "Symbols loaded", хёыш тё╕ т яюЁ фъх). ╠юцхЄ ёыєўшЄ№ё  Єръ, ўЄю чруЁєцхээр  яЁюуЁрььр єяръютрэр. ╬с∙шщ яЁшэЎшя єяръютъш яЁюуЁрьь ёыхфє■∙шщ: ёэрўрыр шёїюфэ√щ Їрщы яръєхЄё  (ъръшь-эшсєф№ рыуюЁшЄьюь ёцрЄш ), яюЄюь яЁшяшё√трхЄё  эхсюы№°ющ яю ЁрчьхЁє ъюф, ъюЄюЁ√щ яюыєўрхЄ єяЁртыхэшх яЁш чряєёъх яЁюуЁрьь√, Ёрёяръют√трхЄ т ярь Єш шёїюфэ√щ ъюф, яюёых ўхую яхЁхфр╕Є хьє єяЁртыхэшх. ┼ёыш яЁюуЁрььр єяръютрэр, Єю х╕ "эрёЄю ∙шщ" ъюф эх тшфхэ ш фы  юЄырфъш эєцэю яЁхфтрЁшЄхы№эю яЁющЄш ъюф Ёрёяръют∙шър. mtdbg юяЁхфхы хЄ сюы№°шэёЄтю ёє∙хёЄтє■∙шї єяръют∙шъют (mxp, mxp_lzo, mxp_nrv, mtappack) ш т ¤Єюь ёыєўрх яЁхфырурхЄ ртЄюьрЄшўхёъш яЁющЄш фю "эрёЄю ∙хую" ъюфр. ╨хъюьхэфєхЄё  ёюуырёшЄ№ё  (эрцрЄ№ 'y' шыш ), эю ьюцэю ш юЄърчрЄ№ё . ╧Ёш юЄърчх ш т ёыєўрх, ъюуфр яЁюуЁрььр єяръютрэр ўхь-Єю эхшчтхёЄэ√ь, ьюцэю шёяюы№чютрЄ№ ъюьрэфє "unpack" (схч рЁуєьхэЄют). ┬√ч√трщЄх х╕ Єюы№ъю т ёыєўрх, diff --git a/programs/develop/scc/README.TXT b/programs/develop/scc/README.TXT index a165f42c5c..f5c8e4b74c 100644 --- a/programs/develop/scc/README.TXT +++ b/programs/develop/scc/README.TXT @@ -6,7 +6,7 @@ ############################## KNOWN BUGS: - * only directiory /rd/1/ works + * only directiory /sys/ works HISTORY: * 0.5.4: diff --git a/programs/develop/scc/SCC.ASM b/programs/develop/scc/SCC.ASM index 492a71f0bd..67966bd8c8 100644 --- a/programs/develop/scc/SCC.ASM +++ b/programs/develop/scc/SCC.ASM @@ -356,8 +356,8 @@ draw_window: ;B+ Data area ;B+ Interface -inp_path: times 100 db '/RD/1/',0 -p_len dd 6 +inp_path: times 100 db '/SYS/',0 +p_len dd 5 inp_file: times 100 db 'EXAMPLE',0 f_len dd 7 diff --git a/programs/develop/sdk/trunk/pixlib/pixlib.inc b/programs/develop/sdk/trunk/pixlib/pixlib.inc index 544c1139d9..883fc90654 100644 --- a/programs/develop/sdk/trunk/pixlib/pixlib.inc +++ b/programs/develop/sdk/trunk/pixlib/pixlib.inc @@ -159,7 +159,7 @@ macro fix_cwd path add esp, 12 } -szPxlib db '/rd/1/lib/pixlib.obj',0 +szPxlib db '/sys/lib/pixlib.obj',0 szStart db 'START',0 szVersion db 'version',0 diff --git a/programs/develop/tinypad/trunk/data/tp-idata.inc b/programs/develop/tinypad/trunk/data/tp-idata.inc index bd42c046c4..ec9c01d0ec 100644 --- a/programs/develop/tinypad/trunk/data/tp-idata.inc +++ b/programs/develop/tinypad/trunk/data/tp-idata.inc @@ -8,10 +8,10 @@ charWidth dd 8 scale db 0x10 ins_mode db 1 -sz app_fasm ,'/rd/1/develop/fasm',0 -sz app_board ,'/rd/1/develop/board',0 -sz app_tinypad ,'/rd/1/tinypad',0 -sz app_docpak ,'/rd/1/docpack',0 +sz app_fasm ,'/sys/develop/fasm',0 +sz app_board ,'/sys/develop/board',0 +sz app_tinypad ,'/sys/tinypad',0 +sz app_docpak ,'/sys/docpack',0 sz sysfuncs_param,'f',0 diff --git a/programs/fs/copyr/trunk/ascl.inc b/programs/fs/copyr/trunk/ascl.inc index 7ab13ae7c3..ade310710f 100644 --- a/programs/fs/copyr/trunk/ascl.inc +++ b/programs/fs/copyr/trunk/ascl.inc @@ -28,7 +28,7 @@ ; LOADFILE ; (SYNTAX) LOADFILE 'full_path_to_file',file_load_area,file_temp_area -; (SAMPLE) LOADFILE '/rd/1/clock.bmp',load_area,temp_area +; (SAMPLE) LOADFILE '/sys/clock.bmp',load_area,temp_area macro loadfile file_name,file_load_area,file_temp_area { diff --git a/programs/fs/kfar/trunk/kfar.asm b/programs/fs/kfar/trunk/kfar.asm index 479f58a7a2..1808e44023 100644 --- a/programs/fs/kfar/trunk/kfar.asm +++ b/programs/fs/kfar/trunk/kfar.asm @@ -6842,7 +6842,7 @@ header db 'Kolibri Far ',version,0 nomem_draw db 'No memory for redraw.',0 .size = $ - nomem_draw -def_left_dir db '/rd/1',0 +def_left_dir db '/sys',0 def_right_dir db '/hd0/1',0 bSilentFolderMode db 1 diff --git a/programs/fs/opendial/opendial.asm b/programs/fs/opendial/opendial.asm index 89e903716f..e318b5fb2c 100644 --- a/programs/fs/opendial/opendial.asm +++ b/programs/fs/opendial/opendial.asm @@ -2851,7 +2851,7 @@ filter_flag db 1 focus_pointer db 0 ;--------------------------------------------------------------------- start_pach: - db '/rd/1',0 + db '/sys',0 root_pach: db '/',0 diff --git a/programs/games/almaz/ASCL.INC b/programs/games/almaz/ASCL.INC index f5a3cf2db3..2ecfb96d69 100644 --- a/programs/games/almaz/ASCL.INC +++ b/programs/games/almaz/ASCL.INC @@ -30,7 +30,7 @@ lang equ ru ; ru en fr ge fi ; LOADFILE ; (SYNTAX) LOADFILE 'full_path_to_file',file_load_area,file_temp_area -; (SAMPLE) LOADFILE '/rd/1/clock.bmp',load_area,temp_area +; (SAMPLE) LOADFILE '/sys/clock.bmp',load_area,temp_area macro loadfile file_name,file_load_area,file_temp_area { @@ -324,7 +324,7 @@ run_fileinfo: dd 0 dd procinfo ; 0x10000 ;run_filepath - db '/RD/1/SYSXTREE',0 + db '/SYS/SYSXTREE',0 procinfo: times 256 db 0 @@ -535,7 +535,7 @@ run_fileinfo: dd 0 dd procinfo run_filepath: - db '/RD/1/SYSXTREE',0 + db '/SYS/SYSXTREE',0 procinfo: times 256 db 0 diff --git a/programs/games/arcanii/trunk/ascl.inc b/programs/games/arcanii/trunk/ascl.inc index f9e84b4229..b4a2458ff2 100644 --- a/programs/games/arcanii/trunk/ascl.inc +++ b/programs/games/arcanii/trunk/ascl.inc @@ -31,7 +31,7 @@ lang equ ru ; ru en fr ge fi ; LOADFILE ; (SYNTAX) LOADFILE 'full_path_to_file',file_load_area,file_temp_area -; (SAMPLE) LOADFILE '/rd/1/clock.bmp',load_area,temp_area +; (SAMPLE) LOADFILE '/sys/clock.bmp',load_area,temp_area macro loadfile file_name,file_load_area,file_temp_area diff --git a/programs/games/arcanoid/trunk/ascl.inc b/programs/games/arcanoid/trunk/ascl.inc index 17a65adf5a..feee3c6c98 100644 --- a/programs/games/arcanoid/trunk/ascl.inc +++ b/programs/games/arcanoid/trunk/ascl.inc @@ -28,7 +28,7 @@ ; LOADFILE ; (SYNTAX) LOADFILE 'full_path_to_file',file_load_area,file_temp_area -; (SAMPLE) LOADFILE '/rd/1/clock.bmp',load_area,temp_area +; (SAMPLE) LOADFILE '/sys/clock.bmp',load_area,temp_area macro loadfile file_name,file_load_area,file_temp_area { diff --git a/programs/games/klavisha/trunk/data.inc b/programs/games/klavisha/trunk/data.inc index d8bda2bfcb..c1ec4691c0 100644 --- a/programs/games/klavisha/trunk/data.inc +++ b/programs/games/klavisha/trunk/data.inc @@ -96,7 +96,7 @@ string db 0x07,' db 'при запуске в качестве параметра', 0x00 db 'командной строки, например:', 0x00 db ' ', 0x00 - db 'klavisha /rd/1/lessons.kla', 0x00 + db 'klavisha /sys/lessons.kla', 0x00 db ' ', 0x00 db '(щелкните на кнопке СЛЕДУЮЩЕЕ УПРАЖНЕНИЕ)', 0xFE db 0x07,' Ваша задача - набрать предложенный', 0x00 diff --git a/programs/games/klavisha/trunk/readme.txt b/programs/games/klavisha/trunk/readme.txt index 0e85990d7b..11688154dd 100644 --- a/programs/games/klavisha/trunk/readme.txt +++ b/programs/games/klavisha/trunk/readme.txt @@ -14,7 +14,7 @@ ___________________________________________________________ При запуске программе должен быть передан параметр коман- дной строки с указанием пути к файлу-набору упражнений в формате KLA, например: - KLAVISHA /RD/1/BASEKURS.KLA + KLAVISHA /SYS/BASEKURS.KLA Если параметр командной строки не задан, программа будет запущена в демонстрационном режиме. В комплект поставки входит начальный курс обучения быс- diff --git a/programs/games/life3/trunk/life3.asm b/programs/games/life3/trunk/life3.asm index da49e9d882..856043a650 100644 --- a/programs/games/life3/trunk/life3.asm +++ b/programs/games/life3/trunk/life3.asm @@ -1636,14 +1636,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/games/phenix/trunk/ascl.inc b/programs/games/phenix/trunk/ascl.inc index f79aa0d3b6..ddc7262e60 100644 --- a/programs/games/phenix/trunk/ascl.inc +++ b/programs/games/phenix/trunk/ascl.inc @@ -221,7 +221,7 @@ macro window_end_draw ; fs_read_file - read file from file system and save it to array ; example: -; fs_read_file '/rd/1/clock.bmp',load_area,temp_area +; fs_read_file '/sys/clock.bmp',load_area,temp_area macro fs_read_file file_name,file_load_area,file_temp_area { diff --git a/programs/games/pong3/trunk/ascgl.inc b/programs/games/pong3/trunk/ascgl.inc index 0620361003..aea0d5df5b 100644 --- a/programs/games/pong3/trunk/ascgl.inc +++ b/programs/games/pong3/trunk/ascgl.inc @@ -435,7 +435,7 @@ end_bmp: ; LOADBMP - Load bmp image from file ; (SYNTAX) LOADBMP 'file_path',temp_area(rb 0x10000),load_area,dd soi -; (SAMPLE) LOADBMP '/rd/1/menuet.bmp',temp_area,I_END,tsoi +; (SAMPLE) LOADBMP '/sys/menuet.bmp',temp_area,I_END,tsoi ; ( NOTE ) Macros create on Base of ; Picture browser by lisovin@26.ru & Ivan Poddubny ; SOI - Start of image diff --git a/programs/media/animage/trunk/lib_data.inc b/programs/media/animage/trunk/lib_data.inc index 5eb70d8d89..b676f22aa9 100644 --- a/programs/media/animage/trunk/lib_data.inc +++ b/programs/media/animage/trunk/lib_data.inc @@ -73,7 +73,7 @@ ColorDialog_data: cd_communication_area_name: db 'FFFFFFFF_color_dialog',0 colordialog_path: - db '/rd/1/colrdial',0 + db '/sys/colrdial',0 ;start_temp_file_name: db 'pattern.mgb',0 diff --git a/programs/media/img_transform/img_transform.asm b/programs/media/img_transform/img_transform.asm index 376de87e3b..50fc51e8df 100644 --- a/programs/media/img_transform/img_transform.asm +++ b/programs/media/img_transform/img_transform.asm @@ -1364,14 +1364,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/media/kiv/trunk/kiv.asm b/programs/media/kiv/trunk/kiv.asm index 34a2d536b9..ddd4ca2cb4 100644 --- a/programs/media/kiv/trunk/kiv.asm +++ b/programs/media/kiv/trunk/kiv.asm @@ -2516,7 +2516,7 @@ else db '/sys/File Managers/opendial',0 end if communication_area_default_path: - db '/rd/1',0 + db '/sys',0 Filter: dd Filter.end-Filter diff --git a/programs/media/listplay/trunk/listplay.asm b/programs/media/listplay/trunk/listplay.asm index d334d98fa3..51cbae727b 100644 --- a/programs/media/listplay/trunk/listplay.asm +++ b/programs/media/listplay/trunk/listplay.asm @@ -759,7 +759,7 @@ label4: db ' label5: db 'Всего файлов в плейлисте найдено:',0 label6: db 'Номер воспроизводимого файла:',0 minus: db 'ac97snd',0 -player: db '/rd/1/media/ac97snd' ,0 +player: db '/sys/media/ac97snd' ,0 my_draw db 0 n_razd db 0 trig_scan db 0 diff --git a/programs/media/log_el/trunk/log_el.asm b/programs/media/log_el/trunk/log_el.asm index 0ae7e01417..7873ced2bd 100644 --- a/programs/media/log_el/trunk/log_el.asm +++ b/programs/media/log_el/trunk/log_el.asm @@ -2306,14 +2306,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/media/midamp/trunk/midamp.asm b/programs/media/midamp/trunk/midamp.asm index e7706f43ce..51042acbcd 100644 --- a/programs/media/midamp/trunk/midamp.asm +++ b/programs/media/midamp/trunk/midamp.asm @@ -408,7 +408,7 @@ else db '/sys/File Managers/opendial',0 end if communication_area_default_pach: - db '/rd/1',0 + db '/sys',0 Filter: dd Filter.end - Filter diff --git a/programs/media/mp3info/mp3info.asm b/programs/media/mp3info/mp3info.asm index d5dd2739e0..27269dd13d 100644 --- a/programs/media/mp3info/mp3info.asm +++ b/programs/media/mp3info/mp3info.asm @@ -642,7 +642,7 @@ fileinfo2: .size dd 1*BLOCK_SIZE ;ёъюы№ъю срщЄ ўшЄрЄ№ .buf dd mp3_file ;єърчрЄхы№ эр сєЇхЁ, ъєфр сєфєЄ чряшёрэ√ фрээ√х .path: - db "TEST.MP3",0 ;"/RD/1/TEST.MP3",0 + db "TEST.MP3",0 ;"/SYS/TEST.MP3",0 rb 256-($-.path) diff --git a/programs/media/mp3info/readme.txt b/programs/media/mp3info/readme.txt index 3cd2b797a3..2f31ee0657 100644 --- a/programs/media/mp3info/readme.txt +++ b/programs/media/mp3info/readme.txt @@ -82,7 +82,7 @@ ;For testing change name if the end of "supermp3.asm" - section fileinfo: dd 0, 0, 1, mp3_file, 0x1000 - db "/RD/1/TEST.MP3",0 + db "/SYS/TEST.MP3",0 Package content: readme.txt - this file diff --git a/programs/media/palitra/branch/readme.txt b/programs/media/palitra/branch/readme.txt index c692dd9828..779840d36c 100644 --- a/programs/media/palitra/branch/readme.txt +++ b/programs/media/palitra/branch/readme.txt @@ -14,8 +14,8 @@ $ равносильно запуску без параметров за исключением того, что цвета по умолчанию будут соответствовать переданным в параметрах. Возможны варианты запуска: - /rd/1/media/palitra N 00FF00FF 00FF0000 - /rd/1/media/palitra N 00F724A3 00736698 + /sys/media/palitra N 00FF00FF 00FF0000 + /sys/media/palitra N 00F724A3 00736698 ..............................................................................+ diff --git a/programs/media/palitra/trunk/readme.txt b/programs/media/palitra/trunk/readme.txt index c692dd9828..779840d36c 100644 --- a/programs/media/palitra/trunk/readme.txt +++ b/programs/media/palitra/trunk/readme.txt @@ -14,8 +14,8 @@ $ равносильно запуску без параметров за исключением того, что цвета по умолчанию будут соответствовать переданным в параметрах. Возможны варианты запуска: - /rd/1/media/palitra N 00FF00FF 00FF0000 - /rd/1/media/palitra N 00F724A3 00736698 + /sys/media/palitra N 00FF00FF 00FF0000 + /sys/media/palitra N 00F724A3 00736698 ..............................................................................+ diff --git a/programs/media/voxel_editor/trunk/voxel_editor.asm b/programs/media/voxel_editor/trunk/voxel_editor.asm index f629fd4dd5..68394bc8b4 100644 --- a/programs/media/voxel_editor/trunk/voxel_editor.asm +++ b/programs/media/voxel_editor/trunk/voxel_editor.asm @@ -1714,14 +1714,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/media/voxel_editor/utilites/vox_creator.asm b/programs/media/voxel_editor/utilites/vox_creator.asm index 4cc7640b24..24b544b80e 100644 --- a/programs/media/voxel_editor/utilites/vox_creator.asm +++ b/programs/media/voxel_editor/utilites/vox_creator.asm @@ -1246,14 +1246,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/media/voxel_editor/utilites/vox_mover.asm b/programs/media/voxel_editor/utilites/vox_mover.asm index 446bdc3eab..180678510e 100644 --- a/programs/media/voxel_editor/utilites/vox_mover.asm +++ b/programs/media/voxel_editor/utilites/vox_mover.asm @@ -1306,14 +1306,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/media/voxel_editor/utilites/vox_tgl.asm b/programs/media/voxel_editor/utilites/vox_tgl.asm index 87998cf079..d057f0fae1 100644 --- a/programs/media/voxel_editor/utilites/vox_tgl.asm +++ b/programs/media/voxel_editor/utilites/vox_tgl.asm @@ -832,14 +832,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/media/zsea/data.inc b/programs/media/zsea/data.inc index bf58f60f8d..ca5963cc08 100644 --- a/programs/media/zsea/data.inc +++ b/programs/media/zsea/data.inc @@ -1 +1 @@ -;--------------------------------------------------------------------- ; DATA AREA ;--------------------------------------------------------------------- lsz labelt1,\ en, 'File',\ ru, 'Файл',\ de, 'Datei' db 0 ;--------------------------------------------------------------------- lsz labelt2,\ en, 'File info',\ ru, 'Информация о файле',\ de, 'Dateiinfo' db 0 lsz fitext,\ en, 'File name ',\ en, 'File size ',\ en, 'X size ',\ en, 'Y size ',\ en, 'Resolution ',\ en, 'Frames total ',\ \ ru, 'Имя файла ',\ ru, 'Размер файла ',\ ru, 'Ширина ',\ ru, 'Высота ',\ ru, 'Бит на пиксел ',\ ru, 'Всего кадров ',\ \ de, 'Datei Namen ',\ de, 'Fateigroesse ',\ de, 'X groesse ',\ de, 'Y groesse ',\ de, 'Die Tiefe ',\ de, 'Zahl Frames ' db 0 ;--------------------------------------------------------------------- Authors_text: .1: db 'zSea version: 1.00 RC5-1 Date: 03/12/2021',0 .2: db 'Authors:',0 .3: db 'Marat Zakiyanov aka Mario(Mario79)',0 .4: db 'zSea program, modules: cnv_bmp.obj,',0 .5: db 'cnv_png.obj, convert.obj, rotate.obj ',0 .6: db 'scaling.obj, box_lib.obj, OpenDialog',0 .7: db 'proc_lib.obj',0 .8: db 'Evgeny Grechnikov aka Diamond',0 .9: db 'modules: cnv_jpeg.obj, cnv_gif.obj,',0 .10: db 'archiver.obj, sort.obj ',0 .11: db 'Alexey Teplov aka ',0 .12: db 'modules: box_lib.obj, load_lib.mac',0 .13: db 'Mihail Semenyako aka Mike.dld',0 .14: db 'modules: libini.obj, libio.obj',0 ;--------------------------------------------------------------------- status dd 0 ;bit0=1 if file thread is created ;process dd 0 bWasDraw db 0 vflag: db 'x' bgrmode: dd 1 wnd_width dd 210 wnd_height dd 53 ;--------------------------------- lsz labelt3,\ en, 'About program',\ ru, 'О программе',\ de, 'Uber das programm' db 0 ;--------------------------------- lsz labelt4,\ en, 'Set wallpaper',\ ru, 'Установка фона',\ de, 'Installation hintergrund' db 0 ;--------------------------------- lsz labelt5,\ en, 'Select sorting mode',\ ru, 'Сортировка директории',\ de, 'Regimes der Sortierung' db 0 ;--------------------------------- lsz bgrdtext,\ en, 'Set as background:',\ ru, 'Тип обоев:',\ de, 'Als hintergrund' db 0 ;--------------------------------- lsz scc_text,\ en, 'Position:',\ ru, 'Позиция:',\ de, 'Position:' db 0 ;--------------------------------- lsz sorttext,\ en, 'Directory sorting mode:',\ ru, 'Режим сортировки директории:',\ de, 'Regime der Sortierung des Verzeichnisses:' db 0 ;--------------------------------- lsz errortext,\ en, 'File system error:',\ ru, 'Ошибка файловой системы:',\ de, 'Fehler files systemes:' db 0 ;--------------------------------- lsz optiontext,\ en, 'Options:',\ ru, 'Настройки:',\ de, 'Optionen:' db 0 ;--------------------------------- ;lsz tiled,\ ; en, 'Tiled',\ ; ru, 'Замостить',\ ; de, 'Gekachelt' ;lsz stretch,\ ; en, 'Stretch',\ ; ru, 'Растянуть',\ ; de, 'Gestreckt' ;--------------------------------- lsz color_btn,\ en, 'Background color:',\ ru, 'Цвет фона:',\ de, 'Hintergrundfarbe:' db 0 ;--------------------------------- lsz ok_btn,\ en, 'Ok',\ ru, 'Ok',\ de, 'Ok' db 0 ;--------------------------------- lsz slide_show_delay_title,\ en, 'Slide show delay:',\ ru, 'Задержка слайдшоу:',\ de, 'Verzug der schau:' db 0 ;--------------------------------- lsz arrows_offset_title,\ en, 'Arrows offset:',\ ru, 'Смещение стрелками:',\ de, 'Bewegung von den zeigern:' db 0 ;--------------------------------- slide_show_delay_text: db '+ -',0 ;--------------------------------------------------------------------- zoom_auto_factor: dd 0 zoom_auto_text: db 'auto',0 zoom_factors: dd zoom_factors.100 .1: dd 0 .min: dd 1 dd 2 dd 3 dd 4 dd 5 dd 7 dd 10 dd 17 dd 25 dd 37 dd 50 dd 62 dd 75 dd 87 .100: dd 100 dd 125 dd 150 dd 175 dd 200 dd 225 dd 250 dd 275 dd 300 dd 350 dd 400 dd 450 dd 500 dd 600 dd 700 dd 800 dd 900 dd 1000 dd 1100 dd 1200 dd 1300 dd 1400 dd 1500 dd 1750 dd 2000 dd 2250 dd 2500 dd 2750 dd 3000 dd 3500 dd 4000 dd 4500 .max: dd 5000 zoom_factors_old dd 0 ;--------------------------------------------------------------------- ; not change this section!!! ; start section ;--------------------------------------------------------------------- align 4 crop_image_file dd 0 ;+0 crop_raw_pointer dd 0 ;+4 crop_return_code dd 0 ;+8 crop_img_size dd 0 ;+12 crop_deflate_unpack dd 0 ;+16 crop_raw_pointer_2 dd 0 ;+20 ;--------------------------------------------------------------------- ; end section ;--------------------------------------------------------------------- ;--------------------------------------------------------------------- ; not change this section!!! ; start section ;--------------------------------------------------------------------- align 4 image_file dd 0 ;+0 raw_pointer dd 0 ;+4 return_code dd 0 ;+8 img_size dd 0 ;+12 deflate_unpack dd 0 ;+16 raw_pointer_2 dd 0 ;+20 ;--------------------------------------------------------------------- ; end section ;--------------------------------------------------------------------- test1 dd 0 ;+24 test2 dd 0 ;+28 test3 dd 0 ;+32 test4 dd 0 ;+36 test5 dd 0 ;+40 test6 dd 0 ;+44 test7 dd 0 ;+48 ;--------------------------------------------------------------------- align 4 soi dd 0 img_width dd 0 img_width_2 dd 0 img_high dd 0 img_high_2 dd 0 img_resolution dd 0 img_resolution_2 dd 0 img_palette dd 0 background_color dd 0xffffff skin_height dd 0 screen_high dd 0 screen_width dd 0 stretch_start_coordinates: .y dw 0 .x dw 0 screen_relation dd 0 picture_relation dd 0 stretch_img_high dd 0 stretch_img_width dd 0 RAW1_pointer dd 0 RAW1_size_x dd 0 RAW1_size dd 0 Repeat_N dd 0 Total_Repeat_N dd 1 previous_frame_pointer dd 0 Animation_timer dd 0 Frame_delay dw 0 Transp_flag db 0 Transp_index db 0 Disposal_Method db 0 RAW1_flag db 0 no_fill db 0 redraw_wallpaper_flag db 0 calc_next_value_plus db 0 calc_next_value_minus db 0 ;--------------------------------------------------------------------- align 4 ;plugin dd 0 ;plugin_1 dd 0 ;plugin_2 dd 0 ;plugin_3 dd 0 ;plugin_validate dd 0 ;plugin_validate_1 dd 0 ;plugin_validate_2 dd 0 ;plugin_validate_3 dd 0 ;plugin_format dd 0 ;plugin_format_1 dd 0 ;plugin_format_2 dd 0 ;plugin_format_3 dd 0 ;plugin_convert dd 0 ;plugin_convert_background dd 0 ;plugin_sort dd 0 ;plugin_rotate dd 0 ;plugin_scaling dd 0 slide_show_delay dd 500 ; cost of 0,01 sec. slide_show_delay_old dd 0 sort_type dd 2 sort_type_old dd 0 ;--------------------------------------------------------------------- expansion_length dd 0 expansion_start dd 0 timer dd 0 ;--------------------------------------------------------------------- mouse_scroll_data: .vertical dw 0 .horizontal dw 0 mouse_position: .y dw 0 .x dw 0 mouse_position_old: .y dw 0 .x dw 0 mouse_keys dd 0 mouse_keys_old dd 0 arrows_offset dd 10 arrows_offset_old dd 10 option_pointer dd 0 plus_pointer dd 0 minus_pointer dd 0 space_pointer dd 0 ;--------------------------------------------------------------------- pos: dd 6 work_area_LR_old dd 0 work_area_TB_old dd 0 scaling_mode dd 100 scaling_mode_old dd 100 window_start_x_old dd 0 window_start_y_old dd 0 window_high_old dd 0 window_width_old dd 0 window_start_x dd 0 window_start_y dd 0 window_high dd 0 window_width dd 0 ;skin_high dd 0 window_status dd 0 draw_SB db 0 draw_SB1 db 0 correct_w db 0 correct_h db 0 wa_width dw 0 wa_high dw 0 wa_width_1 dw 0 wa_width_2 dw 0 wa_high_1 dw 0 wa_high_2 dw 0 image_start_coordinates dd 0 image_draw_size: .y: dw 0 .x: dw 0 vertical_position_coorect dd 0 horizontal_position_coorect dd 0 fill_color dd 0xffffff fill_color_old dd 0xffffff position_coorect db 0 open_file_flag db 0 sort_directory_flag db 0 redraw_flag db 0 press_Enter_flag db 0 capture_image_area_flag db 0 correct_scrollbar_100_flag db 0 ;--------------------------------------------------------------------- ;test_area: ;dd test_area.end - test_area ;db 'BMP',0 ;.end: ;db 0,0,0,0,0,0,0,0,0,0,0,0,0 ;--------------------------------------------------------------------- aApplicationsPaths db 'ApplicationsPaths',0 aOther db 'Other',0 aHelp db 'Help',0 aEditor db 'Editor',0 aOpenDialog db 'OpenDialog',0 akey_help db 'HelpFile',0 aConvertPlugins db 'ConvertPlugins',0 ConvertPlugins_no_key db 'NoKey',0 aCP0 db 'CP0',0 aCP1 db 'CP1',0 aCP2 db 'CP2',0 aCP3 db 'CP3',0 aCP4 db 'CP4',0 aCP5 db 'CP5',0 aCP6 db 'CP6',0 aCP7 db 'CP7',0 aCP8 db 'CP8',0 aCP9 db 'CP9',0 ;--------------------------------------------------------------------- plugin_BMP_name db 'cnv_bmp.obj',0 plugin_PNG_name db 'cnv_png.obj',0 plugin_JPEG_name db 'cnv_jpeg.obj',0 plugin_GIF_name db 'cnv_gif.obj',0 ;plugin_convert_name db 'convert.obj',0 ;plugin_sort_name db 'sort.obj',0 ;plugin_rotate_name db 'rotate.obj',0 ;plugin_scaling_name db 'scaling.obj',0 ;plugin_UNPACK_name db 'archiver.obj',0 ;boxlib_name db 'box_lib.obj',0 ;Libini_name db 'libini.obj',0 plugins_directory db 'plugins/',0 ini_file_name db 'zsea.ini',0 button_name db 'buttons.png',0 ;buttons_passive_name db '1.png',0 ;buttons_active_name db '2.png',0 ;buttons_click_name db '3.png',0 buttons_directory db 'buttons/',0 ;UNPACK_function_name db 'deflate_unpack',0 ;UNPACK_function_name_end: ;UNPACK_function_name db 'deflate_unpack2',0 ;UNPACK_function_name_end: system_dir_Boxlib db '/sys/lib/box_lib.obj',0 system_dir_Libini db '/sys/lib/libini.obj',0 system_dir_Sort db '/sys/lib/sort.obj',0 system_dir_UNPACK db '/sys/lib/archiver.obj',0 system_dir_Convert db '/sys/lib/convert.obj',0 system_dir_Rotate db '/sys/lib/rotate.obj',0 system_dir_Scaling db '/sys/lib/scaling.obj',0 system_dir_ProcLib db '/sys/lib/proc_lib.obj',0 ;--------------------------------------------------------------------- l_libs_start: library01 l_libs system_dir_Boxlib+9, library_path, system_dir_Boxlib, \ Box_lib_import, plugins_directory library02 l_libs system_dir_Libini+9, library_path, system_dir_Libini, \ Libini_import, plugins_directory library03 l_libs system_dir_Sort+9, library_path, system_dir_Sort, \ Sort_import, plugins_directory library04 l_libs system_dir_UNPACK+9, library_path, system_dir_UNPACK, \ UNPACK_import, plugins_directory library05 l_libs system_dir_Convert+9, library_path, system_dir_Convert, \ Convert_import, plugins_directory library06 l_libs system_dir_Rotate+9, library_path, system_dir_Rotate, \ Rotate_import, plugins_directory library07 l_libs system_dir_Scaling+9, library_path, system_dir_Scaling, \ Scaling_import, plugins_directory library08 l_libs system_dir_ProcLib+9, library_path, system_dir_ProcLib, \ ProcLib_import, plugins_directory end_l_libs: ;--------------------------------------------------------------------- align 4 cnv_plugin_name_pointer dd plugin_0_name cnv_plugin_import_pointer dd Convert_plugin_0 system_path db '/sys/lib/' .1: rb 128 ;--------------------------------------------------------------------- Convert_plugin_0: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_1: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_2: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_3: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_4: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_5: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_6: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_7: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_8: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_9: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 aCP_Start db 'START',0 aCP_Version db 'version',0 aCP_Check db 'Check_Header',0 aCP_Assoc db 'Associations',0 ;--------------------------------------------------------------------- file_mount: db 'File N: Amount: Zoom:',0 .end: current_key_code db 0 old_key_code db 0 ;--------------------------------------------------------------------- ; Tokens ;--------------------------------------------------------------------- aSortMode db 'SortMode',0 aSlideShowDelay db 'SlideShowDelay',0 aArrowsOffset db 'ArrowsOffset',0 aShowFileName db 'ShowFileName',0 aFilteringFlag db 'FilteringFlag',0 ;--------------------------------------------------------------------- ;Sections ;--------------------------------------------------------------------- aVariables db 'Variables',0 ;aVar db 'Var',0 ;aTemp db 'Temp',0 ;--------------------------------------------------------------------- align 4 ProcLib_import: OpenDialog_Init dd aOpenDialog_Init OpenDialog_Start dd aOpenDialog_Start ColorDialog_Init dd aColorDialog_Init ColorDialog_Start dd aColorDialog_Start ;OpenDialog__Version dd aOpenDialog_Version dd 0 dd 0 aOpenDialog_Init db 'OpenDialog_init',0 aOpenDialog_Start db 'OpenDialog_start',0 aColorDialog_Init db 'ColorDialog_init',0 aColorDialog_Start db 'ColorDialog_start',0 ;aOpenDialog_Version db 'Version_OpenDialog',0 ;--------------------------------------------------------------------- align 4 Scaling_import: Scaling_Start dd aScaling_Start Scaling_Version dd aScaling_Version dd 0 dd 0 aScaling_Start db 'START',0 aScaling_Version db 'version',0 ;--------------------------------------------------------------------- align 4 Rotate_import: rotate_Start dd aRotate_Start rotate_Version dd aRotate_Version dd 0 dd 0 aRotate_Start db 'START',0 aRotate_Version db 'version',0 ;--------------------------------------------------------------------- align 4 Convert_import: convert_Start dd aConvert_Start convert_Version dd aConvert_Version convert_Conv_24b dd aConvert_Conv_24b dd 0 dd 0 aConvert_Start db 'START',0 aConvert_Version db 'version',0 aConvert_Conv_24b db 'Convert24b',0 ;--------------------------------------------------------------------- align 4 UNPACK_import: ;unpack_Version dd aUnpack_Version ;unpack_PluginLoad dd aUnpack_PluginLoad ;unpack_OpenFilePlugin dd aUnpack_OpenFilePlugin ;unpack_ClosePlugin dd aUnpack_ClosePlugin ;unpack_ReadFolder dd aUnpack_ReadFolder ;unpack_SetFolder dd aUnpack_SetFolder ;unpack_GetFiles dd aUnpack_GetFiles ;unpack_GetOpenPluginInfo dd aUnpack_GetOpenPluginInfo ;unpack_Getattr dd aUnpack_Getattr ;unpack_Open dd aUnpack_Open ;unpack_Read dd aUnpack_Read ;unpack_Setpos dd aUnpack_Setpos ;unpack_Close dd aUnpack_Close ;unpack_DeflateUnpack dd aUnpack_DeflateUnpack unpack_DeflateUnpack2 dd aUnpack_DeflateUnpack2 dd 0 dd 0 ;aUnpack_Version db 'version',0 ;aUnpack_PluginLoad db 'plugin_load',0 ;aUnpack_OpenFilePlugin db 'OpenFilePlugin',0 ;aUnpack_ClosePlugin db 'ClosePlugin',0 ;aUnpack_ReadFolder db 'ReadFolder',0 ;aUnpack_SetFolder db 'SetFolder',0 ;aUnpack_GetFiles db 'GetFiles',0 ;aUnpack_GetOpenPluginInfo db 'GetOpenPluginInfo',0 ;aUnpack_Getattr db 'getattr',0 ;aUnpack_Open db 'open',0 ;aUnpack_Read db 'read',0 ;aUnpack_Setpos db 'setpos',0 ;aUnpack_Close db 'close',0 ;aUnpack_DeflateUnpack db 'deflate_unpack',0 aUnpack_DeflateUnpack2 db 'deflate_unpack2',0 ;--------------------------------------------------------------------- align 4 Sort_import: sort_init dd aSort_init sort_version dd aSort_version sort_dir dd aSort_SortDir sort_strcmpi dd aSort_strcmpi dd 0 dd 0 aSort_init db 'START',0 aSort_version db 'version',0 aSort_SortDir db 'SortDir',0 aSort_strcmpi db 'strcmpi',0 ;--------------------------------------------------------------------- align 4 Libini_import: lib_init dd aLib_init version_lib_ini dd aVersion_lib_ini ini_enum_sections dd aIni_enum_sections ini_enum_keys dd aIni_enum_keys ini_get_str dd aIni_get_str ini_get_int dd aIni_get_int ini_get_color dd aIni_get_color ini_set_str dd aIni_set_str ini_set_int dd aIni_set_int ini_set_color dd aIni_set_color dd 0 dd 0 aLib_init db 'lib_init',0 aVersion_lib_ini db 'version',0 aIni_enum_sections db 'ini_enum_sections',0 aIni_enum_keys db 'ini_enum_keys',0 aIni_get_str db 'ini_get_str',0 aIni_get_int db 'ini_get_int',0 aIni_get_color db 'ini_get_color',0 aIni_set_str db 'ini_set_str',0 aIni_set_int db 'ini_set_int',0 aIni_set_color db 'ini_set_color',0 ;--------------------------------------------------------------------- align 4 Box_lib_import: ;init_lib dd a_init ;version_lib dd a_version edit_box_draw dd aEdit_box_draw edit_box_key dd aEdit_box_key edit_box_mouse dd aEdit_box_mouse ;version_ed dd aVersion_ed init_checkbox dd aInit_checkbox check_box_draw dd aCheck_box_draw check_box_mouse dd aCheck_box_mouse ;version_ch dd aVersion_ch option_box_draw dd aOption_box_draw option_box_mouse dd aOption_box_mouse ;version_op dd aVersion_op scrollbar_ver_draw dd aScrollbar_ver_draw scrollbar_ver_mouse dd aScrollbar_ver_mouse scrollbar_hor_draw dd aScrollbar_hor_draw scrollbar_hor_mouse dd aScrollbar_hor_mouse ;version_scrollbar dd aVersion_scrollbar dinamic_button_draw dd aDbutton_draw dinamic_button_mouse dd aDbutton_mouse ;version_dbutton dd aVersion_dbutton menu_bar_draw dd aMenu_bar_draw menu_bar_mouse dd aMenu_bar_mouse menu_bar_activate dd aMenu_bar_activate ;version_menu_bar dd aVersion_menu_bar ;FileBrowser_draw dd aFileBrowser_draw ;FileBrowser_mouse dd aFileBrowser_mouse ;FileBrowser_key dd aFileBrowser_key ;Version_FileBrowser dd aVersion_FileBrowser dd 0 dd 0 ;a_init db 'lib_init',0 ;a_version db 'version',0 aEdit_box_draw db 'edit_box_draw',0 aEdit_box_key db 'edit_box_key',0 aEdit_box_mouse db 'edit_box_mouse',0 ;aVersion_ed db 'version_ed',0 aInit_checkbox db 'init_checkbox2',0 aCheck_box_draw db 'check_box_draw2',0 aCheck_box_mouse db 'check_box_mouse2',0 ;aVersion_ch db 'version_ch2',0 aOption_box_draw db 'option_box_draw',0 aOption_box_mouse db 'option_box_mouse',0 ;aVersion_op db 'version_op',0 aScrollbar_ver_draw db 'scrollbar_v_draw',0 aScrollbar_ver_mouse db 'scrollbar_v_mouse',0 aScrollbar_hor_draw db 'scrollbar_h_draw',0 aScrollbar_hor_mouse db 'scrollbar_h_mouse',0 ;aVersion_scrollbar db 'version_scrollbar',0 aDbutton_draw db 'dbutton_draw',0 aDbutton_mouse db 'dbutton_mouse',0 ;aVersion_dbutton db 'version_dbutton',0 aMenu_bar_draw db 'menu_bar_draw',0 aMenu_bar_mouse db 'menu_bar_mouse',0 aMenu_bar_activate db 'menu_bar_activate',0 ;aVersion_menu_bar db 'version_menu_bar',0 ;aFileBrowser_draw db 'FileBrowser_draw',0 ;aFileBrowser_mouse db 'FileBrowser_mouse',0 ;aFileBrowser_key db 'FileBrowser_key',0 ;aVersion_FileBrowser db 'version_FileBrowser',0 ;--------------------------------------------------------------------- align 4 load_directory_pointer dd 0 file_name_length dd 0 load_file_number dd 0 error_fs dd 0 error_pointer dd 0 ;error_locate dd 0 error_window_x: dd 100 shl 16 + 300 error_window_y: dd 100 shl 16 + 100 PID dd 0 PID1 dd 0 PID2 dd 0 PID3 dd 0 PID4 dd 0 PID5 dd 0 PID6 dd 0 PID7 dd 0 active_process dd 0 timer_counter dd 0 draw_scrollbar_counter dd 0 ;--------------------------------------------------------------------- align 4 error_fs_text_pointers: dd error_fs_text_0 dd error_fs_text_1 dd error_fs_text_2 dd error_fs_text_3 dd error_fs_text_4 dd error_fs_text_5 dd error_fs_text_6 dd error_fs_text_7 dd error_fs_text_8 dd error_fs_text_9 dd error_fs_text_10 dd error_fs_text_11 error_fs_text_0: db 'Success full',0 error_fs_text_1: db 'Base and/or partition of a hard disk is not defined',0 error_fs_text_2: db 'Function is not supported for the given file system',0 error_fs_text_3: db 'Unknown file system',0 error_fs_text_4: db 'Reserved, is never returned in the current implementation',0 error_fs_text_5: db 'File not found',0 error_fs_text_6: db 'End of file, EOF',0 error_fs_text_7: db 'Pointer lies outside of application memory',0 error_fs_text_8: db 'Disk is full',0 error_fs_text_9: db 'FAT table is destroyed',0 error_fs_text_10: db 'Access denied',0 error_fs_text_11: db 'Device error',0 ;--------------------------------------------------------------------- error_type: db 'File system error',0 ;--------------------------------------------------------------------- error_not_supported_file: db 'Unsupported file or corrupt data',0 ;--------------------------------------------------------------------- error_not_enough_memory: db 'Not_enough_memory',0 ;--------------------------------------------------------------------- error_unknown: db 'Unknown error',0 ;--------------------------------------------------------------------- extended_key db 0 no_draw_window db 0 shift_flag db 0 ctrl_flag db 0 alt_flag db 0 ;--------------------------------------------------------------------- ; for EDITBOX align 4 name_editboxes: edit1 edit_box 200,10,30,0xffffff,0xbbddff,0,0,0,255,string,mouse_dd,ed_focus+ed_always_focus,0 name_editboxes_end: ;mouse_flag: dd 0x0 mouse_dd rd 1 ;--------------------------------------------------------------------- align 4 ; option_boxes_bcgr: op1 option_box option_group1,60,45,6,12,0xFFFFFF,0,0xffffff,op_text.1,op_text.e1-op_text.1 op2 option_box option_group1,60,60,6,12,0xFFFFFF,0,0xffffff,op_text.2,op_text.e2-op_text.2 op3 option_box option_group1,60,75,6,12,0xFFFFFF,0,0xffffff,op_text.3,op_text.e3-op_text.3 op4 option_box option_group1,60,90,6,12,0xFFFFFF,0,0xffffff,op_text.4,op_text.e4-op_text.4 ;option_boxes_bcgr_end: op_text: .1 db 'Tiled' .e1: .2 db 'Stretch' .e2: .3 db 'Stretch + Crop' .e3: .4 db 'Stretch + Inscribe' .e4: option_group1 dd op1 option_boxes_bcgr: dd op1,op2,op3,op4,0 ;--------------------------------------------------------------------- align 4 op_UL option_box option_group3,200,40,20,20,0xFFFFFF,0,0xffffff,0,0 op_UC option_box option_group3,223,40,20,20,0xFFFFFF,0,0xffffff,0,0 op_UR option_box option_group3,246,40,20,20,0xFFFFFF,0,0xffffff,0,0 op_CL option_box option_group3,200,63,20,20,0xFFFFFF,0,0xffffff,0,0 op_CC option_box option_group3,223,63,20,20,0xFFFFFF,0,0xffffff,0,0 op_CR option_box option_group3,246,63,20,20,0xFFFFFF,0,0xffffff,0,0 op_DL option_box option_group3,200,86,20,20,0xFFFFFF,0,0xffffff,0,0 op_DC option_box option_group3,223,86,20,20,0xFFFFFF,0,0xffffff,0,0 op_DR option_box option_group3,246,86,20,20,0xFFFFFF,0,0xffffff,0,0 ;option_boxes_bcgr_end: option_group3 dd op_CC Stretch_Crop_Corner dd 1 shl 16+1 option_boxes_SCC: dd op_UL,op_UC,op_UR,op_CL,op_CC,op_CR,op_DL,op_DC,op_DR,0 bcgr_group_pointer db 0 ;--------------------------------------------------------------------- align 4 ;option_boxes_sort: sort0 option_box option_group2,60,40,6,12,0xFFFFFF,0,0xffffff,op_text_1.1,op_text_1.e1-op_text_1.1 sort2 option_box option_group2,60,55,6,12,0xFFFFFF,0,0xffffff,op_text_1.2,op_text_1.e2-op_text_1.2 sort4 option_box option_group2,60,70,6,12,0xFFFFFF,0,0xffffff,op_text_1.3,op_text_1.e3-op_text_1.3 sort6 option_box option_group2,60,85,6,12,0xFFFFFF,0,0xffffff,op_text_1.4,op_text_1.e4-op_text_1.4 option_boxes_sort_end: op_text_1: .1 db 'Name' .e1: .2 db 'Type' .e2: .3 db 'Date' .e3: .4 db 'Size' .e4: option_group2 dd sort2 option_group2_old dd 0 option_boxes_sort dd sort0, sort2, sort4, sort6,0 ;--------------------------------------------------------------------- check1 check_box2 (140 shl 16)+12,(50 shl 16)+12,6,0xFFFFFF,0,0xffffff,check_text1,ch_flag_middle ;ch_flag_en check_text1 db 'Show file name',0 show_file_name_old dd 0 ;--------------------------------------------------------------------- check2 check_box2 (140 shl 16)+12,(70 shl 16)+12,6,0xFFFFFF,0,0xffffff,check_text2,ch_flag_middle ;ch_flag_en check_text2 db 'Bilinear filtering',0 filtering_flag dd 0 filtering_flag_old dd 0 ;--------------------------------------------------------------------- align 4 scroll_bar_data_vertical: .x: .size_x dw 15 ;+0 .start_x dw 500 ;+2 .y: .size_y dw 300 ;+4 .start_y dw 30 ;+6 .btn_high dd 15 ;+8 .type dd 2 ;+12 .max_area dd 10 ;+16 .cur_area dd 2 ;+20 .position dd 0 ;+24 .bckg_col dd 0xeeeeee ;+28 .frnt_col dd 0x8aeaa0 ;0xbbddff ;+32 .line_col dd 0 ;+36 .redraw dd 0 ;+40 .delta dw 0 ;+44 .delta2 dw 0 ;+46 .run_x: .r_size_x dw 0 ;+48 .r_start_x dw 0 ;+50 .run_y: .r_size_y dw 0 ;+52 .r_start_y dw 0 ;+54 .m_pos dd 0 ;+56 .m_pos_2 dd 0 ;+60 .m_keys dd 0 ;+64 .run_size dd 0 ;+68 .position2 dd 0 ;+72 .work_size dd 0 ;+76 .all_redraw dd 0 ;+80 .ar_offset dd 10 ;+84 ;--------------------------------------------------------------------- align 4 scroll_bar_data_horizontal: .x: .size_x dw 300 ;0 ;+0 .start_x dw 10 ;0 ;+2 .y: .size_y dw 15 ;0 ;+4 .start_y dw 300 ;0 ;+6 .btn_high dd 15 ;+8 .type dd 2 ;+12 .max_area dd 10 ;+16 .cur_area dd 2 ;+20 .position dd 0 ;+24 .bckg_col dd 0xeeeeee ;+28 .frnt_col dd 0x8aeaa0 ;0xbbddff ;+32 .line_col dd 0 ;+36 .redraw dd 0 ;+40 .delta dw 0 ;+44 .delta2 dw 0 ;+46 .run_x: .r_size_x dw 0 ;+48 .r_start_x dw 0 ;+50 .run_y: .r_size_y dw 0 ;+52 .r_start_y dw 0 ;+54 .m_pos dd 0 ;+56 .m_pos_2 dd 0 ;+60 .m_keys dd 0 ;+64 .run_size dd 0 ;+68 .position2 dd 0 ;+72 .work_size dd 0 ;+76 .all_redraw dd 0 ;+80 .ar_offset dd 10 ;+84 ;--------------------------------------------------------------------- align 4 menu_data_1: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 5 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_1 ;0 ;+12 .pos_pointer: dd menu_text_area_1.1 ;0 ;+16 .text_end dd menu_text_area_1.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 70 ;+32 .start_x1 dw 5 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_1: db 'File',0 .1: db 'Open',0 db 'Properties',0 db 'Exit',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_2: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 40 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_2 ;0 ;+12 .pos_pointer: dd menu_text_area_2.1 ;0 ;+16 .text_end dd menu_text_area_2.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 90 ;+32 .start_x1 dw 40 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_2: db 'Edit',0 .1: db 'Rotate Clock.',0 db 'Rotate CClock.',0 db 'Invert L to R',0 db 'Invert U to D',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_3: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 75 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_3 ;0 ;+12 .pos_pointer: dd menu_text_area_3.1 ;0 ;+16 .text_end dd menu_text_area_3.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 90 ;+32 .start_x1 dw 75 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_3: db 'View',0 .1: db 'Sort Directory',0 db 'Full Screen',0 db 'Reload',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_4: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 110 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_4 ;0 ;+12 .pos_pointer: dd menu_text_area_4.1 ;0 ;+16 .text_end dd menu_text_area_4.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 40 ;+32 .start_x1 dw 110 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_4: db 'Zoom',0 .1: db 'Normal',0 db 'More',0 db 'Less',0 db 'Auto',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_5: .type: dd 0 ;+0 .x: .size_x dw 40 ;+4 .start_x dw 145 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_5 ;0 ;+12 .pos_pointer: dd menu_text_area_5.1 ;0 ;+16 .text_end dd menu_text_area_5.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 80 ;+32 .start_x1 dw 145 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_5: db 'Tools',0 .1: db 'Image Editor',0 db 'Wallpaper',0 db 'Slide Show',0 db 'Options',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_6: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 185 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_6 ;0 ;+12 .pos_pointer: dd menu_text_area_6.1 ;0 ;+16 .text_end dd menu_text_area_6.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 50 ;+32 .start_x1 dw 185 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_6: db 'Help',0 .1: db 'Help',0 db 'About',0 .end: db 0 ;--------------------------------------------------------------------- align 4 dinamic_button_data_1: ; open file .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 230 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_2: ; reload file .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 255 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_3: ; left limit .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 285 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_4: ; left arrow .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 310 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_5: ; slide show .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 335 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_6: ; right arrow .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 360 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_7: ; right limit .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 385 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_8: ; zoom + .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 415 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_9: ; zoom - .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 440 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_10: ; zoom 100% .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 465 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_11: ; rotate clockwise .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 495 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_12: ; rotate counter-clockwise .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 520 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_13: ; file information .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 550 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_14: ; wallpaper .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 575 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_15: ; settings .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 600 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dirinfo: .subfunction dd 1 .start dd 0 .flags dd 0 .size dd 0 .return dd procinfo db 0 .name: dd plugin_pach ;--------------------------------------------------------------------- align 4 fileinfo: .subfunction dd 5 .Offset dd 0 .Offset_1 dd 0 .size dd 0 .return dd process_info db 0 .name: dd string ;--------------------------------------------------------------------- align 4 start_appl: .subfunction dd 7 .flags dd 0 .parameter dd library_path .reserved1 dd 0 .reserved2 dd 0 db 0 .name: dd Help_path ;--------------------------------------------------------------------- align 4 dir_header: .version dd 0 ;+0 .curn_blocks dd 0 ;+4 .totl_blocks dd 0 ;+8 .other rb 20 ;--------------------------------------------------------------------- OpenDialog_data: .type dd 0 .procinfo dd procinfo ;+4 .com_area_name dd communication_area_name ;+8 .com_area dd 0 ;+12 .opendir_pach dd plugin_pach ;+16 .dir_default_pach dd communication_area_default_pach ;+20 .start_path dd library_path ;+24 .draw_window dd draw_window ;+28 .status dd 0 ;+32 .openfile_pach dd string ;+36 .filename_area dd 0 ;+40 .filter_area dd Filter .x: .x_size dw 420 ;+48 ; Window X size .x_start dw 10 ;+50 ; Window X position .y: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_pach: db '/rd/1',0 ;communication_area dd 0 ;--------------------------------------------------------------------- ColorDialog_data: .type dd 0 .procinfo dd procinfo ;+4 .com_area_name dd cd_communication_area_name ;+8 .com_area dd 0 ;+12 .start_path dd colordialog_path ;+16 .draw_window dd thread4.draw_window ;+20 .status dd 0 ;+24 .x: .x_size dw 510 ;+28 ; Window X size .x_start dw 10 ;+30 ; Window X position .y: .y_size dw 310 ;+32 ; Window y size .y_start dw 10 ;+34 ; Window Y position .color_type dd 0 ;+36 ; 0- RGB, 1 or other - reserved .color dd 0 ;+40 ; Selected color cd_communication_area_name: db 'FFFFFFFF_color_dialog',0 colordialog_path: db '/rd/1/colrdial',0 ;--------------------------------------------------------------------- ; clear bacground thread clear_thread_stack: dd 0 ;---------------------- ; window option thread_stack_7: dd 0 ;---------------------- ; window error message thread_stack_6: dd 0 ;---------------------- ; window set sort mode thread_stack_5: dd 0 ;---------------------- ; window background thread_stack_4: dd 0 ;---------------------- ; window about thread_stack_3: dd 0 ;---------------------- ; file info thread_stack_2: dd 0 ;---------------------- ; file open thread_stack: dd 0 ;--------------------------------------------------------------------- ;size_before_open_dir: ; dd 0 ;size_before_open_file: ; dd 0 ;size_after_open_file: ; dd 0 ;size_after_convert: ; dd 0 ;size_after_convert_2: ; dd 0 ;size_before_draw_image: ; dd 0 ;size_after_draw_image: ; dd 0 ;size_before_scaling: ; dd 0 ;size_after_scaling: ; dd 0 \ No newline at end of file +;--------------------------------------------------------------------- ; DATA AREA ;--------------------------------------------------------------------- lsz labelt1,\ en, 'File',\ ru, 'Файл',\ de, 'Datei' db 0 ;--------------------------------------------------------------------- lsz labelt2,\ en, 'File info',\ ru, 'Информация о файле',\ de, 'Dateiinfo' db 0 lsz fitext,\ en, 'File name ',\ en, 'File size ',\ en, 'X size ',\ en, 'Y size ',\ en, 'Resolution ',\ en, 'Frames total ',\ \ ru, 'Имя файла ',\ ru, 'Размер файла ',\ ru, 'Ширина ',\ ru, 'Высота ',\ ru, 'Бит на пиксел ',\ ru, 'Всего кадров ',\ \ de, 'Datei Namen ',\ de, 'Fateigroesse ',\ de, 'X groesse ',\ de, 'Y groesse ',\ de, 'Die Tiefe ',\ de, 'Zahl Frames ' db 0 ;--------------------------------------------------------------------- Authors_text: .1: db 'zSea version: 1.00 RC5-1 Date: 03/12/2021',0 .2: db 'Authors:',0 .3: db 'Marat Zakiyanov aka Mario(Mario79)',0 .4: db 'zSea program, modules: cnv_bmp.obj,',0 .5: db 'cnv_png.obj, convert.obj, rotate.obj ',0 .6: db 'scaling.obj, box_lib.obj, OpenDialog',0 .7: db 'proc_lib.obj',0 .8: db 'Evgeny Grechnikov aka Diamond',0 .9: db 'modules: cnv_jpeg.obj, cnv_gif.obj,',0 .10: db 'archiver.obj, sort.obj ',0 .11: db 'Alexey Teplov aka ',0 .12: db 'modules: box_lib.obj, load_lib.mac',0 .13: db 'Mihail Semenyako aka Mike.dld',0 .14: db 'modules: libini.obj, libio.obj',0 ;--------------------------------------------------------------------- status dd 0 ;bit0=1 if file thread is created ;process dd 0 bWasDraw db 0 vflag: db 'x' bgrmode: dd 1 wnd_width dd 210 wnd_height dd 53 ;--------------------------------- lsz labelt3,\ en, 'About program',\ ru, 'О программе',\ de, 'Uber das programm' db 0 ;--------------------------------- lsz labelt4,\ en, 'Set wallpaper',\ ru, 'Установка фона',\ de, 'Installation hintergrund' db 0 ;--------------------------------- lsz labelt5,\ en, 'Select sorting mode',\ ru, 'Сортировка директории',\ de, 'Regimes der Sortierung' db 0 ;--------------------------------- lsz bgrdtext,\ en, 'Set as background:',\ ru, 'Тип обоев:',\ de, 'Als hintergrund' db 0 ;--------------------------------- lsz scc_text,\ en, 'Position:',\ ru, 'Позиция:',\ de, 'Position:' db 0 ;--------------------------------- lsz sorttext,\ en, 'Directory sorting mode:',\ ru, 'Режим сортировки директории:',\ de, 'Regime der Sortierung des Verzeichnisses:' db 0 ;--------------------------------- lsz errortext,\ en, 'File system error:',\ ru, 'Ошибка файловой системы:',\ de, 'Fehler files systemes:' db 0 ;--------------------------------- lsz optiontext,\ en, 'Options:',\ ru, 'Настройки:',\ de, 'Optionen:' db 0 ;--------------------------------- ;lsz tiled,\ ; en, 'Tiled',\ ; ru, 'Замостить',\ ; de, 'Gekachelt' ;lsz stretch,\ ; en, 'Stretch',\ ; ru, 'Растянуть',\ ; de, 'Gestreckt' ;--------------------------------- lsz color_btn,\ en, 'Background color:',\ ru, 'Цвет фона:',\ de, 'Hintergrundfarbe:' db 0 ;--------------------------------- lsz ok_btn,\ en, 'Ok',\ ru, 'Ok',\ de, 'Ok' db 0 ;--------------------------------- lsz slide_show_delay_title,\ en, 'Slide show delay:',\ ru, 'Задержка слайдшоу:',\ de, 'Verzug der schau:' db 0 ;--------------------------------- lsz arrows_offset_title,\ en, 'Arrows offset:',\ ru, 'Смещение стрелками:',\ de, 'Bewegung von den zeigern:' db 0 ;--------------------------------- slide_show_delay_text: db '+ -',0 ;--------------------------------------------------------------------- zoom_auto_factor: dd 0 zoom_auto_text: db 'auto',0 zoom_factors: dd zoom_factors.100 .1: dd 0 .min: dd 1 dd 2 dd 3 dd 4 dd 5 dd 7 dd 10 dd 17 dd 25 dd 37 dd 50 dd 62 dd 75 dd 87 .100: dd 100 dd 125 dd 150 dd 175 dd 200 dd 225 dd 250 dd 275 dd 300 dd 350 dd 400 dd 450 dd 500 dd 600 dd 700 dd 800 dd 900 dd 1000 dd 1100 dd 1200 dd 1300 dd 1400 dd 1500 dd 1750 dd 2000 dd 2250 dd 2500 dd 2750 dd 3000 dd 3500 dd 4000 dd 4500 .max: dd 5000 zoom_factors_old dd 0 ;--------------------------------------------------------------------- ; not change this section!!! ; start section ;--------------------------------------------------------------------- align 4 crop_image_file dd 0 ;+0 crop_raw_pointer dd 0 ;+4 crop_return_code dd 0 ;+8 crop_img_size dd 0 ;+12 crop_deflate_unpack dd 0 ;+16 crop_raw_pointer_2 dd 0 ;+20 ;--------------------------------------------------------------------- ; end section ;--------------------------------------------------------------------- ;--------------------------------------------------------------------- ; not change this section!!! ; start section ;--------------------------------------------------------------------- align 4 image_file dd 0 ;+0 raw_pointer dd 0 ;+4 return_code dd 0 ;+8 img_size dd 0 ;+12 deflate_unpack dd 0 ;+16 raw_pointer_2 dd 0 ;+20 ;--------------------------------------------------------------------- ; end section ;--------------------------------------------------------------------- test1 dd 0 ;+24 test2 dd 0 ;+28 test3 dd 0 ;+32 test4 dd 0 ;+36 test5 dd 0 ;+40 test6 dd 0 ;+44 test7 dd 0 ;+48 ;--------------------------------------------------------------------- align 4 soi dd 0 img_width dd 0 img_width_2 dd 0 img_high dd 0 img_high_2 dd 0 img_resolution dd 0 img_resolution_2 dd 0 img_palette dd 0 background_color dd 0xffffff skin_height dd 0 screen_high dd 0 screen_width dd 0 stretch_start_coordinates: .y dw 0 .x dw 0 screen_relation dd 0 picture_relation dd 0 stretch_img_high dd 0 stretch_img_width dd 0 RAW1_pointer dd 0 RAW1_size_x dd 0 RAW1_size dd 0 Repeat_N dd 0 Total_Repeat_N dd 1 previous_frame_pointer dd 0 Animation_timer dd 0 Frame_delay dw 0 Transp_flag db 0 Transp_index db 0 Disposal_Method db 0 RAW1_flag db 0 no_fill db 0 redraw_wallpaper_flag db 0 calc_next_value_plus db 0 calc_next_value_minus db 0 ;--------------------------------------------------------------------- align 4 ;plugin dd 0 ;plugin_1 dd 0 ;plugin_2 dd 0 ;plugin_3 dd 0 ;plugin_validate dd 0 ;plugin_validate_1 dd 0 ;plugin_validate_2 dd 0 ;plugin_validate_3 dd 0 ;plugin_format dd 0 ;plugin_format_1 dd 0 ;plugin_format_2 dd 0 ;plugin_format_3 dd 0 ;plugin_convert dd 0 ;plugin_convert_background dd 0 ;plugin_sort dd 0 ;plugin_rotate dd 0 ;plugin_scaling dd 0 slide_show_delay dd 500 ; cost of 0,01 sec. slide_show_delay_old dd 0 sort_type dd 2 sort_type_old dd 0 ;--------------------------------------------------------------------- expansion_length dd 0 expansion_start dd 0 timer dd 0 ;--------------------------------------------------------------------- mouse_scroll_data: .vertical dw 0 .horizontal dw 0 mouse_position: .y dw 0 .x dw 0 mouse_position_old: .y dw 0 .x dw 0 mouse_keys dd 0 mouse_keys_old dd 0 arrows_offset dd 10 arrows_offset_old dd 10 option_pointer dd 0 plus_pointer dd 0 minus_pointer dd 0 space_pointer dd 0 ;--------------------------------------------------------------------- pos: dd 6 work_area_LR_old dd 0 work_area_TB_old dd 0 scaling_mode dd 100 scaling_mode_old dd 100 window_start_x_old dd 0 window_start_y_old dd 0 window_high_old dd 0 window_width_old dd 0 window_start_x dd 0 window_start_y dd 0 window_high dd 0 window_width dd 0 ;skin_high dd 0 window_status dd 0 draw_SB db 0 draw_SB1 db 0 correct_w db 0 correct_h db 0 wa_width dw 0 wa_high dw 0 wa_width_1 dw 0 wa_width_2 dw 0 wa_high_1 dw 0 wa_high_2 dw 0 image_start_coordinates dd 0 image_draw_size: .y: dw 0 .x: dw 0 vertical_position_coorect dd 0 horizontal_position_coorect dd 0 fill_color dd 0xffffff fill_color_old dd 0xffffff position_coorect db 0 open_file_flag db 0 sort_directory_flag db 0 redraw_flag db 0 press_Enter_flag db 0 capture_image_area_flag db 0 correct_scrollbar_100_flag db 0 ;--------------------------------------------------------------------- ;test_area: ;dd test_area.end - test_area ;db 'BMP',0 ;.end: ;db 0,0,0,0,0,0,0,0,0,0,0,0,0 ;--------------------------------------------------------------------- aApplicationsPaths db 'ApplicationsPaths',0 aOther db 'Other',0 aHelp db 'Help',0 aEditor db 'Editor',0 aOpenDialog db 'OpenDialog',0 akey_help db 'HelpFile',0 aConvertPlugins db 'ConvertPlugins',0 ConvertPlugins_no_key db 'NoKey',0 aCP0 db 'CP0',0 aCP1 db 'CP1',0 aCP2 db 'CP2',0 aCP3 db 'CP3',0 aCP4 db 'CP4',0 aCP5 db 'CP5',0 aCP6 db 'CP6',0 aCP7 db 'CP7',0 aCP8 db 'CP8',0 aCP9 db 'CP9',0 ;--------------------------------------------------------------------- plugin_BMP_name db 'cnv_bmp.obj',0 plugin_PNG_name db 'cnv_png.obj',0 plugin_JPEG_name db 'cnv_jpeg.obj',0 plugin_GIF_name db 'cnv_gif.obj',0 ;plugin_convert_name db 'convert.obj',0 ;plugin_sort_name db 'sort.obj',0 ;plugin_rotate_name db 'rotate.obj',0 ;plugin_scaling_name db 'scaling.obj',0 ;plugin_UNPACK_name db 'archiver.obj',0 ;boxlib_name db 'box_lib.obj',0 ;Libini_name db 'libini.obj',0 plugins_directory db 'plugins/',0 ini_file_name db 'zsea.ini',0 button_name db 'buttons.png',0 ;buttons_passive_name db '1.png',0 ;buttons_active_name db '2.png',0 ;buttons_click_name db '3.png',0 buttons_directory db 'buttons/',0 ;UNPACK_function_name db 'deflate_unpack',0 ;UNPACK_function_name_end: ;UNPACK_function_name db 'deflate_unpack2',0 ;UNPACK_function_name_end: system_dir_Boxlib db '/sys/lib/box_lib.obj',0 system_dir_Libini db '/sys/lib/libini.obj',0 system_dir_Sort db '/sys/lib/sort.obj',0 system_dir_UNPACK db '/sys/lib/archiver.obj',0 system_dir_Convert db '/sys/lib/convert.obj',0 system_dir_Rotate db '/sys/lib/rotate.obj',0 system_dir_Scaling db '/sys/lib/scaling.obj',0 system_dir_ProcLib db '/sys/lib/proc_lib.obj',0 ;--------------------------------------------------------------------- l_libs_start: library01 l_libs system_dir_Boxlib+9, library_path, system_dir_Boxlib, \ Box_lib_import, plugins_directory library02 l_libs system_dir_Libini+9, library_path, system_dir_Libini, \ Libini_import, plugins_directory library03 l_libs system_dir_Sort+9, library_path, system_dir_Sort, \ Sort_import, plugins_directory library04 l_libs system_dir_UNPACK+9, library_path, system_dir_UNPACK, \ UNPACK_import, plugins_directory library05 l_libs system_dir_Convert+9, library_path, system_dir_Convert, \ Convert_import, plugins_directory library06 l_libs system_dir_Rotate+9, library_path, system_dir_Rotate, \ Rotate_import, plugins_directory library07 l_libs system_dir_Scaling+9, library_path, system_dir_Scaling, \ Scaling_import, plugins_directory library08 l_libs system_dir_ProcLib+9, library_path, system_dir_ProcLib, \ ProcLib_import, plugins_directory end_l_libs: ;--------------------------------------------------------------------- align 4 cnv_plugin_name_pointer dd plugin_0_name cnv_plugin_import_pointer dd Convert_plugin_0 system_path db '/sys/lib/' .1: rb 128 ;--------------------------------------------------------------------- Convert_plugin_0: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_1: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_2: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_3: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_4: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_5: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_6: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_7: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_8: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 Convert_plugin_9: .Start dd aCP_Start .Version dd aCP_Version .Check dd aCP_Check .Assoc dd aCP_Assoc dd 0 dd 0 aCP_Start db 'START',0 aCP_Version db 'version',0 aCP_Check db 'Check_Header',0 aCP_Assoc db 'Associations',0 ;--------------------------------------------------------------------- file_mount: db 'File N: Amount: Zoom:',0 .end: current_key_code db 0 old_key_code db 0 ;--------------------------------------------------------------------- ; Tokens ;--------------------------------------------------------------------- aSortMode db 'SortMode',0 aSlideShowDelay db 'SlideShowDelay',0 aArrowsOffset db 'ArrowsOffset',0 aShowFileName db 'ShowFileName',0 aFilteringFlag db 'FilteringFlag',0 ;--------------------------------------------------------------------- ;Sections ;--------------------------------------------------------------------- aVariables db 'Variables',0 ;aVar db 'Var',0 ;aTemp db 'Temp',0 ;--------------------------------------------------------------------- align 4 ProcLib_import: OpenDialog_Init dd aOpenDialog_Init OpenDialog_Start dd aOpenDialog_Start ColorDialog_Init dd aColorDialog_Init ColorDialog_Start dd aColorDialog_Start ;OpenDialog__Version dd aOpenDialog_Version dd 0 dd 0 aOpenDialog_Init db 'OpenDialog_init',0 aOpenDialog_Start db 'OpenDialog_start',0 aColorDialog_Init db 'ColorDialog_init',0 aColorDialog_Start db 'ColorDialog_start',0 ;aOpenDialog_Version db 'Version_OpenDialog',0 ;--------------------------------------------------------------------- align 4 Scaling_import: Scaling_Start dd aScaling_Start Scaling_Version dd aScaling_Version dd 0 dd 0 aScaling_Start db 'START',0 aScaling_Version db 'version',0 ;--------------------------------------------------------------------- align 4 Rotate_import: rotate_Start dd aRotate_Start rotate_Version dd aRotate_Version dd 0 dd 0 aRotate_Start db 'START',0 aRotate_Version db 'version',0 ;--------------------------------------------------------------------- align 4 Convert_import: convert_Start dd aConvert_Start convert_Version dd aConvert_Version convert_Conv_24b dd aConvert_Conv_24b dd 0 dd 0 aConvert_Start db 'START',0 aConvert_Version db 'version',0 aConvert_Conv_24b db 'Convert24b',0 ;--------------------------------------------------------------------- align 4 UNPACK_import: ;unpack_Version dd aUnpack_Version ;unpack_PluginLoad dd aUnpack_PluginLoad ;unpack_OpenFilePlugin dd aUnpack_OpenFilePlugin ;unpack_ClosePlugin dd aUnpack_ClosePlugin ;unpack_ReadFolder dd aUnpack_ReadFolder ;unpack_SetFolder dd aUnpack_SetFolder ;unpack_GetFiles dd aUnpack_GetFiles ;unpack_GetOpenPluginInfo dd aUnpack_GetOpenPluginInfo ;unpack_Getattr dd aUnpack_Getattr ;unpack_Open dd aUnpack_Open ;unpack_Read dd aUnpack_Read ;unpack_Setpos dd aUnpack_Setpos ;unpack_Close dd aUnpack_Close ;unpack_DeflateUnpack dd aUnpack_DeflateUnpack unpack_DeflateUnpack2 dd aUnpack_DeflateUnpack2 dd 0 dd 0 ;aUnpack_Version db 'version',0 ;aUnpack_PluginLoad db 'plugin_load',0 ;aUnpack_OpenFilePlugin db 'OpenFilePlugin',0 ;aUnpack_ClosePlugin db 'ClosePlugin',0 ;aUnpack_ReadFolder db 'ReadFolder',0 ;aUnpack_SetFolder db 'SetFolder',0 ;aUnpack_GetFiles db 'GetFiles',0 ;aUnpack_GetOpenPluginInfo db 'GetOpenPluginInfo',0 ;aUnpack_Getattr db 'getattr',0 ;aUnpack_Open db 'open',0 ;aUnpack_Read db 'read',0 ;aUnpack_Setpos db 'setpos',0 ;aUnpack_Close db 'close',0 ;aUnpack_DeflateUnpack db 'deflate_unpack',0 aUnpack_DeflateUnpack2 db 'deflate_unpack2',0 ;--------------------------------------------------------------------- align 4 Sort_import: sort_init dd aSort_init sort_version dd aSort_version sort_dir dd aSort_SortDir sort_strcmpi dd aSort_strcmpi dd 0 dd 0 aSort_init db 'START',0 aSort_version db 'version',0 aSort_SortDir db 'SortDir',0 aSort_strcmpi db 'strcmpi',0 ;--------------------------------------------------------------------- align 4 Libini_import: lib_init dd aLib_init version_lib_ini dd aVersion_lib_ini ini_enum_sections dd aIni_enum_sections ini_enum_keys dd aIni_enum_keys ini_get_str dd aIni_get_str ini_get_int dd aIni_get_int ini_get_color dd aIni_get_color ini_set_str dd aIni_set_str ini_set_int dd aIni_set_int ini_set_color dd aIni_set_color dd 0 dd 0 aLib_init db 'lib_init',0 aVersion_lib_ini db 'version',0 aIni_enum_sections db 'ini_enum_sections',0 aIni_enum_keys db 'ini_enum_keys',0 aIni_get_str db 'ini_get_str',0 aIni_get_int db 'ini_get_int',0 aIni_get_color db 'ini_get_color',0 aIni_set_str db 'ini_set_str',0 aIni_set_int db 'ini_set_int',0 aIni_set_color db 'ini_set_color',0 ;--------------------------------------------------------------------- align 4 Box_lib_import: ;init_lib dd a_init ;version_lib dd a_version edit_box_draw dd aEdit_box_draw edit_box_key dd aEdit_box_key edit_box_mouse dd aEdit_box_mouse ;version_ed dd aVersion_ed init_checkbox dd aInit_checkbox check_box_draw dd aCheck_box_draw check_box_mouse dd aCheck_box_mouse ;version_ch dd aVersion_ch option_box_draw dd aOption_box_draw option_box_mouse dd aOption_box_mouse ;version_op dd aVersion_op scrollbar_ver_draw dd aScrollbar_ver_draw scrollbar_ver_mouse dd aScrollbar_ver_mouse scrollbar_hor_draw dd aScrollbar_hor_draw scrollbar_hor_mouse dd aScrollbar_hor_mouse ;version_scrollbar dd aVersion_scrollbar dinamic_button_draw dd aDbutton_draw dinamic_button_mouse dd aDbutton_mouse ;version_dbutton dd aVersion_dbutton menu_bar_draw dd aMenu_bar_draw menu_bar_mouse dd aMenu_bar_mouse menu_bar_activate dd aMenu_bar_activate ;version_menu_bar dd aVersion_menu_bar ;FileBrowser_draw dd aFileBrowser_draw ;FileBrowser_mouse dd aFileBrowser_mouse ;FileBrowser_key dd aFileBrowser_key ;Version_FileBrowser dd aVersion_FileBrowser dd 0 dd 0 ;a_init db 'lib_init',0 ;a_version db 'version',0 aEdit_box_draw db 'edit_box_draw',0 aEdit_box_key db 'edit_box_key',0 aEdit_box_mouse db 'edit_box_mouse',0 ;aVersion_ed db 'version_ed',0 aInit_checkbox db 'init_checkbox2',0 aCheck_box_draw db 'check_box_draw2',0 aCheck_box_mouse db 'check_box_mouse2',0 ;aVersion_ch db 'version_ch2',0 aOption_box_draw db 'option_box_draw',0 aOption_box_mouse db 'option_box_mouse',0 ;aVersion_op db 'version_op',0 aScrollbar_ver_draw db 'scrollbar_v_draw',0 aScrollbar_ver_mouse db 'scrollbar_v_mouse',0 aScrollbar_hor_draw db 'scrollbar_h_draw',0 aScrollbar_hor_mouse db 'scrollbar_h_mouse',0 ;aVersion_scrollbar db 'version_scrollbar',0 aDbutton_draw db 'dbutton_draw',0 aDbutton_mouse db 'dbutton_mouse',0 ;aVersion_dbutton db 'version_dbutton',0 aMenu_bar_draw db 'menu_bar_draw',0 aMenu_bar_mouse db 'menu_bar_mouse',0 aMenu_bar_activate db 'menu_bar_activate',0 ;aVersion_menu_bar db 'version_menu_bar',0 ;aFileBrowser_draw db 'FileBrowser_draw',0 ;aFileBrowser_mouse db 'FileBrowser_mouse',0 ;aFileBrowser_key db 'FileBrowser_key',0 ;aVersion_FileBrowser db 'version_FileBrowser',0 ;--------------------------------------------------------------------- align 4 load_directory_pointer dd 0 file_name_length dd 0 load_file_number dd 0 error_fs dd 0 error_pointer dd 0 ;error_locate dd 0 error_window_x: dd 100 shl 16 + 300 error_window_y: dd 100 shl 16 + 100 PID dd 0 PID1 dd 0 PID2 dd 0 PID3 dd 0 PID4 dd 0 PID5 dd 0 PID6 dd 0 PID7 dd 0 active_process dd 0 timer_counter dd 0 draw_scrollbar_counter dd 0 ;--------------------------------------------------------------------- align 4 error_fs_text_pointers: dd error_fs_text_0 dd error_fs_text_1 dd error_fs_text_2 dd error_fs_text_3 dd error_fs_text_4 dd error_fs_text_5 dd error_fs_text_6 dd error_fs_text_7 dd error_fs_text_8 dd error_fs_text_9 dd error_fs_text_10 dd error_fs_text_11 error_fs_text_0: db 'Success full',0 error_fs_text_1: db 'Base and/or partition of a hard disk is not defined',0 error_fs_text_2: db 'Function is not supported for the given file system',0 error_fs_text_3: db 'Unknown file system',0 error_fs_text_4: db 'Reserved, is never returned in the current implementation',0 error_fs_text_5: db 'File not found',0 error_fs_text_6: db 'End of file, EOF',0 error_fs_text_7: db 'Pointer lies outside of application memory',0 error_fs_text_8: db 'Disk is full',0 error_fs_text_9: db 'FAT table is destroyed',0 error_fs_text_10: db 'Access denied',0 error_fs_text_11: db 'Device error',0 ;--------------------------------------------------------------------- error_type: db 'File system error',0 ;--------------------------------------------------------------------- error_not_supported_file: db 'Unsupported file or corrupt data',0 ;--------------------------------------------------------------------- error_not_enough_memory: db 'Not_enough_memory',0 ;--------------------------------------------------------------------- error_unknown: db 'Unknown error',0 ;--------------------------------------------------------------------- extended_key db 0 no_draw_window db 0 shift_flag db 0 ctrl_flag db 0 alt_flag db 0 ;--------------------------------------------------------------------- ; for EDITBOX align 4 name_editboxes: edit1 edit_box 200,10,30,0xffffff,0xbbddff,0,0,0,255,string,mouse_dd,ed_focus+ed_always_focus,0 name_editboxes_end: ;mouse_flag: dd 0x0 mouse_dd rd 1 ;--------------------------------------------------------------------- align 4 ; option_boxes_bcgr: op1 option_box option_group1,60,45,6,12,0xFFFFFF,0,0xffffff,op_text.1,op_text.e1-op_text.1 op2 option_box option_group1,60,60,6,12,0xFFFFFF,0,0xffffff,op_text.2,op_text.e2-op_text.2 op3 option_box option_group1,60,75,6,12,0xFFFFFF,0,0xffffff,op_text.3,op_text.e3-op_text.3 op4 option_box option_group1,60,90,6,12,0xFFFFFF,0,0xffffff,op_text.4,op_text.e4-op_text.4 ;option_boxes_bcgr_end: op_text: .1 db 'Tiled' .e1: .2 db 'Stretch' .e2: .3 db 'Stretch + Crop' .e3: .4 db 'Stretch + Inscribe' .e4: option_group1 dd op1 option_boxes_bcgr: dd op1,op2,op3,op4,0 ;--------------------------------------------------------------------- align 4 op_UL option_box option_group3,200,40,20,20,0xFFFFFF,0,0xffffff,0,0 op_UC option_box option_group3,223,40,20,20,0xFFFFFF,0,0xffffff,0,0 op_UR option_box option_group3,246,40,20,20,0xFFFFFF,0,0xffffff,0,0 op_CL option_box option_group3,200,63,20,20,0xFFFFFF,0,0xffffff,0,0 op_CC option_box option_group3,223,63,20,20,0xFFFFFF,0,0xffffff,0,0 op_CR option_box option_group3,246,63,20,20,0xFFFFFF,0,0xffffff,0,0 op_DL option_box option_group3,200,86,20,20,0xFFFFFF,0,0xffffff,0,0 op_DC option_box option_group3,223,86,20,20,0xFFFFFF,0,0xffffff,0,0 op_DR option_box option_group3,246,86,20,20,0xFFFFFF,0,0xffffff,0,0 ;option_boxes_bcgr_end: option_group3 dd op_CC Stretch_Crop_Corner dd 1 shl 16+1 option_boxes_SCC: dd op_UL,op_UC,op_UR,op_CL,op_CC,op_CR,op_DL,op_DC,op_DR,0 bcgr_group_pointer db 0 ;--------------------------------------------------------------------- align 4 ;option_boxes_sort: sort0 option_box option_group2,60,40,6,12,0xFFFFFF,0,0xffffff,op_text_1.1,op_text_1.e1-op_text_1.1 sort2 option_box option_group2,60,55,6,12,0xFFFFFF,0,0xffffff,op_text_1.2,op_text_1.e2-op_text_1.2 sort4 option_box option_group2,60,70,6,12,0xFFFFFF,0,0xffffff,op_text_1.3,op_text_1.e3-op_text_1.3 sort6 option_box option_group2,60,85,6,12,0xFFFFFF,0,0xffffff,op_text_1.4,op_text_1.e4-op_text_1.4 option_boxes_sort_end: op_text_1: .1 db 'Name' .e1: .2 db 'Type' .e2: .3 db 'Date' .e3: .4 db 'Size' .e4: option_group2 dd sort2 option_group2_old dd 0 option_boxes_sort dd sort0, sort2, sort4, sort6,0 ;--------------------------------------------------------------------- check1 check_box2 (140 shl 16)+12,(50 shl 16)+12,6,0xFFFFFF,0,0xffffff,check_text1,ch_flag_middle ;ch_flag_en check_text1 db 'Show file name',0 show_file_name_old dd 0 ;--------------------------------------------------------------------- check2 check_box2 (140 shl 16)+12,(70 shl 16)+12,6,0xFFFFFF,0,0xffffff,check_text2,ch_flag_middle ;ch_flag_en check_text2 db 'Bilinear filtering',0 filtering_flag dd 0 filtering_flag_old dd 0 ;--------------------------------------------------------------------- align 4 scroll_bar_data_vertical: .x: .size_x dw 15 ;+0 .start_x dw 500 ;+2 .y: .size_y dw 300 ;+4 .start_y dw 30 ;+6 .btn_high dd 15 ;+8 .type dd 2 ;+12 .max_area dd 10 ;+16 .cur_area dd 2 ;+20 .position dd 0 ;+24 .bckg_col dd 0xeeeeee ;+28 .frnt_col dd 0x8aeaa0 ;0xbbddff ;+32 .line_col dd 0 ;+36 .redraw dd 0 ;+40 .delta dw 0 ;+44 .delta2 dw 0 ;+46 .run_x: .r_size_x dw 0 ;+48 .r_start_x dw 0 ;+50 .run_y: .r_size_y dw 0 ;+52 .r_start_y dw 0 ;+54 .m_pos dd 0 ;+56 .m_pos_2 dd 0 ;+60 .m_keys dd 0 ;+64 .run_size dd 0 ;+68 .position2 dd 0 ;+72 .work_size dd 0 ;+76 .all_redraw dd 0 ;+80 .ar_offset dd 10 ;+84 ;--------------------------------------------------------------------- align 4 scroll_bar_data_horizontal: .x: .size_x dw 300 ;0 ;+0 .start_x dw 10 ;0 ;+2 .y: .size_y dw 15 ;0 ;+4 .start_y dw 300 ;0 ;+6 .btn_high dd 15 ;+8 .type dd 2 ;+12 .max_area dd 10 ;+16 .cur_area dd 2 ;+20 .position dd 0 ;+24 .bckg_col dd 0xeeeeee ;+28 .frnt_col dd 0x8aeaa0 ;0xbbddff ;+32 .line_col dd 0 ;+36 .redraw dd 0 ;+40 .delta dw 0 ;+44 .delta2 dw 0 ;+46 .run_x: .r_size_x dw 0 ;+48 .r_start_x dw 0 ;+50 .run_y: .r_size_y dw 0 ;+52 .r_start_y dw 0 ;+54 .m_pos dd 0 ;+56 .m_pos_2 dd 0 ;+60 .m_keys dd 0 ;+64 .run_size dd 0 ;+68 .position2 dd 0 ;+72 .work_size dd 0 ;+76 .all_redraw dd 0 ;+80 .ar_offset dd 10 ;+84 ;--------------------------------------------------------------------- align 4 menu_data_1: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 5 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_1 ;0 ;+12 .pos_pointer: dd menu_text_area_1.1 ;0 ;+16 .text_end dd menu_text_area_1.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 70 ;+32 .start_x1 dw 5 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_1: db 'File',0 .1: db 'Open',0 db 'Properties',0 db 'Exit',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_2: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 40 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_2 ;0 ;+12 .pos_pointer: dd menu_text_area_2.1 ;0 ;+16 .text_end dd menu_text_area_2.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 90 ;+32 .start_x1 dw 40 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_2: db 'Edit',0 .1: db 'Rotate Clock.',0 db 'Rotate CClock.',0 db 'Invert L to R',0 db 'Invert U to D',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_3: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 75 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_3 ;0 ;+12 .pos_pointer: dd menu_text_area_3.1 ;0 ;+16 .text_end dd menu_text_area_3.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 90 ;+32 .start_x1 dw 75 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_3: db 'View',0 .1: db 'Sort Directory',0 db 'Full Screen',0 db 'Reload',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_4: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 110 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_4 ;0 ;+12 .pos_pointer: dd menu_text_area_4.1 ;0 ;+16 .text_end dd menu_text_area_4.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 40 ;+32 .start_x1 dw 110 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_4: db 'Zoom',0 .1: db 'Normal',0 db 'More',0 db 'Less',0 db 'Auto',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_5: .type: dd 0 ;+0 .x: .size_x dw 40 ;+4 .start_x dw 145 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_5 ;0 ;+12 .pos_pointer: dd menu_text_area_5.1 ;0 ;+16 .text_end dd menu_text_area_5.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 80 ;+32 .start_x1 dw 145 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_5: db 'Tools',0 .1: db 'Image Editor',0 db 'Wallpaper',0 db 'Slide Show',0 db 'Options',0 .end: db 0 ;--------------------------------------------------------------------- align 4 menu_data_6: .type: dd 0 ;+0 .x: .size_x dw 35 ;+4 .start_x dw 185 ;+6 .y: .size_y dw 15 ;+8 .start_y dw 6 ;+10 .text_pointer: dd menu_text_area_6 ;0 ;+12 .pos_pointer: dd menu_text_area_6.1 ;0 ;+16 .text_end dd menu_text_area_6.end ;0 ;+20 .ret_key dd 0 ;+24 .mouse_keys dd 0 ;+28 .x1: .size_x1 dw 50 ;+32 .start_x1 dw 185 ;+34 .y1: .size_y1 dw 100 ;+36 .start_y1 dw 21 ;+38 .bckg_col dd 0xe5e5e5 ;+40 .frnt_col dd 0xff ;+44 .menu_col dd 0xeef0ff ;0xffffff ;+48 .select dd 0 ;+52 .out_select dd 0 ;+56 .buf_adress dd 0 ;+60 .procinfo dd 0 ;+64 .click dd 0 ;+68 .cursor dd 0 ;+72 .cursor_old dd 0 ;+76 .interval dd 16 ;+80 .cursor_max dd 0 ;+84 .extended_key dd 0 ;+88 .menu_sel_col dd 0x00cc00 ;+92 .bckg_text_col dd 0 ; +96 .frnt_text_col dd 0xffffff ;+100 .mouse_keys_old dd 0 ;+104 .font_height dd 8 ;+108 .cursor_out dd 0 ;+112 .get_mouse_flag dd 0 ;+116 ;--------------------------------------------------------------------- menu_text_area_6: db 'Help',0 .1: db 'Help',0 db 'About',0 .end: db 0 ;--------------------------------------------------------------------- align 4 dinamic_button_data_1: ; open file .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 230 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_2: ; reload file .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 255 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_3: ; left limit .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 285 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_4: ; left arrow .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 310 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_5: ; slide show .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 335 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_6: ; right arrow .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 360 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_7: ; right limit .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 385 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_8: ; zoom + .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 415 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_9: ; zoom - .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 440 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_10: ; zoom 100% .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 465 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_11: ; rotate clockwise .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 495 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_12: ; rotate counter-clockwise .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 520 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_13: ; file information .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 550 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_14: ; wallpaper .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 575 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dinamic_button_data_15: ; settings .type dd 0 ;+0 .x: .size_x dw 20 ;+4 .start_x dw 600 ;+6 .y: .size_y dw 20 ;+8 .start_y dw 3 ;+10 .mouse_pos dd 0 ;+12 .mouse_keys dd 0 ;+16 .mouse_keys_old dd 0 ;+20 .active_raw dd 0 ;+24 .passive_raw dd 0 ;+28 .click_raw dd 0 ;+32 .resolution_raw dd 0 ;+36 .palette_raw dd 0 ;+40 .offset_raw dd 0 ;+44 .select dd 0 ;+48 .click dd 0 ;+52 ;--------------------------------------------------------------------- align 4 dirinfo: .subfunction dd 1 .start dd 0 .flags dd 0 .size dd 0 .return dd procinfo db 0 .name: dd plugin_pach ;--------------------------------------------------------------------- align 4 fileinfo: .subfunction dd 5 .Offset dd 0 .Offset_1 dd 0 .size dd 0 .return dd process_info db 0 .name: dd string ;--------------------------------------------------------------------- align 4 start_appl: .subfunction dd 7 .flags dd 0 .parameter dd library_path .reserved1 dd 0 .reserved2 dd 0 db 0 .name: dd Help_path ;--------------------------------------------------------------------- align 4 dir_header: .version dd 0 ;+0 .curn_blocks dd 0 ;+4 .totl_blocks dd 0 ;+8 .other rb 20 ;--------------------------------------------------------------------- OpenDialog_data: .type dd 0 .procinfo dd procinfo ;+4 .com_area_name dd communication_area_name ;+8 .com_area dd 0 ;+12 .opendir_pach dd plugin_pach ;+16 .dir_default_pach dd communication_area_default_pach ;+20 .start_path dd library_path ;+24 .draw_window dd draw_window ;+28 .status dd 0 ;+32 .openfile_pach dd string ;+36 .filename_area dd 0 ;+40 .filter_area dd Filter .x: .x_size dw 420 ;+48 ; Window X size .x_start dw 10 ;+50 ; Window X position .y: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_pach: db '/sys',0 ;communication_area dd 0 ;--------------------------------------------------------------------- ColorDialog_data: .type dd 0 .procinfo dd procinfo ;+4 .com_area_name dd cd_communication_area_name ;+8 .com_area dd 0 ;+12 .start_path dd colordialog_path ;+16 .draw_window dd thread4.draw_window ;+20 .status dd 0 ;+24 .x: .x_size dw 510 ;+28 ; Window X size .x_start dw 10 ;+30 ; Window X position .y: .y_size dw 310 ;+32 ; Window y size .y_start dw 10 ;+34 ; Window Y position .color_type dd 0 ;+36 ; 0- RGB, 1 or other - reserved .color dd 0 ;+40 ; Selected color cd_communication_area_name: db 'FFFFFFFF_color_dialog',0 colordialog_path: db '/sys/colrdial',0 ;--------------------------------------------------------------------- ; clear bacground thread clear_thread_stack: dd 0 ;---------------------- ; window option thread_stack_7: dd 0 ;---------------------- ; window error message thread_stack_6: dd 0 ;---------------------- ; window set sort mode thread_stack_5: dd 0 ;---------------------- ; window background thread_stack_4: dd 0 ;---------------------- ; window about thread_stack_3: dd 0 ;---------------------- ; file info thread_stack_2: dd 0 ;---------------------- ; file open thread_stack: dd 0 ;--------------------------------------------------------------------- ;size_before_open_dir: ; dd 0 ;size_before_open_file: ; dd 0 ;size_after_open_file: ; dd 0 ;size_after_convert: ; dd 0 ;size_after_convert_2: ; dd 0 ;size_before_draw_image: ; dd 0 ;size_after_draw_image: ; dd 0 ;size_before_scaling: ; dd 0 ;size_after_scaling: ; dd 0 \ No newline at end of file diff --git a/programs/network/ftpd/users.ini b/programs/network/ftpd/users.ini index 85927c4354..49f994bf28 100644 --- a/programs/network/ftpd/users.ini +++ b/programs/network/ftpd/users.ini @@ -10,11 +10,11 @@ [anonymous] ; leavy pass empty to disable it pass= -home=/rd/1/ +home=/sys/ mode=3 [test] pass=1234 -home=/rd/1/ +home=/sys/ mode=31 diff --git a/programs/other/cnc_control/cnc_control.asm b/programs/other/cnc_control/cnc_control.asm index 2b69015d4e..0f4f9fbb81 100644 --- a/programs/other/cnc_control/cnc_control.asm +++ b/programs/other/cnc_control/cnc_control.asm @@ -703,14 +703,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/other/cnc_editor/cnc_editor.asm b/programs/other/cnc_editor/cnc_editor.asm index c1484decfa..b7184f0e24 100644 --- a/programs/other/cnc_editor/cnc_editor.asm +++ b/programs/other/cnc_editor/cnc_editor.asm @@ -2070,14 +2070,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 +default_dir db '/sys',0 communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter ;.1 diff --git a/programs/other/ha/HACONFIG.ASM b/programs/other/ha/HACONFIG.ASM index 8a4f979cc9..deced90da5 100644 --- a/programs/other/ha/HACONFIG.ASM +++ b/programs/other/ha/HACONFIG.ASM @@ -281,7 +281,7 @@ createFile: .path_adr dd fileName ;яєЄ№ ;ёЄЁюър ярЁрьхЄЁют яю єьюыўрэш■ ш х▐ ЁрчьхЁ -defaultDataForConfig db 121,13,10,'/rd/1/HACONFIG',13,10,'/rd/1/HACONFIG',13,10,'/rd/1/HACONFIG',13,10,'/rd/1/HACONFIG',13,10,'Space',13,10,'57',13,10,'10',13,10,'s',13,10 +defaultDataForConfig db 121,13,10,'/sys/HACONFIG',13,10,'/sys/HACONFIG',13,10,'/sys/HACONFIG',13,10,'/sys/HACONFIG',13,10,'Space',13,10,'57',13,10,'10',13,10,'s',13,10 defaultDataSize = 85 ;48+19+4 @@ -516,7 +516,7 @@ startAppData: .flags dd 0 .param dd 0 .rezerv dd 0, 0 - .full_name db '/rd/1/' + .full_name db '/sys/' .file_name db '@HOTANGLES', 0 UpdateEditsSizes: @@ -1685,10 +1685,10 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 ;фшЁхъЄюЁш▀ яю єьюыўрэш■ +default_dir db '/sys',0 ;фшЁхъЄюЁш▀ яю єьюыўрэш■ communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 -communication_area_default_path: db '/rd/1/File managers/',0 +communication_area_default_path: db '/sys/File managers/',0 Filter: dd Filter.end - Filter.1 diff --git a/programs/other/ha/ReadMe.txt b/programs/other/ha/ReadMe.txt index ee4cf1ea96..e0a4a84f65 100644 --- a/programs/other/ha/ReadMe.txt +++ b/programs/other/ha/ReadMe.txt @@ -6,7 +6,7 @@ RU ╩юьяыхъЄ єЄшышЄ (рэрыюу Hot Corners т фЁєушї ╬╤) фы  Ёрё°шЁхэш  тючьюцэюёЄхщ Ёрсюўхую ёЄюыр яюы№чютрЄхы . ═рчтрэшх т√сЁрэю яєЄ╕ь уюыюёютрэш . ┬ ъюьяыхъЄ тїюф Є фтх єЄшышЄ√: @HOTANGLES - юёэютэр  єЄшышЄр, яючтюы ■∙р  чряєёърЄ№ яЁшыюцхэш  яєЄ╕ь эртхфхэш  ъєЁёюЁр т єуюы ¤ъЁрэр (єуюы Ёрсюўхщ юсырёЄш); HACONFIG - єЄшышЄр ъюэЇшуєЁрЄюЁ, яючтюы ■∙р  эрёЄЁюшЄ№ фхщёЄтш  эр ърцф√щ єуюы ш ръЄштшЁютрЄ№/фхръЄштшЁютрЄ№ ¤Єє юяЎш■. -╘рщы ъюэЇшуєЁрЎшш: RD/1/SETTINGS/HOTANGLES.CFG (уфх RD/1/ ¤Єю ЄюЄ цх SYS - яєЄ№ ъ ёшёЄхьэющ фшЁхъЄюЁшш). ╘рщы ёюёЄюшЄ шч фхт Єш ёЄЁюъ: +╘рщы ъюэЇшуєЁрЎшш: SYS/SETTINGS/HOTANGLES.CFG (уфх SYS/ - яєЄ№ ъ ёшёЄхьэющ фшЁхъЄюЁшш). ╘рщы ёюёЄюшЄ шч фхт Єш ёЄЁюъ: 1) ёюёЄю эшх ръЄштэюёЄш юяЎшш (юфшэ ёшьтюы): 1 шыш y - юяЎш  ръЄштэр, ръЄштшЁютрэ ъырёёшўхёъшщ Ёхцшь ЁрсюЄ√ єуюыъют, 2 - юяЎш  ръЄштэр, ръЄштшЁютрэ Ёхцшь ЁрсюЄ√ яю уюЁ ўхщ ъыртш°х, @@ -52,7 +52,7 @@ MIN - ╧Ёюўшх ЁхъюьхэфрЎшш: -------------------------------------------------- ═хъюЄюЁ√ь яюы№чютрЄхы ь ьюцхЄ с√Є№ єфюсэю эрёЄЁюшЄ№ юЄъЁ√Єшх ьхэ■ яЁш яюярфрэшш т єуюы хую Ёрёяюыюцхэш . ═ряЁшьхЁ, хёыш є трё ъэюяър "╠хэ■" Ёрёяюыюцхэр т ыхтюь эшцэхь єуыє, Єю чрфрщЄх фы  ¤Єюую єуыр ъюьрэфє: -/rd/1/@MENU +/sys/@MENU Extra-Ёрё°шЁхэш  ЇєэъЎшюэры№эюёЄш: diff --git a/programs/other/ha/SETTINGS/HOTANGLES.CFG b/programs/other/ha/SETTINGS/HOTANGLES.CFG index f92272d994..6e43b6f3e4 100644 --- a/programs/other/ha/SETTINGS/HOTANGLES.CFG +++ b/programs/other/ha/SETTINGS/HOTANGLES.CFG @@ -1,8 +1,8 @@ 0 -/rd/1/HACONFIG -/rd/1/HACONFIG -/rd/1/HACONFIG -/rd/1/HACONFIG +/sys/HACONFIG +/sys/HACONFIG +/sys/HACONFIG +/sys/HACONFIG Space 57 10 diff --git a/programs/other/kpack/trunk/const_var.inc b/programs/other/kpack/trunk/const_var.inc index d1168386c0..6d85621a5b 100644 --- a/programs/other/kpack/trunk/const_var.inc +++ b/programs/other/kpack/trunk/const_var.inc @@ -7,7 +7,7 @@ buttons1names db ' InFile:' aCompress db ' Compress',0 aDecompress db 'Decompress',0 definoutname db 0 -defpath db '/rd/1',0 +defpath db '/sys',0 kernel_name db 'kernel.mnt',0 ;curedit dd 0 @@ -137,9 +137,9 @@ else db '/sys/File Managers/opendial',0 end if communication_area_default_pach: - db '/rd/1',0 + db '/sys',0 -path4 db '/rd/1/temp',0 +path4 db '/sys/temp',0 Filter: dd Filter.end - Filter.1 diff --git a/programs/other/kpack/trunk/kpack.asm b/programs/other/kpack/trunk/kpack.asm index 30537dfb3e..d354ee4379 100644 --- a/programs/other/kpack/trunk/kpack.asm +++ b/programs/other/kpack/trunk/kpack.asm @@ -61,7 +61,7 @@ START: jmp exit @@: -; set default path = /RD/1/ +; set default path = /SYS/ mov esi,defpath mov edi,path mov [edi-4],dword 6 diff --git a/programs/other/outdated/archer/trunk/data.inc b/programs/other/outdated/archer/trunk/data.inc index 11886c8c89..00f1dbb3fc 100644 --- a/programs/other/outdated/archer/trunk/data.inc +++ b/programs/other/outdated/archer/trunk/data.inc @@ -72,7 +72,7 @@ else end if ; db '/hd/1/zip/png.zip',0 ; db '/hd/1/zip/files/opossum.png' -; db '/rd/1/www.zip',0 +; db '/sys/www.zip',0 ; db '/hd/1/zip/test2.zip',0 end if db 0 diff --git a/programs/other/outdated/cmd/trunk/examples/EXAMPLE.CMD b/programs/other/outdated/cmd/trunk/examples/EXAMPLE.CMD index 4ce0d85bbe..b876405618 100644 --- a/programs/other/outdated/cmd/trunk/examples/EXAMPLE.CMD +++ b/programs/other/outdated/cmd/trunk/examples/EXAMPLE.CMD @@ -17,12 +17,12 @@ pause cp cmd.asm+cmd.bak echo echo Теперь нажмите любую клавишу для того, чтобы вывести имя только что -echo созданного файла на экран и удостовериться в его присутствии на /RD/1 +echo созданного файла на экран и удостовериться в его присутствии на /SYS pause ls cmd.bak echo echo Теперь нажмите любую клавишу для того, чтобы удалить только что созданный -echo файл CMD.BAK с рамдиска. +echo файл CMD.BAK из системной директории. pause del cmd.bak echo diff --git a/programs/other/outdated/copy2/trunk/copy2.asm b/programs/other/outdated/copy2/trunk/copy2.asm index f1d071d886..51e037d63f 100644 --- a/programs/other/outdated/copy2/trunk/copy2.asm +++ b/programs/other/outdated/copy2/trunk/copy2.asm @@ -353,7 +353,7 @@ param_info: ; .bytes2write dd 0 ; bytes to write ; .address dd 0x20000 ; .workarea dd 0x10000 -; destination db '/RD/1/KERNEL.MNT',0 +; destination db '/SYS/KERNEL.MNT',0 ; times (STRLEN-16) db 0 align 4 diff --git a/programs/other/outdated/gifview/trunk/gifview.asm b/programs/other/outdated/gifview/trunk/gifview.asm index 7f03a53926..ad89560622 100644 --- a/programs/other/outdated/gifview/trunk/gifview.asm +++ b/programs/other/outdated/gifview/trunk/gifview.asm @@ -258,7 +258,7 @@ fn_input: ; db '/hd/1/gif/smileys/sm100000.gif' db '/sys/meos.gif' ; db '/hd/1/1/tex256.gif',0 -; db '/rd/1/tex256.gif' +; db '/sys/tex256.gif' inp_end: rb 256-(inp_end-fn_input) diff --git a/programs/other/outdated/kerpack/trunk/kerpack.asm b/programs/other/outdated/kerpack/trunk/kerpack.asm index 15345eac73..c8dfb1d3ad 100644 --- a/programs/other/outdated/kerpack/trunk/kerpack.asm +++ b/programs/other/outdated/kerpack/trunk/kerpack.asm @@ -231,7 +231,7 @@ fn70_read: dd 0 dd 200*1024 dd infile -filename db '/rd/1/kernel.mnt',0 +filename db '/sys/kernel.mnt',0 fn70_write: dd 2 diff --git a/programs/other/outdated/mfar/trunk/mfar.asm b/programs/other/outdated/mfar/trunk/mfar.asm index 66a4724fbf..7e240ebeae 100644 --- a/programs/other/outdated/mfar/trunk/mfar.asm +++ b/programs/other/outdated/mfar/trunk/mfar.asm @@ -1131,7 +1131,7 @@ f_plen1 dd 5 sz caption,'MFAR : PRE-ALPHA-8.1',0 sz fcfile,'MFAR DAT' sz p_hd,'/HD/1',0 -sz p_rd,'/RD/1',0 +sz p_rd,'/SYS',0 ext0: db ' EXE COM BAT CMD' dd 0 diff --git a/programs/other/outdated/slovarik/ASCL.INC b/programs/other/outdated/slovarik/ASCL.INC index a1e2f25859..f790abf2b5 100644 --- a/programs/other/outdated/slovarik/ASCL.INC +++ b/programs/other/outdated/slovarik/ASCL.INC @@ -31,7 +31,7 @@ lang equ ru ; ru en fr ge fi ; LOADFILE ; (SYNTAX) LOADFILE 'full_path_to_file',file_load_area,file_temp_area -; (SAMPLE) LOADFILE '/rd/1/clock.bmp',load_area,temp_area +; (SAMPLE) LOADFILE '/sys/clock.bmp',load_area,temp_area macro loadfile file_name,file_load_area,file_temp_area @@ -411,7 +411,7 @@ run_fileinfo: dd 0 dd procinfo ; 0x10000 ;run_filepath - db '/RD/1/SYSXTREE',0 + db '/SYS/SYSXTREE',0 procinfo: times 1024 db 0 @@ -623,7 +623,7 @@ run_fileinfo: dd 0 dd procinfo ;run_filepath: - db '/RD/1/SYSXTREE',0 + db '/SYS/SYSXTREE',0 procinfo: times 1024 db 0 diff --git a/programs/other/outdated/slovarik/SLOVARIK.ASM b/programs/other/outdated/slovarik/SLOVARIK.ASM index 738a28a420..64e24cba68 100644 --- a/programs/other/outdated/slovarik/SLOVARIK.ASM +++ b/programs/other/outdated/slovarik/SLOVARIK.ASM @@ -763,7 +763,7 @@ errDictHeader_l: xcursor dw 69 -default_dict_path db '/RD/1/DICT.TXT' +default_dict_path db '/SYS/DICT.TXT' fileinfo_ini: .oper: @@ -774,7 +774,7 @@ dd 256 dd fileinfo.path dd os_work_mem .inipath: -db '/rd/1/slovarik.ini',0 +db '/sys/slovarik.ini',0 fileinfo: dd 0 ; 0 = ЧТЕНИЕ ФАЙЛА @@ -783,7 +783,7 @@ dd 0x1 ; ско dd dictionary ; куда считывать dd os_work_mem ; 0x10000 ; память для работы ОС - 4096 байт .path: -db '',0 ;'/RD/1/DICT.TXT',0 +db '',0 ;'/SYS/DICT.TXT',0 lblIMG_END: rb 257 ;times 257 db 0 ;for path diff --git a/programs/other/outdated/slovarik/SLOVARIK.INI b/programs/other/outdated/slovarik/SLOVARIK.INI index 4cf42d6f1e..56b86b94f9 100644 --- a/programs/other/outdated/slovarik/SLOVARIK.INI +++ b/programs/other/outdated/slovarik/SLOVARIK.INI @@ -1 +1 @@ -/RD/1/DICT_ENG.TXT \ No newline at end of file +/SYS/DICT_ENG.TXT \ No newline at end of file diff --git a/programs/other/outdated/sysxtree/trunk/ascl.inc b/programs/other/outdated/sysxtree/trunk/ascl.inc index 53fbbe8847..18c0a285f2 100644 --- a/programs/other/outdated/sysxtree/trunk/ascl.inc +++ b/programs/other/outdated/sysxtree/trunk/ascl.inc @@ -31,7 +31,7 @@ lang equ ru ; ru en fr ge fi ; LOADFILE ; (SYNTAX) LOADFILE 'full_path_to_file',file_load_area,file_temp_area -; (SAMPLE) LOADFILE '/rd/1/clock.bmp',load_area,temp_area +; (SAMPLE) LOADFILE '/sys/clock.bmp',load_area,temp_area macro loadfile file_name,file_load_area,file_temp_area diff --git a/programs/other/outdated/sysxtree/trunk/sysxtree.asm b/programs/other/outdated/sysxtree/trunk/sysxtree.asm index 07c14e8f90..b4a7692038 100644 --- a/programs/other/outdated/sysxtree/trunk/sysxtree.asm +++ b/programs/other/outdated/sysxtree/trunk/sysxtree.asm @@ -850,7 +850,7 @@ paste_from_clip: ; OS allows only 256 symbols in command line cmp ebx, 250 jae still -; we use Pascal-style strings for /RD/1/COPYR +; we use Pascal-style strings for /SYS/COPYR ; source file mov edi, copyr_param mov al, bl @@ -2556,7 +2556,7 @@ b_color dd 0x6677cc ; dd 0x1 ; dd path ; dd tempzone -; db '/RD/1/MRU.LST',0 +; db '/SYS/MRU.LST',0 ; //// Willow ;Name of programs diff --git a/programs/other/planet_v/planet_v.asm b/programs/other/planet_v/planet_v.asm index 36e44d4124..2fd9bb1e7b 100644 --- a/programs/other/planet_v/planet_v.asm +++ b/programs/other/planet_v/planet_v.asm @@ -827,14 +827,14 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 ;директория по умолчанию +default_dir db '/sys',0 ;директория по умолчанию communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: - db '/rd/1/File managers/',0 + db '/sys/File managers/',0 Filter: dd Filter.end - Filter.1 diff --git a/programs/other/rtfread/trunk/rtfread.asm b/programs/other/rtfread/trunk/rtfread.asm index d89f754b95..b13bc0bb5c 100644 --- a/programs/other/rtfread/trunk/rtfread.asm +++ b/programs/other/rtfread/trunk/rtfread.asm @@ -800,7 +800,7 @@ else db '/sys/File Managers/opendial',0 end if communication_area_default_pach: - db '/rd/1',0 + db '/sys',0 Filter: dd Filter.end - Filter diff --git a/programs/other/t_edit/t_data.inc b/programs/other/t_edit/t_data.inc index 19a1145b4e..1fef21adeb 100644 --- a/programs/other/t_edit/t_data.inc +++ b/programs/other/t_edit/t_data.inc @@ -1 +1 @@ -fn_col_option dd def_col_file fn_syntax_dir db 'info/',0 def_col_file db 'default.syn',0 exit_code dd 0 ;переменная используемая для выхода из программы panel_but rb 21 ;настройки отображения кнопок на панели ;значения задаваемые по умолчанию, без ini файла ini_def_window_t equ 20 ini_def_window_l equ 200 ini_def_window_w equ 570 ini_def_window_h equ 470 ini_def_symbol_w equ 7 ini_def_symbol_h equ 10 ini_def_font_s equ 0 ini_def_scroll_type equ 0 ;описание параматров для ini файла ini_name db 't_edit.ini',0 ini_sec_window db 'Window',0 key_window_t db 't',0 key_window_l db 'l',0 key_window_w db 'w',0 key_window_h db 'h',0 key_symbol_w db 'symbol_w',0 key_symbol_h db 'symbol_h',0 key_font_s db 'font_s',0 key_scroll_type db 'scroll_type',0 key_but_new db 'but_new',0 key_but_open db 'but_open',0 key_but_save db 'but_save',0 key_but_save_as db 'but_save_as',0 key_but_select db 'but_select',0 key_but_cut db 'but_cut',0 key_but_copy db 'but_copy',0 key_but_paste db 'but_paste',0 key_but_find db 'but_find',0 key_but_replace db 'but_replace',0 key_but_key_words db 'but_key_words',0 key_but_upper db 'but_upper',0 key_but_lower db 'but_lower',0 key_but_reverse db 'but_reverse',0 key_but_undo db 'but_undo',0 key_but_redo db 'but_redo',0 key_but_invisible db 'but_invisible',0 key_but_syntax_list db 'but_syntax_list',0 key_but_syntax_mode db 'but_syntax_mode',0 key_but_convert_1251_866 db 'but_convert_1251_866',0 key_but_convert_866_1251 db 'but_convert_866_1251',0 ini_sec_options db 'Options',0 key_synt_file: db 'syntax_' .numb: db '0',0 key_synt_ext: db 'ext_' .numb: db '0',0 ini_def_synt_f db 0 align 4 max_synt_auto_open equ 10 synt_auto_open: rb 64*max_synt_auto_open db 0 system_dir_0 db '/sys/lib/' lib_name_0 db 'box_lib.obj',0 system_dir_1 db '/sys/lib/' lib_name_1 db 'msgbox.obj',0 system_dir_2 db '/sys/lib/' lib_name_2 db 'proc_lib.obj',0 system_dir_3 db '/sys/lib/' lib_name_3 db 'libimg.obj',0 system_dir_4 db '/sys/lib/' lib_name_4 db 'libini.obj',0 system_dir_5 db '/sys/lib/' lib_name_5 db 'kmenu.obj',0 ;--------------------------------------------------------------------- align 4 import_box_lib: dd alib_init0 ;функция запускается макросом 1 раз при подключении бибилиотеки, потому в программе метка на нее не нужна edit_box_draw dd aEdit_box_draw edit_box_key dd aEdit_box_key edit_box_mouse dd aEdit_box_mouse ;edit_box_set_text dd aEdit_box_set_text ;version_ed dd aVersion_ed init_checkbox dd ainit_checkbox check_box_draw dd acheck_box_draw check_box_mouse dd acheck_box_mouse option_box_draw dd aOption_box_draw option_box_mouse dd aOption_box_mouse ;version_op dd aVersion_op scrollbar_ver_draw dd aScrollbar_ver_draw scrollbar_ver_mouse dd aScrollbar_ver_mouse scrollbar_hor_draw dd aScrollbar_hor_draw scrollbar_hor_mouse dd aScrollbar_hor_mouse ;version_scrollbar dd aVersion_scrollbar tl_data_init dd sz_tl_data_init tl_data_clear dd sz_tl_data_clear tl_info_clear dd sz_tl_info_clear tl_key dd sz_tl_key tl_mouse dd sz_tl_mouse tl_draw dd sz_tl_draw tl_info_undo dd sz_tl_info_undo tl_info_redo dd sz_tl_info_redo tl_node_add dd sz_tl_node_add tl_node_set_data dd sz_tl_node_set_data tl_node_get_data dd sz_tl_node_get_data tl_node_delete dd sz_tl_node_delete tl_cur_beg dd sz_tl_cur_beg tl_cur_next dd sz_tl_cur_next tl_cur_perv dd sz_tl_cur_perv ;tl_node_close_open dd sz_tl_node_close_open tl_node_lev_inc dd sz_tl_node_lev_inc tl_node_lev_dec dd sz_tl_node_lev_dec ted_but_sumb_upper dd sz_ted_but_sumb_upper ted_but_sumb_lover dd sz_ted_but_sumb_lover ted_but_convert_by_table dd sz_ted_but_convert_by_table ted_can_save dd sz_ted_can_save ted_clear dd sz_ted_clear ted_delete dd sz_ted_delete ted_draw dd sz_ted_draw ted_init dd sz_ted_init ted_init_scroll_bars dd sz_ted_init_scroll_bars ted_init_syntax_file dd sz_ted_init_syntax_file ted_is_select dd sz_ted_is_select ted_key dd sz_ted_key ted_mouse dd sz_ted_mouse ted_open_file dd sz_ted_open_file ted_save_file dd sz_ted_save_file ted_text_add dd sz_ted_text_add ted_but_select_word dd sz_ted_but_select_word ted_but_cut dd sz_ted_but_cut ted_but_copy dd sz_ted_but_copy ted_but_paste dd sz_ted_but_paste ted_but_undo dd sz_ted_but_undo ted_but_redo dd sz_ted_but_redo ted_but_reverse dd sz_ted_but_reverse ted_but_find dd sz_ted_but_find ted_but_replace dd sz_ted_but_replace ted_text_colored dd sz_ted_text_colored ted_go_to_position dd sz_ted_go_to_position version_text_edit dd sz_ted_version dd 0,0 alib_init0 db 'lib_init',0 aEdit_box_draw db 'edit_box_draw',0 aEdit_box_key db 'edit_box_key',0 aEdit_box_mouse db 'edit_box_mouse',0 ;aEdit_box_set_text db 'edit_box_set_text',0 ;aVersion_ed db 'version_ed',0 ainit_checkbox db 'init_checkbox2',0 acheck_box_draw db 'check_box_draw2',0 acheck_box_mouse db 'check_box_mouse2',0 aOption_box_draw db 'option_box_draw',0 aOption_box_mouse db 'option_box_mouse',0 ;aVersion_op db 'version_op',0 aScrollbar_ver_draw db 'scrollbar_v_draw',0 aScrollbar_ver_mouse db 'scrollbar_v_mouse',0 aScrollbar_hor_draw db 'scrollbar_h_draw',0 aScrollbar_hor_mouse db 'scrollbar_h_mouse',0 ;aVersion_scrollbar db 'version_scrollbar',0 sz_tl_data_init db 'tl_data_init',0 sz_tl_data_clear db 'tl_data_clear',0 sz_tl_info_clear db 'tl_info_clear',0 sz_tl_key db 'tl_key',0 sz_tl_mouse db 'tl_mouse',0 sz_tl_draw db 'tl_draw',0 sz_tl_info_undo db 'tl_info_undo',0 sz_tl_info_redo db 'tl_info_redo',0 sz_tl_node_add db 'tl_node_add',0 sz_tl_node_set_data db 'tl_node_set_data',0 sz_tl_node_get_data db 'tl_node_get_data',0 sz_tl_node_delete db 'tl_node_delete',0 sz_tl_cur_beg db 'tl_cur_beg',0 sz_tl_cur_next db 'tl_cur_next',0 sz_tl_cur_perv db 'tl_cur_perv',0 ;sz_tl_node_close_open db 'tl_node_close_open',0 sz_tl_node_lev_inc db 'tl_node_lev_inc',0 sz_tl_node_lev_dec db 'tl_node_lev_dec',0 sz_ted_but_sumb_upper db 'ted_but_sumb_upper',0 sz_ted_but_sumb_lover db 'ted_but_sumb_lover',0 sz_ted_but_convert_by_table db 'ted_but_convert_by_table',0 sz_ted_can_save db 'ted_can_save',0 sz_ted_clear db 'ted_clear',0 sz_ted_delete db 'ted_delete',0 sz_ted_draw db 'ted_draw',0 sz_ted_init db 'ted_init',0 sz_ted_init_scroll_bars db 'ted_init_scroll_bars',0 sz_ted_init_syntax_file db 'ted_init_syntax_file',0 sz_ted_is_select db 'ted_is_select',0 sz_ted_key db 'ted_key',0 sz_ted_mouse db 'ted_mouse',0 sz_ted_open_file db 'ted_open_file',0 sz_ted_save_file db 'ted_save_file',0 sz_ted_text_add db 'ted_text_add',0 sz_ted_but_select_word db 'ted_but_select_word',0 sz_ted_but_cut db 'ted_but_cut',0 sz_ted_but_copy db 'ted_but_copy',0 sz_ted_but_paste db 'ted_but_paste',0 sz_ted_but_undo db 'ted_but_undo',0 sz_ted_but_redo db 'ted_but_redo',0 sz_ted_but_reverse db 'ted_but_reverse',0 sz_ted_but_find db 'ted_but_find',0 sz_ted_but_replace db 'ted_but_replace',0 sz_ted_text_colored db 'ted_text_colored',0 sz_ted_go_to_position db 'ted_go_to_position',0 sz_ted_version db 'version_text_edit',0 align 4 import_proclib: OpenDialog_Init dd aOpenDialog_Init OpenDialog_Start dd aOpenDialog_Start dd 0,0 aOpenDialog_Init db 'OpenDialog_init',0 aOpenDialog_Start db 'OpenDialog_start',0 align 4 import_msgbox_lib: mb_create dd amb_create mb_reinit dd amb_reinit mb_setfunctions dd amb_setfunctions dd 0,0 amb_create db 'mb_create',0 amb_reinit db 'mb_reinit',0 amb_setfunctions db 'mb_setfunctions',0 align 4 import_libimg: dd alib_init1 img_to_rgb2 dd aimg_to_rgb2 img_decode dd aimg_decode img_destroy dd aimg_destroy dd 0,0 alib_init1 db 'lib_init',0 aimg_to_rgb2 db 'img_to_rgb2',0 aimg_decode db 'img_decode',0 ;автоматически определяет формат графических данных aimg_destroy db 'img_destroy',0 align 4 import_libini: dd alib_init2 ini_get_str dd aini_get_str ini_get_int dd aini_get_int ini_get_color dd aini_get_color dd 0,0 alib_init2 db 'lib_init',0 aini_get_str db 'ini_get_str',0 aini_get_int db 'ini_get_int',0 aini_get_color db 'ini_get_color',0 align 4 import_libkmenu: kmenu_init dd akmenu_init kmainmenu_draw dd akmainmenu_draw kmainmenu_dispatch_cursorevent dd akmainmenu_dispatch_cursorevent ksubmenu_new dd aksubmenu_new ksubmenu_delete dd aksubmenu_delete ksubmenu_draw dd aksubmenu_draw ksubmenu_add dd aksubmenu_add kmenuitem_new dd akmenuitem_new kmenuitem_delete dd akmenuitem_delete kmenuitem_draw dd akmenuitem_draw dd 0,0 akmenu_init db 'kmenu_init',0 akmainmenu_draw db 'kmainmenu_draw',0 akmainmenu_dispatch_cursorevent db 'kmainmenu_dispatch_cursorevent',0 aksubmenu_new db 'ksubmenu_new',0 aksubmenu_delete db 'ksubmenu_delete',0 aksubmenu_draw db 'ksubmenu_draw',0 aksubmenu_add db 'ksubmenu_add',0 akmenuitem_new db 'kmenuitem_new',0 akmenuitem_delete db 'kmenuitem_delete',0 akmenuitem_draw db 'kmenuitem_draw',0 ;--------------------------------------------------------------------- align 4 wScr scrollbar 16,50, 300,50, 15, 100,30,0, 0,0,0, 1 align 4 hScr scrollbar 150,0, 16,50, 15, 100,30,0, 0,0,0, 1 ;дочерний скроллинг для элемента ListBox align 4 ws_dir_lbox scrollbar 16,0, 30,70, 15, 100,30,0, 0,0,0, 1 ;--------------------------------------------------------------------- align 4 OpenDialog_data: .type dd 0 .procinfo dd procinfo ;+4 .com_area_name dd communication_area_name ;+8 .com_area dd 0 ;+12 .opendir_path dd plugin_path ;+16 .dir_default_path dd default_dir ;+20 .start_path dd file_name ;+24 путь к диалогу открытия файлов .draw_window dd draw_window ;+28 .status dd 0 ;+32 .openfile_path dd openfile_path ;+36 путь к открываемому файлу .filename_area dd filename_area ;+40 имя открываемого файла .filter_area dd Filter .x: .x_size dw 420 ;+48 ; Window X size .x_start dw 10 ;+50 ; Window X position .y: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position default_dir db '/rd/1',0 ;директория по умолчанию communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: db '/rd/1/File managers/',0 Filter: dd Filter.end - Filter.1 .1: db 'ASM',0 db 'CPP',0 db 'INC',0 db 'MAC',0 db 'INI',0 db 'TXT',0 db 'H',0 db 'C',0 db 'HTM',0 db 'HTML',0 db 'PY',0 db 'SH',0 db 'BAT',0 db 'LUA',0 db 'INF',0 db 'LOG',0 db 'DBG',0 db 'DAT',0 .end: db 0 txt_Info db '" -tI',0 TED_PANEL_NULL equ 0 ;нет открытой панели TED_PANEL_FIND equ 1 ;панель поиска TED_PANEL_REPLACE equ 2 ;панель замены TED_PANEL_SYNTAX equ 3 ;панель выбора файлов подсветки TED_PANEL_GOTO equ 4 ;панель перехода TED_PANEL_WIDTH equ 150 ;ширина панели count_of_dir_list_files equ 15 ;максимальное число файлов синтаксиса показываемых в окне элемента tree1 ;------------------------------------------------------------------------------ struct TexSelect x0 dd ? y0 dd ? x1 dd ? y1 dd ? ends ;------------------------------------------------------------------------------ align 4 tedit0: ;структура текстового редактора .wnd BOX 0,50,440,150 ;+ 0 .rec BOX 30,25,ini_def_symbol_w,ini_def_symbol_h ;+16 .drag_m db 0 ;+32 выделение от мыши .drag_k db 0 ;+33 выделение от клавиатуры .sel TexSelect 0,0,0,0 ;+34 структура выделения .seln TexSelect ;+50 дополнительная структура выделения .tex dd 0 ;+66 text memory pointer .tex_1 dd 0 ;+70 text first symbol pointer .tex_end dd 0 ;+74 text end memory pointer .cur_x dd 0 ;+78 координата x курсора .cur_y dd 0 ;+82 координата y курсора .max_chars dd maxChars ;+86 максимальное число символов в одном документе .count_colors_text dd 1 ;+90 колличество цветов текста .count_key_words dd 0 ;+94 колличество ключевых слов .color_cursor dd 0x808080 ;+98 цвет курсора .color_wnd_capt dd 0x80 ;+102 цвет полей вокруг окна .color_wnd_work dd 0x0 ;+106 цвет фона окна .color_wnd_bord dd 0xd0d0d0 ;+110 цвет текста на полях .color_select dd 0x208080 ;+114 цвет выделения .color_cur_text dd 0xff0000 ;+118 цвет символа под курсором .color_wnd_text dd 0xffff00 ;+122 цвет текста в окне .syntax_file dd 0 ;+126 указатель на начало файла синтаксиса .syntax_file_size dd maxSyntaxFileSize ;+130 максимальный размер файла синтаксиса .text_colors dd 0 ;+134 указатель на массив цветов текста .help_text_f1 dd 0 ;+138 указатель на текст справки (по нажатии F1) .help_id dd -1 ;+142 идентификатор для справки .key_words_data dd 0 ;+146 указатель на структуры ключевых слов TexColViv .tim_ch dd ? ;+150 количество изменений в файле .tim_undo dd ? ;+154 количество отмененных действий .tim_ls dd ? ;+158 время последнего сохранения .tim_co dd ? ;+162 время последней цветовой разметки .el_focus dd el_focus ;+166 указатель на переменную элемента в фокусе .err_save db 0 ;+170 ошибка сохранения файла .panel_id db 0 ;+171 номер открытой панели .key_new db 0 ;+172 символ, который будет добавлятся с клавиатуры .symbol_new_line db 20 ;+173 символ завершения строки .scr_w dd wScr ;+174 вертикальный скроллинг .scr_h dd hScr ;+178 горизонтальный скроллинг .arr_key_pos dd 0 ;+182 указатель на массив позиций ключевых слов .buffer dd buf ;+186 указатель на буфер копирования/вставки .buffer_find dd buf_find ;+190 указатель на буфер для поиска .cur_ins db 1 ;+194 режим работы курсора (обычный или замена) .mode_color db 1 ;+195 режим выделения слов цветом (0-выкл. 1-вкл.) .mode_invis db 0 ;+196 режим показа непечатаемых символов .gp_opt db 0 ;+197 опции возвращаемые функцией ted_get_pos_by_cursor .fun_on_key_ctrl_all dd ted_but_ctrl_all ;+198 указатель на функцию вызываемую при нажатии Ctrl+N,O,S,F,H,G dd 0,0,0 ;зарезервировано .buffer_size dd BUF_SIZE ;+214 размер буфера копирования/вставки .fun_find_err dd ted_on_find_err ;+218 указатель на функцию вызываемую если поиск закончился неудачно .fun_init_synt_err dd 0 ;+222 .fun_draw_panel_buttons dd draw_but_toolbar ;+226 указатель на функцию рисования панели с кнопками .fun_draw_panels dd draw_panels ;+230 указатель на функцию рисования панели поиска/замены dd 0 ;+234 зарезервировано .fun_save_err dd ted_save_err_msg ;+238 указатель на функцию вызываемую если сохранение файла закончилось неудачно .increase_size dd 200 ;+242 число символов на которые будет увечиваться память при нехватке .ptr_free_symb dd ? ;+246 используется внутри элемента для ускорения вставки текста .font_size dd 0 ;+250 множитель для размера шрифта ;------------------------------------------------------------------------------ conv_tabl rb 128 ; таблица для конвертирования scan-кода в ascii-код el_focus dd tedit0 mouse_dd dd 0 tree1 tree_list 264,count_of_dir_list_files+2, tl_key_no_edit+tl_draw_par_line+tl_list_box_mode,\ 16,16, 0x8080ff,0x0000ff,0xffffff, 0,70,TED_PANEL_WIDTH-17,120, 0,0,0, el_focus,\ ws_dir_lbox,0 ;dir_list memory tree_file_struct: dd 1,0,0,count_of_dir_list_files dd dir_mem db 0 .f: dd file_name align 4 opt_gr1 dd opt1 opt_grlist1 dd opt1,opt2,opt3,0 ;end option group opt1 option_box opt_gr1, 5, 90,6,12,0xd0d0ff, 0xff, 0x80ff,txt_f_opt_next,txt_f_opt_next.end-txt_f_opt_next opt2 option_box opt_gr1, 5,108,6,12,0xd0d0ff, 0xff, 0x80ff,txt_f_opt_perv,txt_f_opt_perv.end-txt_f_opt_perv opt3 option_box opt_gr1, 5,126,6,12,0xd0d0ff, 0xff, 0x80ff,txt_f_opt_beg,txt_f_opt_beg.end-txt_f_opt_beg check_boxes: ch1 check_box2 (5 shl 16+12),(144 shl 16 +12),5,0xffffff,0,0x80ff,ch_text.1,ch_flag_en+ch_flag_middle check_boxes_end: if lang eq ru msgbox_1: db '"Замена',13,10,'Сделано замен: ' .z: rb 10 msgbox_2: db 3,0 db 'Внимание',0 db 'Сохранить изменения в файле?',0 db 'Сохранить',0 db 'Не сохранять',0 db 'Отмена',0 db 0 msgbox_3: db 1,0 db 'Внимание',0 db 'Ошибка при открытии файла с цветовыми настройками!',13,\ 'Потому выделение слов цветом не возможно.',13,\ ' (код ошибки =' .err: db '?' db ')',0 db 'Закрыть',0 db 0 msgbox_4: db 1,0 db 'Внимание',0 db 'Ошибка при открытии файла!',13,\ 'Возможно имя файла введено не правильно.',13,\ ' (код ошибки =' .err: db '?' db ')',0 db 'Закрыть',0 db 0 msgbox_6: db 1,0 db 'Внимание',0 db 'Ошибка при сохранении файла!',13,\ 'Возможно имя файла введено не правильно.',13,\ ' (код ошибки =' .err: db '?' db ')',0 db 'Закрыть',0 db 0 msgbox_7: db '"Текст не найден',13,10 db 'Попробуйте или изменить запрос и повторить поиск." -tI',0 msgbox_9: db 3,0 db 'Внимание',0 db 'Не открылся ',39,'диалог открытия файла',39,'.',13 .fdp: rb 100 db 0 db 'Закрыть',0 db 0 txtFindCapt db 'Поиск:',0 txtFindNext db 'Найти далее',0 txtRerlaceCapt db 'Чем заменить:',0 txtRerlace db 'Заменить',0 txtRerlaceAll db 'Заменить все',0 txtFormatCapt db 'Формат',0 txtFormatApply db 'Применить',0 txtReplace db 'Заменить',0 txtReplaceAll db 'Заменить все',0 txtGotoCapt db 'Переход на строку:',0 txtGoto db 'Перейти',0 txt_f_opt_next: db 'Вниз' .end: db 0 txt_f_opt_perv: db 'Вверх' .end: db 0 txt_f_opt_beg: db 'С начала' .end: db 0 ch_text: .1 db 'Учитывать регистр',0 else msgbox_1: db '"Replace',13,10,'Made replacements: ' .z: rb 10 msgbox_2: db 3,0 db 'Warning',0 db 'Save changes to the file?',0 db 'Save',0 db 'Discard',0 db 'Cancel',0 db 0 msgbox_3: db 1,0 db 'Warning',0 db 'Error opening the file with the color settings!',13,\ 'Because color selection of words is not possible.',13,\ ' (error code =' .err: db '?' db ')',0 db 'Close',0 db 0 msgbox_4: db 1,0 db 'Warning',0 db 'Error opening file!',13,\ 'Maybe the file name is not entered correctly.',13,\ ' (error code =' .err: db '?' db ')',0 db 'Close',0 db 0 msgbox_6: db 1,0 db 'Warning',0 db 'Error saving file!',13,\ 'Maybe the file name is not entered correctly.',13,\ ' (error code =' .err: db '?' db ')',0 db 'Close',0 db 0 msgbox_7: db '"Text not found.',13,10 db 'Try change the query and search again." -tI',0 msgbox_9: db 3,0 db 'Warning',0 db 'Error run ',39,'open file dialog',39,'.',13 .fdp: rb 100 db 0 db 'Close',0 db 0 txtFindCapt db 'Search:',0 txtFindNext db 'Find next',0 txtRerlaceCapt db 'Replace with:',0 txtRerlace db 'Replace',0 txtRerlaceAll db 'Replace all',0 txtFormatCapt db 'Format',0 txtFormatApply db 'Apply',0 txtReplace db 'Replace',0 txtReplaceAll db 'Replace all',0 txtGotoCapt db 'Go to line:',0 txtGoto db 'Go to',0 txt_f_opt_next: db 'Down' .end: db 0 txt_f_opt_perv: db 'Up' .end: db 0 txt_f_opt_beg: db 'At first' .end: db 0 ch_text: .1 db 'Case sensitive',0 end if ;функции для кнопок в сообщениях msgbox_2N_funct: dd On_SaveAndNewFile dd On_NewFile dd 0 msgbox_2O_funct: dd On_SaveAndOpenFile dd ted_but_open_file.no_msg dd 0 msgbox_2E_funct: dd On_SaveAndExit dd On_Exit dd 0 KM_SHIFT equ 0x00010000 KM_CTRL equ 0x00020000 KM_ALT equ 0x00040000 KM_NUMLOCK equ 0x00080000 ; KEY CODES KEY_F1 equ 0x0000003B KEY_F2 equ 0x0000003C KEY_F3 equ 0x0000003D \ No newline at end of file +fn_col_option dd def_col_file fn_syntax_dir db 'info/',0 def_col_file db 'default.syn',0 exit_code dd 0 ;переменная используемая для выхода из программы panel_but rb 21 ;настройки отображения кнопок на панели ;значения задаваемые по умолчанию, без ini файла ini_def_window_t equ 20 ini_def_window_l equ 200 ini_def_window_w equ 570 ini_def_window_h equ 470 ini_def_symbol_w equ 7 ini_def_symbol_h equ 10 ini_def_font_s equ 0 ini_def_scroll_type equ 0 ;описание параматров для ini файла ini_name db 't_edit.ini',0 ini_sec_window db 'Window',0 key_window_t db 't',0 key_window_l db 'l',0 key_window_w db 'w',0 key_window_h db 'h',0 key_symbol_w db 'symbol_w',0 key_symbol_h db 'symbol_h',0 key_font_s db 'font_s',0 key_scroll_type db 'scroll_type',0 key_but_new db 'but_new',0 key_but_open db 'but_open',0 key_but_save db 'but_save',0 key_but_save_as db 'but_save_as',0 key_but_select db 'but_select',0 key_but_cut db 'but_cut',0 key_but_copy db 'but_copy',0 key_but_paste db 'but_paste',0 key_but_find db 'but_find',0 key_but_replace db 'but_replace',0 key_but_key_words db 'but_key_words',0 key_but_upper db 'but_upper',0 key_but_lower db 'but_lower',0 key_but_reverse db 'but_reverse',0 key_but_undo db 'but_undo',0 key_but_redo db 'but_redo',0 key_but_invisible db 'but_invisible',0 key_but_syntax_list db 'but_syntax_list',0 key_but_syntax_mode db 'but_syntax_mode',0 key_but_convert_1251_866 db 'but_convert_1251_866',0 key_but_convert_866_1251 db 'but_convert_866_1251',0 ini_sec_options db 'Options',0 key_synt_file: db 'syntax_' .numb: db '0',0 key_synt_ext: db 'ext_' .numb: db '0',0 ini_def_synt_f db 0 align 4 max_synt_auto_open equ 10 synt_auto_open: rb 64*max_synt_auto_open db 0 system_dir_0 db '/sys/lib/' lib_name_0 db 'box_lib.obj',0 system_dir_1 db '/sys/lib/' lib_name_1 db 'msgbox.obj',0 system_dir_2 db '/sys/lib/' lib_name_2 db 'proc_lib.obj',0 system_dir_3 db '/sys/lib/' lib_name_3 db 'libimg.obj',0 system_dir_4 db '/sys/lib/' lib_name_4 db 'libini.obj',0 system_dir_5 db '/sys/lib/' lib_name_5 db 'kmenu.obj',0 ;--------------------------------------------------------------------- align 4 import_box_lib: dd alib_init0 ;функция запускается макросом 1 раз при подключении бибилиотеки, потому в программе метка на нее не нужна edit_box_draw dd aEdit_box_draw edit_box_key dd aEdit_box_key edit_box_mouse dd aEdit_box_mouse ;edit_box_set_text dd aEdit_box_set_text ;version_ed dd aVersion_ed init_checkbox dd ainit_checkbox check_box_draw dd acheck_box_draw check_box_mouse dd acheck_box_mouse option_box_draw dd aOption_box_draw option_box_mouse dd aOption_box_mouse ;version_op dd aVersion_op scrollbar_ver_draw dd aScrollbar_ver_draw scrollbar_ver_mouse dd aScrollbar_ver_mouse scrollbar_hor_draw dd aScrollbar_hor_draw scrollbar_hor_mouse dd aScrollbar_hor_mouse ;version_scrollbar dd aVersion_scrollbar tl_data_init dd sz_tl_data_init tl_data_clear dd sz_tl_data_clear tl_info_clear dd sz_tl_info_clear tl_key dd sz_tl_key tl_mouse dd sz_tl_mouse tl_draw dd sz_tl_draw tl_info_undo dd sz_tl_info_undo tl_info_redo dd sz_tl_info_redo tl_node_add dd sz_tl_node_add tl_node_set_data dd sz_tl_node_set_data tl_node_get_data dd sz_tl_node_get_data tl_node_delete dd sz_tl_node_delete tl_cur_beg dd sz_tl_cur_beg tl_cur_next dd sz_tl_cur_next tl_cur_perv dd sz_tl_cur_perv ;tl_node_close_open dd sz_tl_node_close_open tl_node_lev_inc dd sz_tl_node_lev_inc tl_node_lev_dec dd sz_tl_node_lev_dec ted_but_sumb_upper dd sz_ted_but_sumb_upper ted_but_sumb_lover dd sz_ted_but_sumb_lover ted_but_convert_by_table dd sz_ted_but_convert_by_table ted_can_save dd sz_ted_can_save ted_clear dd sz_ted_clear ted_delete dd sz_ted_delete ted_draw dd sz_ted_draw ted_init dd sz_ted_init ted_init_scroll_bars dd sz_ted_init_scroll_bars ted_init_syntax_file dd sz_ted_init_syntax_file ted_is_select dd sz_ted_is_select ted_key dd sz_ted_key ted_mouse dd sz_ted_mouse ted_open_file dd sz_ted_open_file ted_save_file dd sz_ted_save_file ted_text_add dd sz_ted_text_add ted_but_select_word dd sz_ted_but_select_word ted_but_cut dd sz_ted_but_cut ted_but_copy dd sz_ted_but_copy ted_but_paste dd sz_ted_but_paste ted_but_undo dd sz_ted_but_undo ted_but_redo dd sz_ted_but_redo ted_but_reverse dd sz_ted_but_reverse ted_but_find dd sz_ted_but_find ted_but_replace dd sz_ted_but_replace ted_text_colored dd sz_ted_text_colored ted_go_to_position dd sz_ted_go_to_position version_text_edit dd sz_ted_version dd 0,0 alib_init0 db 'lib_init',0 aEdit_box_draw db 'edit_box_draw',0 aEdit_box_key db 'edit_box_key',0 aEdit_box_mouse db 'edit_box_mouse',0 ;aEdit_box_set_text db 'edit_box_set_text',0 ;aVersion_ed db 'version_ed',0 ainit_checkbox db 'init_checkbox2',0 acheck_box_draw db 'check_box_draw2',0 acheck_box_mouse db 'check_box_mouse2',0 aOption_box_draw db 'option_box_draw',0 aOption_box_mouse db 'option_box_mouse',0 ;aVersion_op db 'version_op',0 aScrollbar_ver_draw db 'scrollbar_v_draw',0 aScrollbar_ver_mouse db 'scrollbar_v_mouse',0 aScrollbar_hor_draw db 'scrollbar_h_draw',0 aScrollbar_hor_mouse db 'scrollbar_h_mouse',0 ;aVersion_scrollbar db 'version_scrollbar',0 sz_tl_data_init db 'tl_data_init',0 sz_tl_data_clear db 'tl_data_clear',0 sz_tl_info_clear db 'tl_info_clear',0 sz_tl_key db 'tl_key',0 sz_tl_mouse db 'tl_mouse',0 sz_tl_draw db 'tl_draw',0 sz_tl_info_undo db 'tl_info_undo',0 sz_tl_info_redo db 'tl_info_redo',0 sz_tl_node_add db 'tl_node_add',0 sz_tl_node_set_data db 'tl_node_set_data',0 sz_tl_node_get_data db 'tl_node_get_data',0 sz_tl_node_delete db 'tl_node_delete',0 sz_tl_cur_beg db 'tl_cur_beg',0 sz_tl_cur_next db 'tl_cur_next',0 sz_tl_cur_perv db 'tl_cur_perv',0 ;sz_tl_node_close_open db 'tl_node_close_open',0 sz_tl_node_lev_inc db 'tl_node_lev_inc',0 sz_tl_node_lev_dec db 'tl_node_lev_dec',0 sz_ted_but_sumb_upper db 'ted_but_sumb_upper',0 sz_ted_but_sumb_lover db 'ted_but_sumb_lover',0 sz_ted_but_convert_by_table db 'ted_but_convert_by_table',0 sz_ted_can_save db 'ted_can_save',0 sz_ted_clear db 'ted_clear',0 sz_ted_delete db 'ted_delete',0 sz_ted_draw db 'ted_draw',0 sz_ted_init db 'ted_init',0 sz_ted_init_scroll_bars db 'ted_init_scroll_bars',0 sz_ted_init_syntax_file db 'ted_init_syntax_file',0 sz_ted_is_select db 'ted_is_select',0 sz_ted_key db 'ted_key',0 sz_ted_mouse db 'ted_mouse',0 sz_ted_open_file db 'ted_open_file',0 sz_ted_save_file db 'ted_save_file',0 sz_ted_text_add db 'ted_text_add',0 sz_ted_but_select_word db 'ted_but_select_word',0 sz_ted_but_cut db 'ted_but_cut',0 sz_ted_but_copy db 'ted_but_copy',0 sz_ted_but_paste db 'ted_but_paste',0 sz_ted_but_undo db 'ted_but_undo',0 sz_ted_but_redo db 'ted_but_redo',0 sz_ted_but_reverse db 'ted_but_reverse',0 sz_ted_but_find db 'ted_but_find',0 sz_ted_but_replace db 'ted_but_replace',0 sz_ted_text_colored db 'ted_text_colored',0 sz_ted_go_to_position db 'ted_go_to_position',0 sz_ted_version db 'version_text_edit',0 align 4 import_proclib: OpenDialog_Init dd aOpenDialog_Init OpenDialog_Start dd aOpenDialog_Start dd 0,0 aOpenDialog_Init db 'OpenDialog_init',0 aOpenDialog_Start db 'OpenDialog_start',0 align 4 import_msgbox_lib: mb_create dd amb_create mb_reinit dd amb_reinit mb_setfunctions dd amb_setfunctions dd 0,0 amb_create db 'mb_create',0 amb_reinit db 'mb_reinit',0 amb_setfunctions db 'mb_setfunctions',0 align 4 import_libimg: dd alib_init1 img_to_rgb2 dd aimg_to_rgb2 img_decode dd aimg_decode img_destroy dd aimg_destroy dd 0,0 alib_init1 db 'lib_init',0 aimg_to_rgb2 db 'img_to_rgb2',0 aimg_decode db 'img_decode',0 ;автоматически определяет формат графических данных aimg_destroy db 'img_destroy',0 align 4 import_libini: dd alib_init2 ini_get_str dd aini_get_str ini_get_int dd aini_get_int ini_get_color dd aini_get_color dd 0,0 alib_init2 db 'lib_init',0 aini_get_str db 'ini_get_str',0 aini_get_int db 'ini_get_int',0 aini_get_color db 'ini_get_color',0 align 4 import_libkmenu: kmenu_init dd akmenu_init kmainmenu_draw dd akmainmenu_draw kmainmenu_dispatch_cursorevent dd akmainmenu_dispatch_cursorevent ksubmenu_new dd aksubmenu_new ksubmenu_delete dd aksubmenu_delete ksubmenu_draw dd aksubmenu_draw ksubmenu_add dd aksubmenu_add kmenuitem_new dd akmenuitem_new kmenuitem_delete dd akmenuitem_delete kmenuitem_draw dd akmenuitem_draw dd 0,0 akmenu_init db 'kmenu_init',0 akmainmenu_draw db 'kmainmenu_draw',0 akmainmenu_dispatch_cursorevent db 'kmainmenu_dispatch_cursorevent',0 aksubmenu_new db 'ksubmenu_new',0 aksubmenu_delete db 'ksubmenu_delete',0 aksubmenu_draw db 'ksubmenu_draw',0 aksubmenu_add db 'ksubmenu_add',0 akmenuitem_new db 'kmenuitem_new',0 akmenuitem_delete db 'kmenuitem_delete',0 akmenuitem_draw db 'kmenuitem_draw',0 ;--------------------------------------------------------------------- align 4 wScr scrollbar 16,50, 300,50, 15, 100,30,0, 0,0,0, 1 align 4 hScr scrollbar 150,0, 16,50, 15, 100,30,0, 0,0,0, 1 ;дочерний скроллинг для элемента ListBox align 4 ws_dir_lbox scrollbar 16,0, 30,70, 15, 100,30,0, 0,0,0, 1 ;--------------------------------------------------------------------- align 4 OpenDialog_data: .type dd 0 .procinfo dd procinfo ;+4 .com_area_name dd communication_area_name ;+8 .com_area dd 0 ;+12 .opendir_path dd plugin_path ;+16 .dir_default_path dd default_dir ;+20 .start_path dd file_name ;+24 путь к диалогу открытия файлов .draw_window dd draw_window ;+28 .status dd 0 ;+32 .openfile_path dd openfile_path ;+36 путь к открываемому файлу .filename_area dd filename_area ;+40 имя открываемого файла .filter_area dd Filter .x: .x_size dw 420 ;+48 ; Window X size .x_start dw 10 ;+50 ; Window X position .y: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position default_dir db '/sys',0 ;директория по умолчанию communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 communication_area_default_path: db '/sys/File managers/',0 Filter: dd Filter.end - Filter.1 .1: db 'ASM',0 db 'CPP',0 db 'INC',0 db 'MAC',0 db 'INI',0 db 'TXT',0 db 'H',0 db 'C',0 db 'HTM',0 db 'HTML',0 db 'PY',0 db 'SH',0 db 'BAT',0 db 'LUA',0 db 'INF',0 db 'LOG',0 db 'DBG',0 db 'DAT',0 .end: db 0 txt_Info db '" -tI',0 TED_PANEL_NULL equ 0 ;нет открытой панели TED_PANEL_FIND equ 1 ;панель поиска TED_PANEL_REPLACE equ 2 ;панель замены TED_PANEL_SYNTAX equ 3 ;панель выбора файлов подсветки TED_PANEL_GOTO equ 4 ;панель перехода TED_PANEL_WIDTH equ 150 ;ширина панели count_of_dir_list_files equ 15 ;максимальное число файлов синтаксиса показываемых в окне элемента tree1 ;------------------------------------------------------------------------------ struct TexSelect x0 dd ? y0 dd ? x1 dd ? y1 dd ? ends ;------------------------------------------------------------------------------ align 4 tedit0: ;структура текстового редактора .wnd BOX 0,50,440,150 ;+ 0 .rec BOX 30,25,ini_def_symbol_w,ini_def_symbol_h ;+16 .drag_m db 0 ;+32 выделение от мыши .drag_k db 0 ;+33 выделение от клавиатуры .sel TexSelect 0,0,0,0 ;+34 структура выделения .seln TexSelect ;+50 дополнительная структура выделения .tex dd 0 ;+66 text memory pointer .tex_1 dd 0 ;+70 text first symbol pointer .tex_end dd 0 ;+74 text end memory pointer .cur_x dd 0 ;+78 координата x курсора .cur_y dd 0 ;+82 координата y курсора .max_chars dd maxChars ;+86 максимальное число символов в одном документе .count_colors_text dd 1 ;+90 колличество цветов текста .count_key_words dd 0 ;+94 колличество ключевых слов .color_cursor dd 0x808080 ;+98 цвет курсора .color_wnd_capt dd 0x80 ;+102 цвет полей вокруг окна .color_wnd_work dd 0x0 ;+106 цвет фона окна .color_wnd_bord dd 0xd0d0d0 ;+110 цвет текста на полях .color_select dd 0x208080 ;+114 цвет выделения .color_cur_text dd 0xff0000 ;+118 цвет символа под курсором .color_wnd_text dd 0xffff00 ;+122 цвет текста в окне .syntax_file dd 0 ;+126 указатель на начало файла синтаксиса .syntax_file_size dd maxSyntaxFileSize ;+130 максимальный размер файла синтаксиса .text_colors dd 0 ;+134 указатель на массив цветов текста .help_text_f1 dd 0 ;+138 указатель на текст справки (по нажатии F1) .help_id dd -1 ;+142 идентификатор для справки .key_words_data dd 0 ;+146 указатель на структуры ключевых слов TexColViv .tim_ch dd ? ;+150 количество изменений в файле .tim_undo dd ? ;+154 количество отмененных действий .tim_ls dd ? ;+158 время последнего сохранения .tim_co dd ? ;+162 время последней цветовой разметки .el_focus dd el_focus ;+166 указатель на переменную элемента в фокусе .err_save db 0 ;+170 ошибка сохранения файла .panel_id db 0 ;+171 номер открытой панели .key_new db 0 ;+172 символ, который будет добавлятся с клавиатуры .symbol_new_line db 20 ;+173 символ завершения строки .scr_w dd wScr ;+174 вертикальный скроллинг .scr_h dd hScr ;+178 горизонтальный скроллинг .arr_key_pos dd 0 ;+182 указатель на массив позиций ключевых слов .buffer dd buf ;+186 указатель на буфер копирования/вставки .buffer_find dd buf_find ;+190 указатель на буфер для поиска .cur_ins db 1 ;+194 режим работы курсора (обычный или замена) .mode_color db 1 ;+195 режим выделения слов цветом (0-выкл. 1-вкл.) .mode_invis db 0 ;+196 режим показа непечатаемых символов .gp_opt db 0 ;+197 опции возвращаемые функцией ted_get_pos_by_cursor .fun_on_key_ctrl_all dd ted_but_ctrl_all ;+198 указатель на функцию вызываемую при нажатии Ctrl+N,O,S,F,H,G dd 0,0,0 ;зарезервировано .buffer_size dd BUF_SIZE ;+214 размер буфера копирования/вставки .fun_find_err dd ted_on_find_err ;+218 указатель на функцию вызываемую если поиск закончился неудачно .fun_init_synt_err dd 0 ;+222 .fun_draw_panel_buttons dd draw_but_toolbar ;+226 указатель на функцию рисования панели с кнопками .fun_draw_panels dd draw_panels ;+230 указатель на функцию рисования панели поиска/замены dd 0 ;+234 зарезервировано .fun_save_err dd ted_save_err_msg ;+238 указатель на функцию вызываемую если сохранение файла закончилось неудачно .increase_size dd 200 ;+242 число символов на которые будет увечиваться память при нехватке .ptr_free_symb dd ? ;+246 используется внутри элемента для ускорения вставки текста .font_size dd 0 ;+250 множитель для размера шрифта ;------------------------------------------------------------------------------ conv_tabl rb 128 ; таблица для конвертирования scan-кода в ascii-код el_focus dd tedit0 mouse_dd dd 0 tree1 tree_list 264,count_of_dir_list_files+2, tl_key_no_edit+tl_draw_par_line+tl_list_box_mode,\ 16,16, 0x8080ff,0x0000ff,0xffffff, 0,70,TED_PANEL_WIDTH-17,120, 0,0,0, el_focus,\ ws_dir_lbox,0 ;dir_list memory tree_file_struct: dd 1,0,0,count_of_dir_list_files dd dir_mem db 0 .f: dd file_name align 4 opt_gr1 dd opt1 opt_grlist1 dd opt1,opt2,opt3,0 ;end option group opt1 option_box opt_gr1, 5, 90,6,12,0xd0d0ff, 0xff, 0x80ff,txt_f_opt_next,txt_f_opt_next.end-txt_f_opt_next opt2 option_box opt_gr1, 5,108,6,12,0xd0d0ff, 0xff, 0x80ff,txt_f_opt_perv,txt_f_opt_perv.end-txt_f_opt_perv opt3 option_box opt_gr1, 5,126,6,12,0xd0d0ff, 0xff, 0x80ff,txt_f_opt_beg,txt_f_opt_beg.end-txt_f_opt_beg check_boxes: ch1 check_box2 (5 shl 16+12),(144 shl 16 +12),5,0xffffff,0,0x80ff,ch_text.1,ch_flag_en+ch_flag_middle check_boxes_end: if lang eq ru msgbox_1: db '"Замена',13,10,'Сделано замен: ' .z: rb 10 msgbox_2: db 3,0 db 'Внимание',0 db 'Сохранить изменения в файле?',0 db 'Сохранить',0 db 'Не сохранять',0 db 'Отмена',0 db 0 msgbox_3: db 1,0 db 'Внимание',0 db 'Ошибка при открытии файла с цветовыми настройками!',13,\ 'Потому выделение слов цветом не возможно.',13,\ ' (код ошибки =' .err: db '?' db ')',0 db 'Закрыть',0 db 0 msgbox_4: db 1,0 db 'Внимание',0 db 'Ошибка при открытии файла!',13,\ 'Возможно имя файла введено не правильно.',13,\ ' (код ошибки =' .err: db '?' db ')',0 db 'Закрыть',0 db 0 msgbox_6: db 1,0 db 'Внимание',0 db 'Ошибка при сохранении файла!',13,\ 'Возможно имя файла введено не правильно.',13,\ ' (код ошибки =' .err: db '?' db ')',0 db 'Закрыть',0 db 0 msgbox_7: db '"Текст не найден',13,10 db 'Попробуйте или изменить запрос и повторить поиск." -tI',0 msgbox_9: db 3,0 db 'Внимание',0 db 'Не открылся ',39,'диалог открытия файла',39,'.',13 .fdp: rb 100 db 0 db 'Закрыть',0 db 0 txtFindCapt db 'Поиск:',0 txtFindNext db 'Найти далее',0 txtRerlaceCapt db 'Чем заменить:',0 txtRerlace db 'Заменить',0 txtRerlaceAll db 'Заменить все',0 txtFormatCapt db 'Формат',0 txtFormatApply db 'Применить',0 txtReplace db 'Заменить',0 txtReplaceAll db 'Заменить все',0 txtGotoCapt db 'Переход на строку:',0 txtGoto db 'Перейти',0 txt_f_opt_next: db 'Вниз' .end: db 0 txt_f_opt_perv: db 'Вверх' .end: db 0 txt_f_opt_beg: db 'С начала' .end: db 0 ch_text: .1 db 'Учитывать регистр',0 else msgbox_1: db '"Replace',13,10,'Made replacements: ' .z: rb 10 msgbox_2: db 3,0 db 'Warning',0 db 'Save changes to the file?',0 db 'Save',0 db 'Discard',0 db 'Cancel',0 db 0 msgbox_3: db 1,0 db 'Warning',0 db 'Error opening the file with the color settings!',13,\ 'Because color selection of words is not possible.',13,\ ' (error code =' .err: db '?' db ')',0 db 'Close',0 db 0 msgbox_4: db 1,0 db 'Warning',0 db 'Error opening file!',13,\ 'Maybe the file name is not entered correctly.',13,\ ' (error code =' .err: db '?' db ')',0 db 'Close',0 db 0 msgbox_6: db 1,0 db 'Warning',0 db 'Error saving file!',13,\ 'Maybe the file name is not entered correctly.',13,\ ' (error code =' .err: db '?' db ')',0 db 'Close',0 db 0 msgbox_7: db '"Text not found.',13,10 db 'Try change the query and search again." -tI',0 msgbox_9: db 3,0 db 'Warning',0 db 'Error run ',39,'open file dialog',39,'.',13 .fdp: rb 100 db 0 db 'Close',0 db 0 txtFindCapt db 'Search:',0 txtFindNext db 'Find next',0 txtRerlaceCapt db 'Replace with:',0 txtRerlace db 'Replace',0 txtRerlaceAll db 'Replace all',0 txtFormatCapt db 'Format',0 txtFormatApply db 'Apply',0 txtReplace db 'Replace',0 txtReplaceAll db 'Replace all',0 txtGotoCapt db 'Go to line:',0 txtGoto db 'Go to',0 txt_f_opt_next: db 'Down' .end: db 0 txt_f_opt_perv: db 'Up' .end: db 0 txt_f_opt_beg: db 'At first' .end: db 0 ch_text: .1 db 'Case sensitive',0 end if ;функции для кнопок в сообщениях msgbox_2N_funct: dd On_SaveAndNewFile dd On_NewFile dd 0 msgbox_2O_funct: dd On_SaveAndOpenFile dd ted_but_open_file.no_msg dd 0 msgbox_2E_funct: dd On_SaveAndExit dd On_Exit dd 0 KM_SHIFT equ 0x00010000 KM_CTRL equ 0x00020000 KM_ALT equ 0x00040000 KM_NUMLOCK equ 0x00080000 ; KEY CODES KEY_F1 equ 0x0000003B KEY_F2 equ 0x0000003C KEY_F3 equ 0x0000003D \ No newline at end of file diff --git a/programs/system/format/format.asm b/programs/system/format/format.asm index 42c83bc452..fdbd099db8 100644 --- a/programs/system/format/format.asm +++ b/programs/system/format/format.asm @@ -607,7 +607,7 @@ draw_super_text: Buf: .1 db 'NONAME18',0,0 ;.3 db 'hd0 [4Gb]',0,0 ;100 dup(0) - .5 rb 512 ;db '/rd/1/format/fat32mbr.bin', 0, 0 + .5 rb 512 ;db '/sys/format/fat32mbr.bin', 0, 0 initBuf: push eax ecx @@ -697,10 +697,10 @@ OpenDialog_data: .y_size dw 320 ;+52 ; Window y size .y_start dw 10 ;+54 ; Window Y position -default_dir db '/rd/1',0 ;фшЁхъЄюЁш  яю єьюыўрэш■ +default_dir db '/sys',0 ;фшЁхъЄюЁш  яю єьюыўрэш■ communication_area_name: db 'FFFFFFFF_open_dialog',0 open_dialog_name: db 'opendial',0 -communication_area_default_path: db '/rd/1/File managers/',0 +communication_area_default_path: db '/sys/File managers/',0 Filter: dd Filter.end - Filter.1 diff --git a/programs/system/hdd_info/trunk/hdd_info.asm b/programs/system/hdd_info/trunk/hdd_info.asm index c5b6a2b4b8..7ec7c19f36 100644 --- a/programs/system/hdd_info/trunk/hdd_info.asm +++ b/programs/system/hdd_info/trunk/hdd_info.asm @@ -1679,7 +1679,7 @@ op4 option_box option_group1,154,44,6,9,0xffffff,0x0,0,0,0 option_group1 dd op1 Option_boxs dd op1,op2,op3,op4,0 ;--------------------------------------------------------------------- -;file_name db '/rd/1/hdd_',0 +;file_name db '/sys/hdd_',0 ;times 128 db (0) ;--------------------------------------------------------------------- struct f70 diff --git a/programs/system/icon/trunk/data.inc b/programs/system/icon/trunk/data.inc index 1a00cda1ee..8886ee1082 100644 --- a/programs/system/icon/trunk/data.inc +++ b/programs/system/icon/trunk/data.inc @@ -80,7 +80,7 @@ iconname: db ICON_APP,0 ;------------------------------------------------------------------------------ icon_default: - db 'AA-CALC -004-/RD/1/CALC ' + db 'AA-CALC -004-/SYS/CALC ' db '- *' db 13,10 ;------------------------------------------------------------------------------ diff --git a/programs/system/icon/trunk/icon.asm b/programs/system/icon/trunk/icon.asm index eb0b213e18..de9985c954 100644 --- a/programs/system/icon/trunk/icon.asm +++ b/programs/system/icon/trunk/icon.asm @@ -66,7 +66,7 @@ ICON_SIZE equ 32*32*4 REC_SIZE equ 80 ICONS_DAT equ '/sys/icons.dat' ICON_APP equ '/sys/ICON' -ICON_STRIP equ '/rd/1/iconstrp.png' +ICON_STRIP equ '/sys/iconstrp.png' ;------------------------------------------------------------------------------ use32 org 0x0 diff --git a/programs/system/icon_new/icon.ini b/programs/system/icon_new/icon.ini index 5ef318656a..6d859c945e 100644 --- a/programs/system/icon_new/icon.ini +++ b/programs/system/icon_new/icon.ini @@ -3,7 +3,7 @@ Управление темой=skincfg Настройка фона=/sys/media/palitra Настройка устройств=setup -Консоль=/rd/1/shell +Консоль=/sys/shell [00] name=KFM diff --git a/programs/system/run/trunk/run.txt b/programs/system/run/trunk/run.txt index 75dd7aff54..03402ae35a 100644 --- a/programs/system/run/trunk/run.txt +++ b/programs/system/run/trunk/run.txt @@ -9,7 +9,7 @@ MODIFY 15.05.2007 Kolibri team Введите полный путь к исполняемому файлу и нажмите кнопку "ЗАПУСТИТЬ" или клавишу Enter. Запуск программ с параметрами - Поставте пробел после пути к файлу и вводите параметры. Если в пути к файлу + Поставьте пробел после пути к файлу и вводите параметры. Если в пути к файлу есть пробелы, его необходимо выделить кавычками (тогда пробелом разделять необязательно). Примеры diff --git a/programs/system/shell/Docs_rus.txt b/programs/system/shell/Docs_rus.txt index 40a368a3bf..9cddf4322d 100644 --- a/programs/system/shell/Docs_rus.txt +++ b/programs/system/shell/Docs_rus.txt @@ -69,7 +69,7 @@ waitfor ╤ъЁшяЄ√ ш чряєёъ эр шёяюыэхэшх ======================================= ┼ёыш шь  шёяюыэшьюую Їрщыр эрўшэрхЄё  ё / Єю ёўшЄрхЄё  ўЄю яєЄ№  ты хЄё  рсёюы■Єэ√ь. -┬ яЁюЄштэюь ёыєўрх, яюшёъ ёэрўрыр яЁютюфшЄё  т Єхъє∙хь ърЄрыюух, р чрЄхь т /rd/1. +┬ яЁюЄштэюь ёыєўрх, яюшёъ ёэрўрыр яЁютюфшЄё  т Єхъє∙хь ърЄрыюух, р чрЄхь т /sys. ─рыхх, хёыш Їрщы эрщфхэ, яЁютхЁ ■Єё  яхЁт√х 4 срщЄр эр ёшуэрЄєЁє #SHS. ╤ ¤Єющ ёшуэрЄєЁ√ эрўшэрхЄё  ъюьрэфэ√щ (яръхЄэ√щ) Їрщы. diff --git a/programs/system/shell/modules/module_executable.c b/programs/system/shell/modules/module_executable.c index 26a2a149d6..e0f07cefa6 100644 --- a/programs/system/shell/modules/module_executable.c +++ b/programs/system/shell/modules/module_executable.c @@ -19,7 +19,7 @@ int executable_run(char cmd[], char args[]) { if ( !file_check(exec) ) // check file existense { - strcpy(exec, "/rd/1/"); // check file on virtual disk + strcpy(exec, "/sys/"); // check file on virtual disk strcat(exec, cmd); if ( !file_check(exec) ) // check file existense { diff --git a/programs/testing/kbd/trunk/readme.txt b/programs/testing/kbd/trunk/readme.txt index 4162618510..17521dc669 100644 --- a/programs/testing/kbd/trunk/readme.txt +++ b/programs/testing/kbd/trunk/readme.txt @@ -39,7 +39,7 @@ VIA KT880 ┬ырфхы№Ў√ фрээ√ї ўшяёхЄют ьюуєЄ (яЁш цхырэшш) яюьхёЄшЄ№ ¤Єє яЁюуЁрььє т ртЄючруЁєчъє ё ярЁрьхЄЁюь boot. ─ы  ¤Єюую т autorun.dat эхюсїюфшью яюьхёЄшЄ№,эряЁшьхЁ, Єръє■ ёЄЁюъє: -"/RD/1/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors", +"/SYS/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors", эх чрс√т яЁш ¤Єюь єтхышўшЄ№ ъюышўхёЄтю чряєёърхь√ї яЁюуЁрьь эр юфэє т ёрьюь эрўрых Їрщыр autorun.dat. diff --git a/programs/testing/mgb/trunk/mgb.asm b/programs/testing/mgb/trunk/mgb.asm index fe1208a3a7..55d6d799b7 100644 --- a/programs/testing/mgb/trunk/mgb.asm +++ b/programs/testing/mgb/trunk/mgb.asm @@ -1012,7 +1012,7 @@ else db '/sys/File Managers/opendial',0 end if communication_area_default_pach: - db '/rd0/1/',0 + db '/sys/',0 Filter: dd Filter.end - Filter @@ -1025,7 +1025,7 @@ sign db ?,0 start_temp_file_name: db 'results.mgb',0 -path4 db '/rd/1/results.mgb',0 +path4 db '/sys/results.mgb',0 ;--------------------------------------------------------------------- align 4 params_f73: