/build.txt |
---|
250,7 → 250,7 |
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. |
/contrib/C_Layer/EXAMPLE/libguic_kolibri/dbutton_files.c |
---|
90,7 → 90,7 |
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,13 → 100,13 |
(*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 */ |
/contrib/C_Layer/EXAMPLE/libguic_kolibri/editor_tree_msgbox.c |
---|
80,7 → 80,7 |
// 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 |
/contrib/C_Layer/INCLUDE/kolibri_colordialog.h |
---|
2,7 → 2,7 |
#define KOLIBRI_COLORIALOG_H |
char cd_com_area_name[] = "FFFFFFFF_color_dialog"; |
char cd_start_path[] = "/rd/1/colrdial"; |
char cd_start_path[] = "/sys/colrdial"; |
typedef struct __attribute__ ((__packed__)) { |
unsigned int type; |
/contrib/C_Layer/INCLUDE/kolibri_filebrowse.h |
---|
208,8 → 208,8 |
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, |
/contrib/C_Layer/INCLUDE/kolibri_opendialog.h |
---|
2,8 → 2,8 |
#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"; |
char sz_dir_default_path[] = "/sys"; |
char sz_start_path[] = "/sys/File managers/opendial"; |
enum open_dialog_mode { |
OPEN, |
/contrib/media/fplay/opendial.asm |
---|
101,12 → 101,12 |
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 |
/contrib/sdk/fasm/mpg123.asm |
---|
596,12 → 596,12 |
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 |
/contrib/sdk/samples/freetype/txview/main.c |
---|
59,7 → 59,7 |
::"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 || |
/contrib/sdk/sources/SDL-1.2.2/SDL_ttf/test/ttftest.c |
---|
31,8 → 31,8 |
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) |
/contrib/sdk/sources/newlib/libc/crt/opendial.S |
---|
98,12 → 98,12 |
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 |
/contrib/sdk/sources/newlib/libc/sdk/fasm/mpg123.asm |
---|
596,12 → 596,12 |
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 |
/data/ca/docs/CONFIG.TXT |
---|
11,8 → 11,8 |
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 |
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 |
To set the mode at startup one must pass to the loader ATIKMS, described |
in AUTORUN.DAT, the argument -m<width>x<height>x<refresh>, 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. |
/data/ca/docs/MTDBG.TXT |
---|
26,8 → 26,8 |
If no program is loaded, you can load a program with the command |
load <full name of executable file> [<parameters>] |
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 |
load-symbols <full name of symbols file> |
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). |
/data/common/drivers/acpi/readme.txt |
---|
5,7 → 5,7 |
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 |
1) Çàïóñòèòü óñòàíîâùèê (install.kex) |
2) Ïîäîæäàòü 3 ñåêóíäû è óáåäèòüñÿ, ÷òî ïîêàçàëîñü ñîîáùåíèå |
îá óñïåøíîé ãåíåðàöèè /rd/1/drivers/devices.dat |
îá óñïåøíîé ãåíåðàöèè /sys/drivers/devices.dat |
Ëîã äðàéâåðà íàõîäèòñÿ â /tmp0/1/acpi.log |
3) Ñäåëàòü ðåñòàðò ÿäðà (Ìåíþ -> Çàâåðøåíèå ðàáîòû -> ßäðî) |
4) Ïðîâåðèòü ðàáîòó ÿäðà è äðàéâåðîâ |
/data/common/drivers/atikms/readme.txt |
---|
24,7 → 24,7 |
Äëÿ çàïóñêà èç autorun.dat êîìàíäíàÿ ñòðîêà íå äîëæíà ñîäåðæàòü ïðîáåëîâ. |
Ïðèìåð: |
/RD/1/DRIVERS/ATIKMS -m1024x768x75-l/hd0/2/atikms.log 1 # |
/SYS/DRIVERS/ATIKMS -m1024x768x75-l/hd0/2/atikms.log 1 # |
/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 # |
Äîïîëíèòåëüíûå ïàðàìåòðû êîìàíäíîé ñòðîêè. |
/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 # |
Îñîáåííîñòè ðåàëèçàöèè. |
/data/common/emul/DosBox/DOSBox Manual (Rus).htm |
---|
195,7 → 195,7 |
á«ãç ¥¢ «¥£ç¥ ¨á¯®«ì§®¢ âì ¢¬¥áâ® ¨å áâ஥çë© ä ©« DOSBox. |
¬. à §¤¥« " áâ஥çë© ä ©«" |
â®¡ë ¨á¯®«ì§®¢ âì ª«îç¨ ª®¬ ¤®© áâப¨, § ¯ãáâ¨â¥ ¯à®£à ¬¬ã ç¥à¥§ /rd/1/run |
â®¡ë ¨á¯®«ì§®¢ âì ª«îç¨ ª®¬ ¤®© áâப¨, § ¯ãáâ¨â¥ ¯à®£à ¬¬ã ç¥à¥§ /sys/run |
á ¯ à ¬¥âà ¬¨ ¨«¨ ¬®¦® ᮧ¤ âì ïà«ëª ¤«ï dosbox. |
¯æ¨¨ ¤®áâã¯ë ¤«ï ¢á¥å ®¯¥à 樮ëå á¨á⥬, ¥á«¨ ¢ ¨å ®¯¨á ¨¨ ¥ ᪠§ ® |
/data/common/index_htm |
---|
8,7 → 8,7 |
<p> |
If you can read this with an external html-browser then Kolibri |
networking is correctly set up. |
<br><br>This file: /rd/1/index.htm |
<br><br>This file: /sys/index.htm |
</p> |
<ul> |
<li><a href="/TinyStat">TinyStat</a></li> |
/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 |
/data/eng/docs/CONFIG.TXT |
---|
11,8 → 11,8 |
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 |
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 |
To set the mode at startup one must pass to the loader ATIKMS, described |
in AUTORUN.DAT, the argument -m<width>x<height>x<refresh>, 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. |
/data/eng/docs/MTDBG.TXT |
---|
26,8 → 26,8 |
If no program is loaded, you can load a program with the command |
load <full name of executable file> [<parameters>] |
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 |
load-symbols <full name of symbols file> |
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). |
/data/et/docs/CONFIG.TXT |
---|
11,8 → 11,8 |
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 |
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 |
To set the mode at startup one must pass to the loader ATIKMS, described |
in AUTORUN.DAT, the argument -m<width>x<height>x<refresh>, 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. |
/data/et/docs/MTDBG.TXT |
---|
26,8 → 26,8 |
If no program is loaded, you can load a program with the command |
load <full name of executable file> [<parameters>] |
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 |
load-symbols <full name of symbols file> |
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). |
/data/it/docs/CONFIG.TXT |
---|
17,7 → 17,7 |
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 |
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 |
Per impostare i parametri durante l'avvio è necessario passare tramite |
il file AUTORUN.DAT l'argomento -m<larghezza>x<altezza>x<refresh> 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. |
/data/it/docs/MTDBG.TXT |
---|
29,8 → 29,8 |
momento con il comando |
load <percorso all'eseguibile> [<parametri>] |
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 |
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. |
/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, 㦮 ¯¥à¥¤ âì ¯ à ¬¥âà |
-m<width>x<height>x<refresh>, ¯à¨¬¥à, |
/RD/1/DRIVERS/ATIKMS -m1024x768x60 -1 |
/SYS/DRIVERS/ATIKMS -m1024x768x60 -1 |
¡à â¨â¥ ¢¨¬ ¨¥, çâ® ä®à¬ â ä ©« autorun.dat ¥ ¯à¥¤ãᬠâਢ ¥â ¯à®¡¥«®¢ |
¢ ª®¬ ¤®© áâப¥, â ª çâ® ¤à㣨å à£ã¬¥â®¢ ¡ëâì ¥ ¤®«¦®. |
/data/rus/docs/MTDBG.TXT |
---|
28,8 → 28,8 |
᫨ ¨ª ª ï ¯à®£à ¬¬ ¥ § £à㦥 , â® ¬®¦® § £à㧨âì ¯à®£à ¬¬ã ª®¬ ¤®© |
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-symbols <¯®«®¥ ¨¬ï ä ©« ᨬ¢®«®¢> |
஬¥ ⮣®, ¯à¨ ¢ë¯®«¥¨¨ ª®¬ ¤ë load ®â« ¤ç¨ª ¯à®¢¥àï¥â «¨ç¨¥ ä ©« |
á â ª¨¬ ¦¥ ¨¬¥¥¬, ª ª § £à㦠¥¬ë© ¡¨ ਪ, ¨ à áè¨à¥¨¥¬ .dbg |
(/rd/1/example.dbg ¤«ï ¯¥à¢®¬ ¨§ ¯à¨¬¥à®¢ ¢ëè¥), ¨ ¥á«¨ â ª®© ¥áâì, |
(/sys/example.dbg ¤«ï ¯¥à¢®¬ ¨§ ¯à¨¬¥à®¢ ¢ëè¥), ¨ ¥á«¨ â ª®© ¥áâì, |
§ £à㦠¥â ¥£® ¢â®¬ â¨ç¥áª¨ (¢ë¤ ¢ ï á®®¡é¥¨¥ "Symbols loaded", ¥á«¨ ¢áñ ¢ |
¯®à浪¥). |
/data/sp/docs/CONFIG.TXT |
---|
11,8 → 11,8 |
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 |
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 |
To set the mode at startup one must pass to the loader ATIKMS, described |
in AUTORUN.DAT, the argument -m<width>x<height>x<refresh>, 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. |
/data/sp/docs/MTDBG.TXT |
---|
26,8 → 26,8 |
If no program is loaded, you can load a program with the command |
load <full name of executable file> [<parameters>] |
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 |
load-symbols <full name of symbols file> |
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). |
/drivers/devman/acpi.c |
---|
625,7 → 625,7 |
create_dm_list(); |
print_dm_list(); |
write_device_dat("/RD/1/DRIVERS/DEVICES.DAT"); |
write_device_dat("/SYS/DRIVERS/DEVICES.DAT"); |
err: |
return 0; |
/drivers/devman/acpinfo/main.c |
---|
23,9 → 23,9 |
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; |
} |
/drivers/examples/test/drv_test.c |
---|
24,7 → 24,7 |
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: |
/drivers/old/agp/agp.c |
---|
27,9 → 27,9 |
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; |
} |
/drivers/old/ati2d/ati2d.c |
---|
43,9 → 43,9 |
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) |
/drivers/old/radeonhd/rhd.c |
---|
767,9 → 767,9 |
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()) |