From 88003056550018919a89abff1c83f1f37c6d5ec9 Mon Sep 17 00:00:00 2001 From: vitalkrilov Date: Thu, 6 Jan 2022 19:34:04 +0000 Subject: [PATCH] Fixed all misuse of "/rd/1" (changed to "/sys"; all except "/programs/*" and "/kernel/*") ati2d: fixed log creation git-svn-id: svn://kolibrios.org@9583 a494cfbc-eb01-0410-851d-a64ba20cac60 --- build.txt | 2 +- .../EXAMPLE/libguic_kolibri/dbutton_files.c | 50 +++---- .../libguic_kolibri/editor_tree_msgbox.c | 2 +- contrib/C_Layer/INCLUDE/kolibri_colordialog.h | 96 ++++++------- contrib/C_Layer/INCLUDE/kolibri_filebrowse.h | 4 +- contrib/C_Layer/INCLUDE/kolibri_opendialog.h | 134 +++++++++--------- contrib/media/fplay/opendial.asm | 6 +- contrib/sdk/fasm/mpg123.asm | 6 +- contrib/sdk/samples/freetype/txview/main.c | 2 +- .../sources/SDL-1.2.2/SDL_ttf/test/ttftest.c | 4 +- .../sdk/sources/newlib/libc/crt/opendial.S | 6 +- .../sources/newlib/libc/sdk/fasm/mpg123.asm | 6 +- data/ca/docs/CONFIG.TXT | 10 +- data/ca/docs/MTDBG.TXT | 6 +- data/common/drivers/acpi/readme.txt | 4 +- data/common/drivers/atikms/readme.txt | 2 +- data/common/drivers/i915/readme.txt | 4 +- data/common/drivers/vmware/readme.txt | 2 +- .../emul/DosBox/DOSBox Manual (Rus).htm | 2 +- data/common/index_htm | 2 +- data/common/network/users.ini | 4 +- data/eng/docs/CONFIG.TXT | 10 +- data/eng/docs/MTDBG.TXT | 6 +- data/et/docs/CONFIG.TXT | 10 +- data/et/docs/MTDBG.TXT | 6 +- data/it/docs/CONFIG.TXT | 8 +- data/it/docs/MTDBG.TXT | 6 +- data/rus/docs/CONFIG.TXT | 10 +- data/rus/docs/MTDBG.TXT | 6 +- data/sp/docs/CONFIG.TXT | 10 +- data/sp/docs/MTDBG.TXT | 6 +- drivers/devman/acpi.c | 2 +- drivers/devman/acpinfo/main.c | 4 +- drivers/examples/test/drv_test.c | 2 +- drivers/old/agp/agp.c | 4 +- drivers/old/ati2d/ati2d.c | 4 +- drivers/old/radeonhd/rhd.c | 4 +- 37 files changed, 226 insertions(+), 226 deletions(-) diff --git a/build.txt b/build.txt index 013c62041e..600704a025 100644 --- a/build.txt +++ b/build.txt @@ -250,7 +250,7 @@ A7. First, you need to build the corresponding binary as described in Q1/A1 or Q2/A2. To test a program, it is sufficient to put it to some place accessible to the working KolibriOS and just run it from there. Drivers are loaded - from the folder /rd/1/drivers/, which is initialized from kolibri.img, + from the folder /rd/1/drivers, which is initialized from kolibri.img, so testing a driver requires either copying the compiled binary to /rd/1/drivers manually between KolibriOS startup and loading driver or inserting the driver to the image kolibri.img outside of KolibriOS. diff --git a/contrib/C_Layer/EXAMPLE/libguic_kolibri/dbutton_files.c b/contrib/C_Layer/EXAMPLE/libguic_kolibri/dbutton_files.c index de0bd53675..5778a86712 100644 --- a/contrib/C_Layer/EXAMPLE/libguic_kolibri/dbutton_files.c +++ b/contrib/C_Layer/EXAMPLE/libguic_kolibri/dbutton_files.c @@ -30,13 +30,13 @@ char* load_file_inmem(char* fname, int32_t* read_sz); // see below void* read_folderdata(char* name); void control_minimal_window_size(int wmin, int hmin); -int main(int argc, char **argv) -{ - /* Load all libraries, initialize global tables like system color table and - operations table. kolibri_gui_init() will EXIT with mcall -1 if it fails - to do it's job. This is all you need to call and all libraries and GUI - elements can be used after a successful call to this function - */ +int main(int argc, char **argv) +{ + /* Load all libraries, initialize global tables like system color table and + operations table. kolibri_gui_init() will EXIT with mcall -1 if it fails + to do it's job. This is all you need to call and all libraries and GUI + elements can be used after a successful call to this function + */ kolibri_gui_init(); kolibri_proclib_init(); // opensave && color dialogs kolibri_libimg_init(); // png handling @@ -71,7 +71,7 @@ int main(int argc, char **argv) free(filedata); // creating GUI using library functions - kolibri_window *main_window = kolibri_new_window(50, 40, 430, 500, "PictureButton and File dialog demo"); + kolibri_window *main_window = kolibri_new_window(50, 40, 430, 500, "PictureButton and File dialog demo"); pict_button tbar[3]; gui_add_pict_button(main_window, kolibri_pict_button(&tbar[0], X_Y(10, 16), X_Y(10, 16), image_data_rgb, image_data_rgb + icon_rgb_size, image_data_rgb + icon_rgb_size * 2, 24, NULL, 0)); @@ -90,7 +90,7 @@ int main(int argc, char **argv) gui_add_pathview(main_window, kolibri_pathview(&pview, X_Y(10, 50), 330, 1, 0, dlg_opensave->openfile_path, temp_path, 0, 0)); // black font, no background, font 1 filebrowser brows; - filedata = load_file_inmem("/rd/1/File managers/z_icons.png", &read_bytes); + filedata = load_file_inmem("/sys/File managers/z_icons.png", &read_bytes); image_data_rgb = malloc(icon_rgb_size * 20); // we know size // юяЁхфхы хь тшф шчюсЁрцхэш  ш яхЁхтюфшь хую тю тЁхьхээ√щ сєЇхЁ image_data image_data = (*img_decode)(filedata, read_bytes, 0); @@ -100,16 +100,16 @@ int main(int argc, char **argv) (*img_destroy)(image_data); free(filedata); - filedata = load_file_inmem("/rd/1/File managers/icons.ini", &read_bytes); + filedata = load_file_inmem("/sys/File managers/icons.ini", &read_bytes); gui_add_filebrowser(main_window, kolibri_filebrowser(&brows, X_Y(10, 400), X_Y(80, 300), X_Y(6, 9), X_Y(16, 16), image_data_rgb, NULL, 24, filedata, filedata + read_bytes, 0x00FF00, 0xbbddff, 0x000000, 0xFFFFFF, 0xFF0000)); // try devices "/" - good - brows.folder_data = read_folderdata("/rd/1"); + brows.folder_data = read_folderdata("/sys"); brows.select_panel_counter = 1; // if want to show selection - do /* Start of main activity loop */ + do /* Start of main activity loop */ { switch(gui_event) { @@ -127,14 +127,14 @@ int main(int argc, char **argv) //kolibri_handle_event_key(main_window); break; case KOLIBRI_EVENT_BUTTON: - pressed_button = get_os_button(); - switch (pressed_button) - { - case BTN_QUIT: - return 0; - break; - } - break; + pressed_button = get_os_button(); + switch (pressed_button) + { + case BTN_QUIT: + return 0; + break; + } + break; case KOLIBRI_EVENT_MOUSE: // mouse_pos = get_mouse_pos(POS_WINDOW); // window relative // mouse_button = get_mouse_eventstate(); @@ -189,14 +189,14 @@ int main(int argc, char **argv) brows.all_redraw = 0; } - break; + break; } gui_event = get_os_event(); - } while(1) ; /* End of main activity loop */ - - return 0; -} + } while(1) ; /* End of main activity loop */ + + return 0; +} char* load_file_inmem(char* fname, int32_t* read_sz) diff --git a/contrib/C_Layer/EXAMPLE/libguic_kolibri/editor_tree_msgbox.c b/contrib/C_Layer/EXAMPLE/libguic_kolibri/editor_tree_msgbox.c index ecd42a8046..bd0d70c8c3 100644 --- a/contrib/C_Layer/EXAMPLE/libguic_kolibri/editor_tree_msgbox.c +++ b/contrib/C_Layer/EXAMPLE/libguic_kolibri/editor_tree_msgbox.c @@ -80,7 +80,7 @@ int main(int argc, char **argv) // load sample file //int res, len; - //res = editor_openfile(ed, "/rd/1/boardlog.txt", &len); + //res = editor_openfile(ed, "/sys/boardlog.txt", &len); //debug_board_printf("loaded sample file err=%d, len=%d\n", res, len); //adding sample text @cursor diff --git a/contrib/C_Layer/INCLUDE/kolibri_colordialog.h b/contrib/C_Layer/INCLUDE/kolibri_colordialog.h index 3418d76206..ada7dacb5d 100644 --- a/contrib/C_Layer/INCLUDE/kolibri_colordialog.h +++ b/contrib/C_Layer/INCLUDE/kolibri_colordialog.h @@ -1,49 +1,49 @@ -#ifndef KOLIBRI_COLORIALOG_H -#define KOLIBRI_COLORIALOG_H - -char cd_com_area_name[] = "FFFFFFFF_color_dialog"; -char cd_start_path[] = "/rd/1/colrdial"; - -typedef struct __attribute__ ((__packed__)) { - unsigned int type; - unsigned int procinfo; - unsigned int com_area_name; - unsigned int com_area; - unsigned int start_path; - unsigned int draw_window; - unsigned int status; - unsigned short x_size; - unsigned short x_start; - unsigned short y_size; - unsigned short y_start; - unsigned int color_type; - unsigned int color; -}color_dialog; - -void cd_fake_on_redraw(void) {} - -struct open_dialog* kolibri_new_color_dialog(unsigned int type, unsigned short tlx, unsigned short tly, unsigned short x_size, unsigned short y_size) -{ - color_dialog *new_colordialog = (color_dialog *)malloc(sizeof(color_dialog)); - char *proc_info = (char *)calloc(1024, sizeof(char)); - - new_colordialog -> type = type; - new_colordialog -> procinfo = proc_info; - new_colordialog -> com_area_name = &cd_com_area_name; - new_colordialog -> com_area = 0; - new_colordialog -> start_path = &cd_start_path; - new_colordialog -> draw_window = &cd_fake_on_redraw; - new_colordialog -> status = 0; - new_colordialog -> x_size = x_size; - new_colordialog -> x_start = tlx; - new_colordialog -> y_size = y_size; - new_colordialog -> y_start = tly; - new_colordialog -> color_type = 0; - new_colordialog -> color = 0; - return new_colordialog; -} - +#ifndef KOLIBRI_COLORIALOG_H +#define KOLIBRI_COLORIALOG_H + +char cd_com_area_name[] = "FFFFFFFF_color_dialog"; +char cd_start_path[] = "/sys/colrdial"; + +typedef struct __attribute__ ((__packed__)) { + unsigned int type; + unsigned int procinfo; + unsigned int com_area_name; + unsigned int com_area; + unsigned int start_path; + unsigned int draw_window; + unsigned int status; + unsigned short x_size; + unsigned short x_start; + unsigned short y_size; + unsigned short y_start; + unsigned int color_type; + unsigned int color; +}color_dialog; + +void cd_fake_on_redraw(void) {} + +struct open_dialog* kolibri_new_color_dialog(unsigned int type, unsigned short tlx, unsigned short tly, unsigned short x_size, unsigned short y_size) +{ + color_dialog *new_colordialog = (color_dialog *)malloc(sizeof(color_dialog)); + char *proc_info = (char *)calloc(1024, sizeof(char)); + + new_colordialog -> type = type; + new_colordialog -> procinfo = proc_info; + new_colordialog -> com_area_name = &cd_com_area_name; + new_colordialog -> com_area = 0; + new_colordialog -> start_path = &cd_start_path; + new_colordialog -> draw_window = &cd_fake_on_redraw; + new_colordialog -> status = 0; + new_colordialog -> x_size = x_size; + new_colordialog -> x_start = tlx; + new_colordialog -> y_size = y_size; + new_colordialog -> y_start = tly; + new_colordialog -> color_type = 0; + new_colordialog -> color = 0; + return new_colordialog; +} + extern void kolibri_proclib_init() __attribute__((__stdcall__)); -extern void (*ColorDialog_init)(color_dialog *) __attribute__((__stdcall__)); -extern void (*ColorDialog_start)(color_dialog *) __attribute__((__stdcall__)); -#endif /* KOLIBRI_COLORDIALOG_H */ +extern void (*ColorDialog_init)(color_dialog *) __attribute__((__stdcall__)); +extern void (*ColorDialog_start)(color_dialog *) __attribute__((__stdcall__)); +#endif /* KOLIBRI_COLORDIALOG_H */ diff --git a/contrib/C_Layer/INCLUDE/kolibri_filebrowse.h b/contrib/C_Layer/INCLUDE/kolibri_filebrowse.h index dc2b8a02aa..aefe074829 100644 --- a/contrib/C_Layer/INCLUDE/kolibri_filebrowse.h +++ b/contrib/C_Layer/INCLUDE/kolibri_filebrowse.h @@ -208,8 +208,8 @@ static inline filebrowser* kolibri_new_filebrowser(uint32_t x_w, uint32_t y_h, u inline filebrowser* kolibri_filebrowser_def(filebrowser* fb, uint32_t x_w, uint32_t y_h) { // load default icons and icon association - char icons_ini[] = "/rd/1/File managers/icons.ini"; - char icons16img[] = "/rd/1/File managers/z_icons.png"; + char icons_ini[] = "/sys/File managers/icons.ini"; + char icons16img[] = "/sys/File managers/z_icons.png"; return kolibri_filebrowser(fb, x_w, y_h, X_Y(9, 16), X_Y(16, 16), icon_raw_area, icon_palette_raw, icon_res, ini_file_start, ini_file_end, diff --git a/contrib/C_Layer/INCLUDE/kolibri_opendialog.h b/contrib/C_Layer/INCLUDE/kolibri_opendialog.h index aae01d4aa8..45452cd7db 100644 --- a/contrib/C_Layer/INCLUDE/kolibri_opendialog.h +++ b/contrib/C_Layer/INCLUDE/kolibri_opendialog.h @@ -1,74 +1,74 @@ -#ifndef KOLIBRI_OPENDIALOG_H -#define KOLIBRI_OPENDIALOG_H - -char sz_com_area_name[] = "FFFFFFFF_open_dialog"; -char sz_dir_default_path[] = "/rd/1"; -char sz_start_path[] = "/rd/1/File managers/opendial"; +#ifndef KOLIBRI_OPENDIALOG_H +#define KOLIBRI_OPENDIALOG_H + +char sz_com_area_name[] = "FFFFFFFF_open_dialog"; +char sz_dir_default_path[] = "/sys"; +char sz_start_path[] = "/sys/File managers/opendial"; enum open_dialog_mode { OPEN, SAVE, SELECT -}; - -typedef struct __attribute__ ((__packed__)) { - unsigned int size; - unsigned char end; -}od_filter; +}; + +typedef struct __attribute__ ((__packed__)) { + unsigned int size; + unsigned char end; +}od_filter; + +typedef struct __attribute__ ((__packed__)) { + unsigned int mode; + char* procinfo; + char* com_area_name; + unsigned int com_area; + char* opendir_path; + char* dir_default_path; + char* start_path; + void (*draw_window)(); + unsigned int status; + char* openfile_path; + char* filename_area; + od_filter* filter_area; + unsigned short x_size; + unsigned short x_start; + unsigned short y_size; + unsigned short y_start; +}open_dialog; + +void fake_on_redraw(void) {} + +open_dialog* kolibri_new_open_dialog(unsigned int mode, unsigned short tlx, unsigned short tly, unsigned short x_size, unsigned short y_size) +{ + open_dialog *new_opendialog = (open_dialog *)malloc(sizeof(open_dialog)); + od_filter *new_od_filter = (od_filter *)malloc(sizeof(od_filter)); + char *plugin_path = (char *)calloc(4096, sizeof(char)); + char *openfile_path = (char *)calloc(4096, sizeof(char)); + char *proc_info = (char *)calloc(1024, sizeof(char)); + char *filename_area = (char *)calloc(256, sizeof(char)); + + new_od_filter -> size = 0; + new_od_filter -> end = 0; + + new_opendialog -> mode = mode; + new_opendialog -> procinfo = proc_info; + new_opendialog -> com_area_name = sz_com_area_name; + new_opendialog -> com_area = 0; + new_opendialog -> opendir_path = plugin_path; + new_opendialog -> dir_default_path = sz_dir_default_path; + new_opendialog -> start_path = sz_start_path; + new_opendialog -> draw_window = &fake_on_redraw; + new_opendialog -> status = 0; + new_opendialog -> openfile_path = openfile_path; + new_opendialog -> filename_area = filename_area; + new_opendialog -> filter_area = new_od_filter; + new_opendialog -> x_size = x_size; + new_opendialog -> x_start = tlx; + new_opendialog -> y_size = y_size; + new_opendialog -> y_start = tly; + return new_opendialog; +} -typedef struct __attribute__ ((__packed__)) { - unsigned int mode; - char* procinfo; - char* com_area_name; - unsigned int com_area; - char* opendir_path; - char* dir_default_path; - char* start_path; - void (*draw_window)(); - unsigned int status; - char* openfile_path; - char* filename_area; - od_filter* filter_area; - unsigned short x_size; - unsigned short x_start; - unsigned short y_size; - unsigned short y_start; -}open_dialog; - -void fake_on_redraw(void) {} - -open_dialog* kolibri_new_open_dialog(unsigned int mode, unsigned short tlx, unsigned short tly, unsigned short x_size, unsigned short y_size) -{ - open_dialog *new_opendialog = (open_dialog *)malloc(sizeof(open_dialog)); - od_filter *new_od_filter = (od_filter *)malloc(sizeof(od_filter)); - char *plugin_path = (char *)calloc(4096, sizeof(char)); - char *openfile_path = (char *)calloc(4096, sizeof(char)); - char *proc_info = (char *)calloc(1024, sizeof(char)); - char *filename_area = (char *)calloc(256, sizeof(char)); - - new_od_filter -> size = 0; - new_od_filter -> end = 0; - - new_opendialog -> mode = mode; - new_opendialog -> procinfo = proc_info; - new_opendialog -> com_area_name = sz_com_area_name; - new_opendialog -> com_area = 0; - new_opendialog -> opendir_path = plugin_path; - new_opendialog -> dir_default_path = sz_dir_default_path; - new_opendialog -> start_path = sz_start_path; - new_opendialog -> draw_window = &fake_on_redraw; - new_opendialog -> status = 0; - new_opendialog -> openfile_path = openfile_path; - new_opendialog -> filename_area = filename_area; - new_opendialog -> filter_area = new_od_filter; - new_opendialog -> x_size = x_size; - new_opendialog -> x_start = tlx; - new_opendialog -> y_size = y_size; - new_opendialog -> y_start = tly; - return new_opendialog; -} - extern void kolibri_proclib_init(); -extern void (*OpenDialog_init)(open_dialog *) __attribute__((__stdcall__)); -extern void (*OpenDialog_start)(open_dialog *) __attribute__((__stdcall__)); -#endif /* KOLIBRI_OPENDIALOG_H */ +extern void (*OpenDialog_init)(open_dialog *) __attribute__((__stdcall__)); +extern void (*OpenDialog_start)(open_dialog *) __attribute__((__stdcall__)); +#endif /* KOLIBRI_OPENDIALOG_H */ diff --git a/contrib/media/fplay/opendial.asm b/contrib/media/fplay/opendial.asm index 0090d7ef33..d806892638 100644 --- a/contrib/media/fplay/opendial.asm +++ b/contrib/media/fplay/opendial.asm @@ -101,12 +101,12 @@ fake_on_redraw: section '.rdata' align 16 -sz_proc_lib db "/rd/1/lib/proc_lib.obj",0 +sz_proc_lib db "/sys/lib/proc_lib.obj",0 sz_OpenDialog_init db "OpenDialog_init",0 sz_OpenDialog_start db "OpenDialog_start",0 sz_com_area_name db "FFFFFFFF_open_dialog",0 -sz_dir_default_path db "/rd/1",0 -sz_start_path db "/rd/1/File managers/opendial",0 +sz_dir_default_path db "/sys",0 +sz_start_path db "/sys/File managers/opendial",0 section '.data' align 16 diff --git a/contrib/sdk/fasm/mpg123.asm b/contrib/sdk/fasm/mpg123.asm index f1fd58aa94..d9af25f5df 100644 --- a/contrib/sdk/fasm/mpg123.asm +++ b/contrib/sdk/fasm/mpg123.asm @@ -596,12 +596,12 @@ dd filefilter.end - filefilter -sz_proc_lib db "/rd/1/lib/proc_lib.obj",0 +sz_proc_lib db "/sys/lib/proc_lib.obj",0 sz_OpenDialog_init db "OpenDialog_init",0 sz_OpenDialog_start db "OpenDialog_start",0 sz_com_area_name db "FFFFFFFF_open_dialog",0 -sz_dir_default_path db "/rd/1",0 -sz_start_path db "/rd/1/File managers/opendial",0 +sz_dir_default_path db "/sys",0 +sz_start_path db "/sys/File managers/opendial",0 msg_print db '%s',0x0D,0x0A,0 msg_init_fail db 'Cannot initialize mpg123 library: %s', 0x0D,0x0A,0 diff --git a/contrib/sdk/samples/freetype/txview/main.c b/contrib/sdk/samples/freetype/txview/main.c index ffc1b036ee..15d367a57e 100644 --- a/contrib/sdk/samples/freetype/txview/main.c +++ b/contrib/sdk/samples/freetype/txview/main.c @@ -59,7 +59,7 @@ int main(int argc, char *argv[]) ::"a"(40), "b"(0xc0000027)); if(argc < 2) - uf = load_file("/RD/1/EXAMPLE.ASM"); + uf = load_file("/SYS/EXAMPLE.ASM"); else uf = load_file(argv[1]); if(uf.data == NULL || diff --git a/contrib/sdk/sources/SDL-1.2.2/SDL_ttf/test/ttftest.c b/contrib/sdk/sources/SDL-1.2.2/SDL_ttf/test/ttftest.c index 2456c659dc..790e54f227 100644 --- a/contrib/sdk/sources/SDL-1.2.2/SDL_ttf/test/ttftest.c +++ b/contrib/sdk/sources/SDL-1.2.2/SDL_ttf/test/ttftest.c @@ -31,8 +31,8 @@ int app_main(int argc, char *argv[]) SDL_printf("Couldn't initialize TTF library\n"); exit(-1); } - fnt=TTF_OpenFont("/RD/1/INDIGO.TTF",50); - fnt1=TTF_OpenFont("/RD/1/HYDROGEN.TTF",35); + fnt=TTF_OpenFont("/SYS/INDIGO.TTF",50); + fnt1=TTF_OpenFont("/SYS/HYDROGEN.TTF",35); TTF_SetFontStyle(fnt,TTF_STYLE_ITALIC|TTF_STYLE_BOLD|TTF_STYLE_UNDERLINE); txt=TTF_RenderText_Solid(fnt,"MenuetOS",kolor); if(!txt) diff --git a/contrib/sdk/sources/newlib/libc/crt/opendial.S b/contrib/sdk/sources/newlib/libc/crt/opendial.S index 416c1413d7..d17093a140 100644 --- a/contrib/sdk/sources/newlib/libc/crt/opendial.S +++ b/contrib/sdk/sources/newlib/libc/crt/opendial.S @@ -98,12 +98,12 @@ fake_on_redraw: section '.rdata' align 16 -sz_proc_lib db "/rd/1/lib/proc_lib.obj",0 +sz_proc_lib db "/sys/lib/proc_lib.obj",0 sz_OpenDialog_init db "OpenDialog_init",0 sz_OpenDialog_start db "OpenDialog_start",0 sz_com_area_name db "FFFFFFFF_open_dialog",0 -sz_dir_default_path db "/rd/1",0 -sz_start_path db "/rd/1/File managers/opendial",0 +sz_dir_default_path db "/sys",0 +sz_start_path db "/sys/File managers/opendial",0 section '.data' align 16 diff --git a/contrib/sdk/sources/newlib/libc/sdk/fasm/mpg123.asm b/contrib/sdk/sources/newlib/libc/sdk/fasm/mpg123.asm index f1fd58aa94..d9af25f5df 100644 --- a/contrib/sdk/sources/newlib/libc/sdk/fasm/mpg123.asm +++ b/contrib/sdk/sources/newlib/libc/sdk/fasm/mpg123.asm @@ -596,12 +596,12 @@ dd filefilter.end - filefilter -sz_proc_lib db "/rd/1/lib/proc_lib.obj",0 +sz_proc_lib db "/sys/lib/proc_lib.obj",0 sz_OpenDialog_init db "OpenDialog_init",0 sz_OpenDialog_start db "OpenDialog_start",0 sz_com_area_name db "FFFFFFFF_open_dialog",0 -sz_dir_default_path db "/rd/1",0 -sz_start_path db "/rd/1/File managers/opendial",0 +sz_dir_default_path db "/sys",0 +sz_start_path db "/sys/File managers/opendial",0 msg_print db '%s',0x0D,0x0A,0 msg_init_fail db 'Cannot initialize mpg123 library: %s', 0x0D,0x0A,0 diff --git a/data/ca/docs/CONFIG.TXT b/data/ca/docs/CONFIG.TXT index 75cae04612..3e4d35d178 100644 --- a/data/ca/docs/CONFIG.TXT +++ b/data/ca/docs/CONFIG.TXT @@ -11,8 +11,8 @@ a) Replace in the file autorun.dat (it is text file) the parameter for the program kiv ("\S__background.jpg") the name of file to the full Kolibri-path to JPEG-, BMP-, GIF- or PNG-image which you like. It will be new background. background.jpg now can be deleted. -b) Replace in the file autorun.dat "/RD/1/KIV \S__background.jpg" to - "/rd/1/PIC4" (spaces are ignored by the loader program). You can delete +b) Replace in the file autorun.dat "/SYS/KIV \S__background.jpg" to + "/sys/PIC4" (spaces are ignored by the loader program). You can delete BACKGROUND.JPG. New background will be nice texture. For programmers: you can change texture and color, for this in file pic4.asm from distributive sources change: @@ -74,11 +74,11 @@ c) Two previous points sets background for a long time (until next bus in order to decrease its temperature, a side effect is noise in AC97 codecs. The application can be loaded automatically at system boot, to do this add to autorun (file autorun.dat, see 3) a line of the form -"/RD/1/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". +"/SYS/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". 8. Network settings. Initial network configuration is read at boot from the ini file - /rd/1/network/zeroconf.ini. You can set automatic detection with DHCP + /sys/network/zeroconf.ini. You can set automatic detection with DHCP ("type=zeroconf") or fixed IP addresses ("type=static"). 9. Configuration of videomode for ATI videocards. @@ -88,7 +88,7 @@ c) Two previous points sets background for a long time (until next To set the mode at startup one must pass to the loader ATIKMS, described in AUTORUN.DAT, the argument -mxx, e.g. -/RD/1/DRIVERS/ATIKMS -m1024x768x60 -1 +/SYS/DRIVERS/ATIKMS -m1024x768x60 -1 Pay attention that the format of autorun.dat does not allow spaces in command line, so there must be no other arguments. diff --git a/data/ca/docs/MTDBG.TXT b/data/ca/docs/MTDBG.TXT index 52bbcd90c6..2e7f330d9d 100644 --- a/data/ca/docs/MTDBG.TXT +++ b/data/ca/docs/MTDBG.TXT @@ -26,8 +26,8 @@ and parameters pointed to following (if present). If no program is loaded, you can load a program with the command load [] Examples: -load /rd/1/example -LOAD /rd/1/aclock w200 h200 +load /sys/example +LOAD /sys/aclock w200 h200 LoaD /hd0/1/menuetos/dosbox/dosbox All that stays after first space after executable file name, is exactly passed to program as command string. @@ -44,7 +44,7 @@ by hand or generated automatically by fasm. Evident load can be done by command load-symbols Furthermore, when the debugger executes the command "load", it checks for presence of file with name as of loading binary and extension '.dbg' -(/rd/1/example.dbg in the first of examples above), and if such file exists, +(/sys/example.dbg in the first of examples above), and if such file exists, the debugger loads it automatically (with the message "Symbols loaded", if all is OK). diff --git a/data/common/drivers/acpi/readme.txt b/data/common/drivers/acpi/readme.txt index 3989872076..e91f0a6acd 100644 --- a/data/common/drivers/acpi/readme.txt +++ b/data/common/drivers/acpi/readme.txt @@ -5,7 +5,7 @@ To turn on APIC you have to: 1) Run Installer (install.kex) 2) Wait 3 seconds and get sure that there is a message about succesfull - file generation /rd/1/drivers/devices.dat + file generation /sys/drivers/devices.dat Note: log can be found in /tmp0/1/acpi.log 3) Make kernel restart (MENU -> END -> HOME key) 4) Check that kernel and drivers are working well. @@ -18,7 +18,7 @@ To turn on APIC you have to: 1) ╟ряєёЄшЄ№ єёЄрэют∙шъ (install.kex) 2) ╧юфюцфрЄ№ 3 ёхъєэф√ ш єсхфшЄ№ё , ўЄю яюърчрыюё№ ёююс∙хэшх - юс єёях°эющ ухэхЁрЎшш /rd/1/drivers/devices.dat + юс єёях°эющ ухэхЁрЎшш /sys/drivers/devices.dat ╦юу фЁрщтхЁр эрїюфшЄё  т /tmp0/1/acpi.log 3) ╤фхырЄ№ ЁхёЄрЁЄ  фЁр (╠хэ■ -> ╟ртхЁ°хэшх ЁрсюЄ√ -> ▀фЁю) 4) ╧ЁютхЁшЄ№ ЁрсюЄє  фЁр ш фЁрщтхЁют diff --git a/data/common/drivers/atikms/readme.txt b/data/common/drivers/atikms/readme.txt index 3f903bae4b..e0a890dde9 100644 --- a/data/common/drivers/atikms/readme.txt +++ b/data/common/drivers/atikms/readme.txt @@ -24,7 +24,7 @@ atikms.dll. ─ы  чряєёър шч autorun.dat ъюьрэфэр  ёЄЁюър эх фюыцэр ёюфхЁцрЄ№ яЁюсхыют. ╧ЁшьхЁ: -/RD/1/DRIVERS/ATIKMS -m1024x768x75-l/hd0/2/atikms.log 1 # +/SYS/DRIVERS/ATIKMS -m1024x768x75-l/hd0/2/atikms.log 1 # diff --git a/data/common/drivers/i915/readme.txt b/data/common/drivers/i915/readme.txt index d3f694e1f9..d33f024301 100644 --- a/data/common/drivers/i915/readme.txt +++ b/data/common/drivers/i915/readme.txt @@ -9,7 +9,7 @@ ╧рЁрьхЄЁ√ ъюьрэфэющ ёЄЁюъш: -l --log <яюыэ√щ яєЄ№ ъ ыюу-Їрщыє> - ╘рщы фюыцхэ ЁрёяюыюурЄ№ё  эр єёЄЁющёЄтх фюёЄєяхэюь фы  чряшёш. + ╘рщы фюыцхэ ЁрёяюырурЄ№ё  эр єёЄЁющёЄтх, фюёЄєяэюь фы  чряшёш. яю єьюыўрэш■ /rd/1/drivers/i915.log --fbc <-1,0,1> тъы■ўрхЄ ёцрЄшх тшфхюсєЇхЁр. ╤эшцрхЄ эруЁєчъє эр ёшёЄхьэє■ °шэє ш єьхэ№°рхЄ яюЄЁхсыхэшх ¤эхЁушш. @@ -24,7 +24,7 @@ ─ы  чряєёър шч autorun.dat ъюьрэфэр  ёЄЁюър эх фюыцэр ёюфхЁцрЄ№ яЁюсхыют. ╧ЁшьхЁ: -/RD/1/DRIVERS/I915 -l/hd0/2/i915.log 1 # +/SYS/DRIVERS/I915 -l/hd0/2/i915.log 1 # ─юяюыэшЄхы№э√х ярЁрьхЄЁ√ ъюьрэфэющ ёЄЁюъш. diff --git a/data/common/drivers/vmware/readme.txt b/data/common/drivers/vmware/readme.txt index 924a64449e..9a1cb0499b 100644 --- a/data/common/drivers/vmware/readme.txt +++ b/data/common/drivers/vmware/readme.txt @@ -15,7 +15,7 @@ ─ы  чряєёър шч autorun.dat ъюьрэфэр  ёЄЁюър эх фюыцэр ёюфхЁцрЄ№ яЁюсхыют. ╧ЁшьхЁ: -/RD/1/DRIVERS/vmwgfx -l/hd0/2/vmwgfx.log 1 # +/SYS/DRIVERS/vmwgfx -l/hd0/2/vmwgfx.log 1 # ╬ёюсхээюёЄш ЁхрышчрЎшш. diff --git a/data/common/emul/DosBox/DOSBox Manual (Rus).htm b/data/common/emul/DosBox/DOSBox Manual (Rus).htm index 560e27ddbf..bd526f10fa 100644 --- a/data/common/emul/DosBox/DOSBox Manual (Rus).htm +++ b/data/common/emul/DosBox/DOSBox Manual (Rus).htm @@ -195,7 +195,7 @@ DOSBox случаев легче использовать вместо них настроечный файл DOSBox. См. раздел "Настроечный файл" -Чтобы использовать ключи командной строки, запустите программу через /rd/1/run +Чтобы использовать ключи командной строки, запустите программу через /sys/run с параметрами или можно создать ярлык для dosbox. Опции доступны для всех операционных систем, если в их описании не сказано diff --git a/data/common/index_htm b/data/common/index_htm index 3c31021334..f932f72ede 100644 --- a/data/common/index_htm +++ b/data/common/index_htm @@ -8,7 +8,7 @@

