changed path to /sys in some programs

git-svn-id: svn://kolibrios.org@539 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
SPraid (simba) 2007-06-08 15:54:05 +00:00
parent 7f9f16c0ff
commit 98a985b7d1
38 changed files with 109 additions and 108 deletions

View File

@ -210,6 +210,7 @@ fasm demos\trantest\trunk\trantest.asm %BIN%\demos\trantest
fasm demos\tube\trunk\tube.asm %BIN%\demos\tube
erase lang.inc
erase config.inc
echo *
echo Finished building
@ -387,7 +388,6 @@ echo *
)
:END
erase config.inc
echo *
echo Done. Thanks for your choise ;)
echo *

View File

@ -325,7 +325,7 @@ run_fileinfo:
dd 0
dd procinfo ; 0x10000
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0
@ -536,7 +536,7 @@ run_fileinfo:
dd 0
dd procinfo
run_filepath:
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0

View File

@ -7,7 +7,7 @@
; Last changed: February 2, 2005
;
BGIFONT_PATH equ '/RD/1/FONTS/'
BGIFONT_PATH equ '/sys/FONTS/'
_X equ 340
_Y equ 240

View File

@ -325,7 +325,7 @@ run_fileinfo:
dd 0
dd procinfo ; 0x10000
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0
@ -536,7 +536,7 @@ run_fileinfo:
dd 0
dd procinfo
run_filepath:
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0

View File

@ -2942,7 +2942,7 @@ dirinfo:
dd 0
dd 1
dd direntry_buffer
db '/RD/1',0
db '/sys',0
ipcb:
db 0

View File

@ -125,7 +125,7 @@ cdplayer:
dd 0
dd 0
dd 0
db '/RD/1/CDP',0
db '/sys/CDP',0
readir:
mov eax,42

View File

@ -42,7 +42,7 @@ fileinfo:
dd 0
dd 0
dd 0
db '/rd/1/calc',0
db '/sys/calc',0
i_end:
align 16

View File

@ -398,7 +398,7 @@ infile db 'example.asm'
times MAX_PATH+$-infile db 0
outfile db 'example'
times MAX_PATH+$-outfile db 0
path db '/rd/1/'
path db '/sys/'
times MAX_PATH+$-path db 0
lf db 13,10,0

View File

@ -46,7 +46,7 @@ file_info_start: ;this part is already rewrited to 70th function
fullpath_start: ; db '/RD/1/EXAMPLE'
times MAX_PATH db 0
_ramdisk db '/RD/1/'
_ramdisk db '/sys/'
filepos dd 0x0
; info by Privalov: starting from FASM 1.51

View File

@ -5,7 +5,7 @@
#include "string.h"
#include "mesys.h"
char* dllname="/rd/1/console.obj";
char* dllname="/sys/console.obj";
int i;
char* imports[] = {"START","version","con_init","con_write_asciiz","con_printf","con_exit",NULL};

View File

@ -30,8 +30,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
Всё, что стоит после первого пробела после имени исполняемого файла, дословно
передаётся программе в качестве командной строки.

View File

@ -639,34 +639,34 @@ fasm_start:
dd fasm_parameters
dd 0
dd 0
db '/RD/1/DEVELOP/FASM',0
db '/sys/DEVELOP/FASM',0
board_start:
dd 7
dd 0
dd 0
dd 0
dd 0
db '/RD/1/BOARD',0
db '/sys/DEVELOP/BOARD',0
tinypad_start:
dd 7
dd 0
dd ?
dd 0
dd 0
db '/RD/1/TINYPAD',0
db '/sys/TINYPAD',0
docpak_start:
dd 7
dd 0
dd sysfuncs_param
dd 0
dd 0
db '/RD/1/DOCPAK',0
db '/sys/DOCPAK',0
^@
sz app_fasm ,'/RD/1/DEVELOP/FASM',0
sz app_board ,'/RD/1/BOARD',0
sz app_tinypad ,'/RD/1/TINYPAD',0
sz app_docpak ,'/RD/1/DOCPAK',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/DOCPAK',0
sz sysfuncs_param,'g',0

View File

@ -322,7 +322,7 @@ run_fileinfo:
dd 0
dd procinfo ; 0x10000
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0
@ -533,7 +533,7 @@ run_fileinfo:
dd 0
dd procinfo
run_filepath:
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0

View File

@ -376,7 +376,7 @@ run_fileinfo:
dd 0
dd 0
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 1024 db 0
@ -587,7 +587,7 @@ run_fileinfo:
dd 0
dd 0
;run_filepath:
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 1024 db 0

View File