If you can read this with an external html-browser then Kolibri networking is correctly set up. -

This file: /rd/1/index.htm +

This file: /sys/index.htm

  • TinyStat
  • diff --git a/data/common/network/users.ini b/data/common/network/users.ini index 85927c4354..49f994bf28 100644 --- a/data/common/network/users.ini +++ b/data/common/network/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/data/eng/docs/CONFIG.TXT b/data/eng/docs/CONFIG.TXT index 75cae04612..3e4d35d178 100644 --- a/data/eng/docs/CONFIG.TXT +++ b/data/eng/docs/CONFIG.TXT @@ -11,8 +11,8 @@ a) Replace in the file autorun.dat (it is text file) the parameter for the program kiv ("\S__background.jpg") the name of file to the full Kolibri-path to JPEG-, BMP-, GIF- or PNG-image which you like. It will be new background. background.jpg now can be deleted. -b) Replace in the file autorun.dat "/RD/1/KIV \S__background.jpg" to - "/rd/1/PIC4" (spaces are ignored by the loader program). You can delete +b) Replace in the file autorun.dat "/SYS/KIV \S__background.jpg" to + "/sys/PIC4" (spaces are ignored by the loader program). You can delete BACKGROUND.JPG. New background will be nice texture. For programmers: you can change texture and color, for this in file pic4.asm from distributive sources change: @@ -74,11 +74,11 @@ c) Two previous points sets background for a long time (until next bus in order to decrease its temperature, a side effect is noise in AC97 codecs. The application can be loaded automatically at system boot, to do this add to autorun (file autorun.dat, see 3) a line of the form -"/RD/1/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". +"/SYS/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". 8. Network settings. Initial network configuration is read at boot from the ini file - /rd/1/network/zeroconf.ini. You can set automatic detection with DHCP + /sys/network/zeroconf.ini. You can set automatic detection with DHCP ("type=zeroconf") or fixed IP addresses ("type=static"). 9. Configuration of videomode for ATI videocards. @@ -88,7 +88,7 @@ c) Two previous points sets background for a long time (until next To set the mode at startup one must pass to the loader ATIKMS, described in AUTORUN.DAT, the argument -mxx, e.g. -/RD/1/DRIVERS/ATIKMS -m1024x768x60 -1 +/SYS/DRIVERS/ATIKMS -m1024x768x60 -1 Pay attention that the format of autorun.dat does not allow spaces in command line, so there must be no other arguments. diff --git a/data/eng/docs/MTDBG.TXT b/data/eng/docs/MTDBG.TXT index 52bbcd90c6..2e7f330d9d 100644 --- a/data/eng/docs/MTDBG.TXT +++ b/data/eng/docs/MTDBG.TXT @@ -26,8 +26,8 @@ and parameters pointed to following (if present). If no program is loaded, you can load a program with the command load [] Examples: -load /rd/1/example -LOAD /rd/1/aclock w200 h200 +load /sys/example +LOAD /sys/aclock w200 h200 LoaD /hd0/1/menuetos/dosbox/dosbox All that stays after first space after executable file name, is exactly passed to program as command string. @@ -44,7 +44,7 @@ by hand or generated automatically by fasm. Evident load can be done by command load-symbols Furthermore, when the debugger executes the command "load", it checks for presence of file with name as of loading binary and extension '.dbg' -(/rd/1/example.dbg in the first of examples above), and if such file exists, +(/sys/example.dbg in the first of examples above), and if such file exists, the debugger loads it automatically (with the message "Symbols loaded", if all is OK). diff --git a/data/et/docs/CONFIG.TXT b/data/et/docs/CONFIG.TXT index 75cae04612..3e4d35d178 100644 --- a/data/et/docs/CONFIG.TXT +++ b/data/et/docs/CONFIG.TXT @@ -11,8 +11,8 @@ a) Replace in the file autorun.dat (it is text file) the parameter for the program kiv ("\S__background.jpg") the name of file to the full Kolibri-path to JPEG-, BMP-, GIF- or PNG-image which you like. It will be new background. background.jpg now can be deleted. -b) Replace in the file autorun.dat "/RD/1/KIV \S__background.jpg" to - "/rd/1/PIC4" (spaces are ignored by the loader program). You can delete +b) Replace in the file autorun.dat "/SYS/KIV \S__background.jpg" to + "/sys/PIC4" (spaces are ignored by the loader program). You can delete BACKGROUND.JPG. New background will be nice texture. For programmers: you can change texture and color, for this in file pic4.asm from distributive sources change: @@ -74,11 +74,11 @@ c) Two previous points sets background for a long time (until next bus in order to decrease its temperature, a side effect is noise in AC97 codecs. The application can be loaded automatically at system boot, to do this add to autorun (file autorun.dat, see 3) a line of the form -"/RD/1/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". +"/SYS/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". 8. Network settings. Initial network configuration is read at boot from the ini file - /rd/1/network/zeroconf.ini. You can set automatic detection with DHCP + /sys/network/zeroconf.ini. You can set automatic detection with DHCP ("type=zeroconf") or fixed IP addresses ("type=static"). 9. Configuration of videomode for ATI videocards. @@ -88,7 +88,7 @@ c) Two previous points sets background for a long time (until next To set the mode at startup one must pass to the loader ATIKMS, described in AUTORUN.DAT, the argument -mxx, e.g. -/RD/1/DRIVERS/ATIKMS -m1024x768x60 -1 +/SYS/DRIVERS/ATIKMS -m1024x768x60 -1 Pay attention that the format of autorun.dat does not allow spaces in command line, so there must be no other arguments. diff --git a/data/et/docs/MTDBG.TXT b/data/et/docs/MTDBG.TXT index 52bbcd90c6..2e7f330d9d 100644 --- a/data/et/docs/MTDBG.TXT +++ b/data/et/docs/MTDBG.TXT @@ -26,8 +26,8 @@ and parameters pointed to following (if present). If no program is loaded, you can load a program with the command load [] Examples: -load /rd/1/example -LOAD /rd/1/aclock w200 h200 +load /sys/example +LOAD /sys/aclock w200 h200 LoaD /hd0/1/menuetos/dosbox/dosbox All that stays after first space after executable file name, is exactly passed to program as command string. @@ -44,7 +44,7 @@ by hand or generated automatically by fasm. Evident load can be done by command load-symbols Furthermore, when the debugger executes the command "load", it checks for presence of file with name as of loading binary and extension '.dbg' -(/rd/1/example.dbg in the first of examples above), and if such file exists, +(/sys/example.dbg in the first of examples above), and if such file exists, the debugger loads it automatically (with the message "Symbols loaded", if all is OK). diff --git a/data/it/docs/CONFIG.TXT b/data/it/docs/CONFIG.TXT index b366468afc..4c98845899 100644 --- a/data/it/docs/CONFIG.TXT +++ b/data/it/docs/CONFIG.TXT @@ -17,7 +17,7 @@ Tra parentesi vengono riportati i nomi degli eseguibili dei singoli programmi. come nuovo sfondo ├и possibile eliminare il file background.jpg b) Modificare all'interno del file autorun.dat la voce - "/RD/1/KIV \S__background.jpg" in "/rd/1/PIC4". ├И possibile + "/SYS/KIV \S__background.jpg" in "/sys/PIC4". ├И possibile eliminare il file background.jpg e il nuovo sfondo sara una texture. Per i programmatori: @@ -87,12 +87,12 @@ Tra parentesi vengono riportati i nomi degli eseguibili dei singoli programmi. collaterale ├и del rumore nei codec AC97. L'applicazione pu├▓ essere caricata automaticamente all'avvio del sistema, in tal caso ├и necessario aggiungere la voce -"/RD/1/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". +"/SYS/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". al file autorun.dat 8. Impostazioni Network. le impostazioni iniziali sono lette durante l'avvio del sistema dal file - /rd/1/network/zeroconf.ini. + /sys/network/zeroconf.ini. ├И possibile impostare il rivelamento automatico con DHCP ("type=zeroconf") oppure impostare un indirizzo IP fissato ("type=static"). @@ -105,7 +105,7 @@ Tra parentesi vengono riportati i nomi degli eseguibili dei singoli programmi. Per impostare i parametri durante l'avvio ├и necessario passare tramite il file AUTORUN.DAT l'argomento -mxx al driver ATIKMS, ad esempio -/RD/1/DRIVERS/ATIKMS -m1024x768x60 -1 +/SYS/DRIVERS/ATIKMS -m1024x768x60 -1 Attenzione al fatto che il formato autorun.dat non accetta spazi, quindi non ├и possibile inserire ulteriori argomenti. Si pu├▓ inoltre disabilitare la possibilit├а di modificare i parametri durante l'avvio passando l'opzione -n. I driver supportano comunque il cursore hardware. Per disabilitare completamente il driver ├и sufficiente rimuovere la relativa voce dal file autorun.dat. diff --git a/data/it/docs/MTDBG.TXT b/data/it/docs/MTDBG.TXT index fdf12abba2..94f39c0e4d 100644 --- a/data/it/docs/MTDBG.TXT +++ b/data/it/docs/MTDBG.TXT @@ -29,8 +29,8 @@ eventuali parametri per il programma passati come argomenti successivi. momento con il comando load [] ad esempio: -load /rd/1/example -LOAD /rd/1/aclock w200 h200 +load /sys/example +LOAD /sys/aclock w200 h200 LoaD /hd0/1/menuetos/dosbox/dosbox negli esempi, mtdbg caricher├а il programma passato come primo argomenti, un eventuale secondo argomento ├и il parametro da passare al programma @@ -53,7 +53,7 @@ load-symbols Inoltre, quando viene eseguito il comando "load", mtdbg controller├а la presenza di un file contenente simboli relativi al programma e di estensione .dbg (nel primo esempio controlla la presenza del file -/rd/1/example.dbg). Se tale file esiste, questo viene caricato +/sys/example.dbg). Se tale file esiste, questo viene caricato automaticamente and if such file exists, e verr├а notificato tramite il messaggio "Symbols loaded", se il caricamento viene eseguito con successo. diff --git a/data/rus/docs/CONFIG.TXT b/data/rus/docs/CONFIG.TXT index 7bdbc7acd5..d569ba477b 100644 --- a/data/rus/docs/CONFIG.TXT +++ b/data/rus/docs/CONFIG.TXT @@ -12,8 +12,8 @@ вам JPEG-, BMP-, GIF- или PNG-картинке. При этом первые два символа означают оформление: \S (stretch) = растянуть картинку на экран, \T (tile) = замостить картинкой экран. Теперь background.jpg можно удалить. -б) В файле autorun.dat замените "/RD/1/KIV \S__background.jpg" на - "/rd/1/PIC4" (пробелы расставлять по вкусу). BACKGROUND.JPG +б) В файле autorun.dat замените "/SYS/KIV \S__background.jpg" на + "/sys/PIC4" (пробелы расставлять по вкусу). BACKGROUND.JPG можно удалить. Теперь фоном будет симпатичная текстура. Программистам на заметку: вы можете изменить текстуру и цвет, для этого в файле pic4.asm из исходников дистрибутива измените: @@ -79,11 +79,11 @@ с целью уменьшения его температуры, побочный эффект - наведение шума в AC97 кодеки. Программа имеет возможность автоматического вызова при загрузке системы, для этого добавьте в автозапуск (autorun.dat, см. п.3) строку вида -"/RD/1/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". +"/SYS/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". 8. Параметры сети. При загрузке параметры сети считываются из конфигурационного файла - /rd/1/network/zeroconf.ini. Можно задать либо автоопределение параметров + /sys/network/zeroconf.ini. Можно задать либо автоопределение параметров сети по DHCP ("type=zeroconf"), либо фиксированные адреса ("type=static"). 9. Настройка видеорежима для карт ATI. @@ -94,7 +94,7 @@ загрузчику ATIKMS, описанному в AUTORUN.DAT, нужно передать параметр -mxx, например, -/RD/1/DRIVERS/ATIKMS -m1024x768x60 -1 +/SYS/DRIVERS/ATIKMS -m1024x768x60 -1 Обратите внимание, что формат файла autorun.dat не предусматривает пробелов в командной строке, так что других аргументов быть не должно. diff --git a/data/rus/docs/MTDBG.TXT b/data/rus/docs/MTDBG.TXT index 39b53af744..bd2a82727d 100644 --- a/data/rus/docs/MTDBG.TXT +++ b/data/rus/docs/MTDBG.TXT @@ -28,8 +28,8 @@ mtdbg Если никакая программа не загружена, то можно загрузить программу командой 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 Всё, что стоит после первого пробела после имени исполняемого файла, дословно передаётся программе в качестве командной строки. @@ -48,7 +48,7 @@ LOAD /rd/1/aclock w200 h200 load-symbols <полное имя файла символов> Кроме того, при выполнении команды load отладчик проверяет наличие файла с таким же именем, как загружаемый бинарник, и расширением .dbg -(/rd/1/example.dbg для первом из примеров выше), и если такой есть, +(/sys/example.dbg для первом из примеров выше), и если такой есть, загружает его автоматически (выдавая сообщение "Symbols loaded", если всё в порядке). diff --git a/data/sp/docs/CONFIG.TXT b/data/sp/docs/CONFIG.TXT index 75cae04612..3e4d35d178 100644 --- a/data/sp/docs/CONFIG.TXT +++ b/data/sp/docs/CONFIG.TXT @@ -11,8 +11,8 @@ a) Replace in the file autorun.dat (it is text file) the parameter for the program kiv ("\S__background.jpg") the name of file to the full Kolibri-path to JPEG-, BMP-, GIF- or PNG-image which you like. It will be new background. background.jpg now can be deleted. -b) Replace in the file autorun.dat "/RD/1/KIV \S__background.jpg" to - "/rd/1/PIC4" (spaces are ignored by the loader program). You can delete +b) Replace in the file autorun.dat "/SYS/KIV \S__background.jpg" to + "/sys/PIC4" (spaces are ignored by the loader program). You can delete BACKGROUND.JPG. New background will be nice texture. For programmers: you can change texture and color, for this in file pic4.asm from distributive sources change: @@ -74,11 +74,11 @@ c) Two previous points sets background for a long time (until next bus in order to decrease its temperature, a side effect is noise in AC97 codecs. The application can be loaded automatically at system boot, to do this add to autorun (file autorun.dat, see 3) a line of the form -"/RD/1/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". +"/SYS/KBD BOOT 20 # Enable Bus Disconnect for AMD K7 processors". 8. Network settings. Initial network configuration is read at boot from the ini file - /rd/1/network/zeroconf.ini. You can set automatic detection with DHCP + /sys/network/zeroconf.ini. You can set automatic detection with DHCP ("type=zeroconf") or fixed IP addresses ("type=static"). 9. Configuration of videomode for ATI videocards. @@ -88,7 +88,7 @@ c) Two previous points sets background for a long time (until next To set the mode at startup one must pass to the loader ATIKMS, described in AUTORUN.DAT, the argument -mxx, e.g. -/RD/1/DRIVERS/ATIKMS -m1024x768x60 -1 +/SYS/DRIVERS/ATIKMS -m1024x768x60 -1 Pay attention that the format of autorun.dat does not allow spaces in command line, so there must be no other arguments. diff --git a/data/sp/docs/MTDBG.TXT b/data/sp/docs/MTDBG.TXT index 52bbcd90c6..2e7f330d9d 100644 --- a/data/sp/docs/MTDBG.TXT +++ b/data/sp/docs/MTDBG.TXT @@ -26,8 +26,8 @@ and parameters pointed to following (if present). If no program is loaded, you can load a program with the command load [] Examples: -load /rd/1/example -LOAD /rd/1/aclock w200 h200 +load /sys/example +LOAD /sys/aclock w200 h200 LoaD /hd0/1/menuetos/dosbox/dosbox All that stays after first space after executable file name, is exactly passed to program as command string. @@ -44,7 +44,7 @@ by hand or generated automatically by fasm. Evident load can be done by command load-symbols Furthermore, when the debugger executes the command "load", it checks for presence of file with name as of loading binary and extension '.dbg' -(/rd/1/example.dbg in the first of examples above), and if such file exists, +(/sys/example.dbg in the first of examples above), and if such file exists, the debugger loads it automatically (with the message "Symbols loaded", if all is OK). diff --git a/drivers/devman/acpi.c b/drivers/devman/acpi.c index 91620486f9..a6b68c7b77 100644 --- a/drivers/devman/acpi.c +++ b/drivers/devman/acpi.c @@ -625,7 +625,7 @@ uint32_t drvEntry(int action, char *cmdline) create_dm_list(); print_dm_list(); - write_device_dat("/RD/1/DRIVERS/DEVICES.DAT"); + write_device_dat("/SYS/DRIVERS/DEVICES.DAT"); err: return 0; diff --git a/drivers/devman/acpinfo/main.c b/drivers/devman/acpinfo/main.c index 9f52a04b55..45a1e5f48a 100644 --- a/drivers/devman/acpinfo/main.c +++ b/drivers/devman/acpinfo/main.c @@ -23,9 +23,9 @@ u32_t drvEntry(int action, char *cmdline) if(action != 1) return 0; - if( !dbg_open("/rd/1/drivers/acpi.log") ) + if( !dbg_open("/sys/drivers/acpi.log") ) { - printf("Can't open /rd/1/drivers/acpi.log\nExit\n"); + printf("Can't open /sys/drivers/acpi.log\nExit\n"); return 0; } diff --git a/drivers/examples/test/drv_test.c b/drivers/examples/test/drv_test.c index 42c5f5d5d3..a6930a3157 100644 --- a/drivers/examples/test/drv_test.c +++ b/drivers/examples/test/drv_test.c @@ -24,7 +24,7 @@ int main(int argc, char** argv){ drv = _ksys_load_driver(drv_name); break; case 2 : - drv_name = "/rd/1/drivers/c_drv.dll"; + drv_name = "/sys/drivers/c_drv.dll"; drv = _ksys_load_pe_driver(drv_name, NULL); break; default: diff --git a/drivers/old/agp/agp.c b/drivers/old/agp/agp.c index a43abfa1ca..4b9f2eca38 100644 --- a/drivers/old/agp/agp.c +++ b/drivers/old/agp/agp.c @@ -27,9 +27,9 @@ u32_t __stdcall drvEntry(int action) if(action != 1) return 0; - if(!dbg_open("/rd/1/drivers/agp.log")) + if(!dbg_open("/sys/drivers/agp.log")) { - printf("Can't open /rd/1/drivers/agp.log\nExit\n"); + printf("Can't open /sys/drivers/agp.log\nExit\n"); return 0; } diff --git a/drivers/old/ati2d/ati2d.c b/drivers/old/ati2d/ati2d.c index f58ab66d63..18ee5dea7a 100644 --- a/drivers/old/ati2d/ati2d.c +++ b/drivers/old/ati2d/ati2d.c @@ -43,9 +43,9 @@ u32_t __stdcall drvEntry(int action) if(action != 1) return 0; - if(!dbg_open("/bd0/2/ati2d.log")) + if(!dbg_open("/sys/drivers/ati2d.log")) { - printf("Can't open /rd/1/drivers/ati2d.log\nExit\n"); + printf("Can't open /sys/drivers/ati2d.log\nExit\n"); return 0; } if( GetScreenBpp() != 32) diff --git a/drivers/old/radeonhd/rhd.c b/drivers/old/radeonhd/rhd.c index 8846185c24..df8a61da5b 100644 --- a/drivers/old/radeonhd/rhd.c +++ b/drivers/old/radeonhd/rhd.c @@ -767,9 +767,9 @@ int __stdcall drvEntry(int action) if(action != 1) return 0; - if(!dbg_open("/rd/1/drivers/ati.txt")) + if(!dbg_open("/sys/drivers/ati.txt")) { - printf("Can't open /rd/1/drivers/ati.txt\nExit\n"); + printf("Can't open /sys/drivers/ati.txt\nExit\n"); return 0; } if(!FindPciDevice())