@ -2544,18 +2544,18 @@ b_color dd 0x6677cc
; //// Willow
;Name of programs
editor db '/RD/1/TINYPAD',0
editor db '/sys/TINYPAD',0
bmpview db '/sys/MV',0
jpgview db '/sys/JPEGVIEW',0
gifview db '/sys/GIFVIEW',0
ac97 db '/RD/1/AC97SND',0
rtfread db '/RD/1/RTFREAD',0
ac97 db '/sys/AC97SND',0
rtfread db '/sys/RTFREAD',0
; //// Willow
pngview db '/sys/@RCHER',0
; //// Willow
midamp db '/RD/1/MIDAMP',0
view3ds db '/RD/1/3D/VIEW3DS',0
life2 db '/RD/1/DEMOS/LIFE2',0
midamp db '/sys/MIDAMP',0
view3ds db '/sys/3D/VIEW3DS',0
life2 db '/sys/DEMOS/LIFE2',0
more_char db 10h
@ -2576,7 +2576,7 @@ clipfile_info:
dd 0
dd ?
dd paramtest
db '/RD/1/CLIPFILE.TXT',0
db '/sys/CLIPFILE.TXT',0
copyr_run:
dd 7
dd 0

View File

@ -377,7 +377,7 @@ run_fileinfo:
dd 0
dd procinfo ; 0x10000
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 1024 db 0
@ -589,7 +589,7 @@ run_fileinfo:
dd 0
dd procinfo
;run_filepath:
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 1024 db 0

View File

@ -322,7 +322,7 @@ run_fileinfo:
dd 0
dd procinfo ; 0x10000
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0
@ -533,7 +533,7 @@ run_fileinfo:
dd 0
dd procinfo
run_filepath:
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0

View File

@ -379,7 +379,7 @@ run_fileinfo:
dd 0
dd procinfo ; 0x10000
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0
@ -590,7 +590,7 @@ run_fileinfo:
dd 0
dd procinfo
run_filepath:
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 256 db 0

View File

@ -521,7 +521,7 @@ fileinfo:
dd 0x0
.fsize dd 10000
.ptr dd 0x20000
db '/RD/1/newlev.bin',0
db '/sys/newlev.bin',0
macro flush
{

View File

@ -202,7 +202,7 @@ run_fileinfo:
dd 0
dd 0
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 1024 db 0
@ -413,7 +413,7 @@ run_fileinfo:
dd 0
dd 0
;run_filepath:
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 1024 db 0

View File

@ -202,7 +202,7 @@ run_fileinfo:
dd 0
dd 0
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
;prcinfo:
;times 256 db 0

View File

@ -1609,7 +1609,7 @@ dirinfoblock:
dd DirBlocksPerCall
dd text + 0x1300 ; data area
; The 'filename' for a directory listing
dirpath db '/RD/1',0
dirpath db '/sys',0
fsize: dd 0

View File

@ -42,7 +42,7 @@ filel:
dd 0
dd 50000
dd 0x20000
db '/rd/1/board.htm',0
db '/sys/board.htm',0
files:
dd 2
@ -50,7 +50,7 @@ files:
dd 0
dd 0
dd 0x20000
db '/rd/1/board.htm',0
db '/sys/board.htm',0
START: ; start of execution
@ -385,7 +385,7 @@ fileinfo dd 0
dd 0
dd 512
dd 0x100000
getf db '/rd/1/'
getf db '/sys/'
times 50 db 0
wanted_file: times 100 db 0
@ -1227,7 +1227,7 @@ text:
db ' /TinyBoard -message board '
db ' '
dirp:
db ' Files: /rd/1/ '
db ' Files: /sys/ '
db ' '
filename:
db ' '

View File

@ -774,7 +774,7 @@ ya dd 0
bps dd 128*1000
fileinfo: dd 0,0,0,0,0x20000
filename: db '/RD/1/MENUET.MP3',0
filename: db '/sys/MENUET.MP3',0
times 50 db 0
input_text:

View File

@ -938,7 +938,7 @@ files:
dd pr
filel:
dd 0,0,0,0x100000,0x100000
pr db '/rd/1/popc.txt',0
pr db '/sys/popc.txt',0
ip db 192,168,1,200
@ -970,7 +970,7 @@ tinypad_start:
dd pr
dd 0
dd 0
db '/RD/1/TINYPAD',0
db '/sys/TINYPAD',0
getmail:
db 'user xyz ',13,10

View File

@ -724,7 +724,7 @@ draw_channel_text:
text:
db ' Incoming mails are written to /rd/1/smtps.txt '
db ' Incoming mails are written to /sys/smtps.txt '
db ' The file can be fetched with TinyServer and a Html-browser. '
db ' Timeout is set to 15 seconds. '
db ' '
@ -738,10 +738,10 @@ file_start dd 0x100000
files:
dd 2,0,0,?,0x100000
db '/rd/1/smtps.txt',0
db '/sys/smtps.txt',0
filel:
dd 0,0,0,0x100000,0x100000
db '/rd/1/smtps.txt',0
db '/sys/smtps.txt',0
server_active dd 0

View File

@ -3,7 +3,7 @@
Добавлен параметр BOOT
Теперь можно в исходник вбить нужные IP, маску, шлюз и DNS, перекомпиллировать программу и закинуть ее в автозагрузку. Следовательно эти настройки не придется каждый раз вбивать вручную.
В autorun.dat необходимо поместить,например, такую строку:
/rd/1/stackcfg BOOT 30 # Set yor network settings,
/sys/stackcfg BOOT 30 # Set yor network settings,
не забыв при этом увеличить количество запускаемых программ на одну
в самом начале файла autorun.dat.

View File

@ -433,7 +433,7 @@ run_fileinfo:
dd 0
dd 0
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
}

View File

@ -57,5 +57,5 @@ Board_seek:
dd 0
dd 0
dd 0
db '/RD/1/BOARD',0
db '/sys/develop/BOARD',0
end if

View File

@ -350,7 +350,7 @@ fileinfo:
dd editor_par
dd 0
dd 0
db '/RD/1/TINYPAD',0
db '/sys/TINYPAD',0
editor_par db '*'
par_fsize rb 11
end if

View File

@ -323,7 +323,7 @@ run_fileinfo:
dd 0
dd 0
;run_filepath
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 1024 db 0
@ -534,7 +534,7 @@ run_fileinfo:
dd 0
dd 0
;run_filepath:
db '/RD/1/SYSXTREE',0
db '/sys/SYSXTREE',0
procinfo:
times 1024 db 0

View File

@ -166,7 +166,7 @@ fileinfo:
dd 0
dd param
dd 0 ,0
db '/RD/1/TINYPAD',0
db '/sys/TINYPAD',0
param db '*'
fsize:

View File

@ -1,26 +1,26 @@
AA-SYSXTREE-004-/RD/1/SYSXTREE - *
AB-COPY -008-/RD/1/COPY2 - *
AC-RDSAVE -020-/RD/1/RDSAVE - *
BB-CALC -006-/RD/1/CALC - *
CA-TINYPAD -011-/RD/1/TINYPAD - *
CB-KFM -007-/RD/1/KFM - *
JA-VRR -009-/RD/1/VRR - *
II-C4 -005-/RD/1/GAMES/C4 - *
JI-MINE -017-/RD/1/GAMES/MINE - *
IH-TETRIS -021-/RD/1/GAMES/TETRIS - *
JH-MBLOCKS -013-/RD/1/GAMES/MBLOCKS - *
HI-PONG -026-/RD/1/GAMES/PONG3 - *
GI-15 -000-/RD/1/GAMES/15 - *
HH-LIFE2 -015-/RD/1/DEMOS/LIFE2 - *
BA-FASM -012-/RD/1/DEVELOP/FASM - *
JB-ANIMAGE -018-/RD/1/ANIMAGE - *
CC-CMD -023-/RD/1/CMD - *
IA-BOARD -022-/RD/1/DEVELOP/BOARD - *
JC-DOCPACK -010-/RD/1/DOCPAK - *
BC-KFAR -027-/RD/1/KFAR - *
HA-MTDBG -029-/RD/1/DEVELOP/MTDBG - *
AH-PIPES -030-/RD/1/GAMES/PIPES - *
AI-FARA -031-/RD/1/GAMES/FARA - *
BI-ARC-II -014-/RD/1/GAMES/ARCANII - *
BH-XONIX -024-/RD/1/GAMES/XONIX - *
GH-CHECKERS-002-/RD/1/GAMES/CHECKERS - *
AA-SYSXTREE-004-/sys/SYSXTREE - *
AB-COPY -008-/sys/COPY2 - *
AC-RDSAVE -020-/sys/RDSAVE - *
BB-CALC -006-/sys/CALC - *
CA-TINYPAD -011-/sys/TINYPAD - *
CB-KFM -007-/sys/KFM - *
JA-VRR -009-/sys/VRR - *
II-C4 -005-/sys/GAMES/C4 - *
JI-MINE -017-/sys/GAMES/MINE - *
IH-TETRIS -021-/sys/GAMES/TETRIS - *
JH-MBLOCKS -013-/sys/GAMES/MBLOCKS - *
HI-PONG -026-/sys/GAMES/PONG3 - *
GI-15 -000-/sys/GAMES/15 - *
HH-LIFE2 -015-/sys/DEMOS/LIFE2 - *
BA-FASM -012-/sys/DEVELOP/FASM - *
JB-ANIMAGE -018-/sys/ANIMAGE - *
CC-CMD -023-/sys/CMD - *
IA-BOARD -022-/sys/DEVELOP/BOARD - *
JC-DOCPACK -010-/sys/DOCPAK - *
BC-KFAR -027-/sys/KFAR - *
HA-MTDBG -029-/sys/DEVELOP/MTDBG - *
AH-PIPES -030-/sys/GAMES/PIPES - *
AI-FARA -031-/sys/GAMES/FARA - *
BI-ARC-II -014-/sys/GAMES/ARCANII - *
BH-XONIX -024-/sys/GAMES/XONIX - *
GH-CHECKERS-002-/sys/GAMES/CHECKERS - *

View File

@ -752,14 +752,14 @@ icon_list db '/sys/icons.dat',0
icon_start_parameters:
db 25,1,1,1
db 35,1,1,1
db '/rd/1/icons/fs.ico',0
db '/sys/icons/fs.ico',0
rb 12
db '/rd/1/kfar',0
db '/sys/kfar',0
rb 20
db 'KFAR '
icon_default:
db 'AA-/rd/1/icons/fs.ico -/rd/1/kfar -KFAR *',13,10
db 'AA-/sys/icons/fs.ico -/sys/kfar -KFAR *',13,10
icon_data: ; data length 76+2

View File

@ -1,8 +1,8 @@
AA-/rd/1/icons/FS.ICO -/rd/1/KFAR -FAR *
BA-/rd/1/icons/FASM.ICO -/rd/1/develop/FASM -Fasm *
CA-/rd/1/icons/WRITE.ICO -/rd/1/TINYPAD -Tinypad *
AB-/rd/1/icons/FLOPPY.ICO -/rd/1/RDSAVE -RDsave *
BB-/rd/1/icons/CALC.ICO -/rd/1/CALC -Calc *
HA-/rd/1/icons/BUG.ICO -/rd/1/develop/MTDBG -Debuger *
IA-/rd/1/icons/BOARD.ICO -/rd/1/develop/BOARD -Board *
JA-/rd/1/icons/VRR.ICO -/rd/1/VRR -VRR *
AA-/sys/icons/FS.ICO -/sys/KFAR -FAR *
BA-/sys/icons/FASM.ICO -/sys/develop/FASM -Fasm *
CA-/sys/icons/WRITE.ICO -/sys/TINYPAD -Tinypad *
AB-/sys/icons/FLOPPY.ICO -/sys/RDSAVE -RDsave *
BB-/sys/icons/CALC.ICO -/sys/CALC -Calc *
HA-/sys/icons/BUG.ICO -/sys/develop/MTDBG -Debuger *
IA-/sys/icons/BOARD.ICO -/sys/develop/BOARD -Board *
JA-/sys/icons/VRR.ICO -/sys/VRR -VRR *

View File

@ -11,6 +11,7 @@ MODIFY 15.05.2007 Kolibri team
­¥®¡ï§ â¥«ì­®).
<20>ਬ¥àë
/rd/1/tinypad /rd/1/menu.dat
/sys/tinypad /sys/menu.dat
"/hd0/1/long name dir with spaces/tinypad" /rd/1/autorun.dat
‚ᥣ® ¬®¦­® ¢¢®¤¨âì ¤® 512 ᨬ¢®«®¢.

View File

@ -1,9 +1,9 @@
/rd/1/default.skn
/rd/1/aqua.skn
/rd/1/cold.skn
/rd/1/metal.skn
/rd/1/grey.skn
/rd/1/opus_a.skn
/rd/1/opus_b.skn
/rd/1/opus_d.skn
/rd/1/opus_g.skn
/sys/default.skn
/sys/aqua.skn
/sys/cold.skn
/sys/metal.skn
/sys/grey.skn
/sys/opus_a.skn
/sys/opus_b.skn
/sys/opus_d.skn
/sys/opus_g.skn

View File

@ -485,7 +485,7 @@ params db 0 ;if bit 0 set-ssaver works if bit 1 set-setup works
fileinfo:
; used_memory-0x3000-data_from_file = ~50 Kb with current settings
dd 0,0,0,used_memory-0x3000-data_from_file,data_from_file
db '/RD/1/NETWORK/PPP.ASM',0
db '/sys/NETWORK/PPP.ASM',0
I_END: