forked from KolibriOS/kolibrios
New iconstrp.gif for ICON by Leency
loader_doc.txt (by use bx register to set system directory) git-svn-id: svn://kolibrios.org@598 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2c856e2fdd
commit
c8f1c5b1ba
62
kernel/trunk/docs/loader_doc.txt
Normal file
62
kernel/trunk/docs/loader_doc.txt
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
;------------------------------------------
|
||||||
|
; Óêàçàíèå çàãðóç÷èêîì ñèñòåìíîãî êàòàëîãà
|
||||||
|
;------------------------------------------
|
||||||
|
Ïåðåä ïåðåäà÷åé óïðàâëåíèÿ ÿäðó ìîãóò áûòü óñòàíîâëåííû ñëåäóþùèå ðåãèñòðû:
|
||||||
|
CX='HA'
|
||||||
|
DX='RD'
|
||||||
|
Ýòî óêàçûâàåò íà òî, ÷òî ðåãèñòð BX óêàçûâàåò íà ñèñòåìíûé ðàçäåë. Êàòàëîã /kolibri/ íà
|
||||||
|
ýòîì ðàçäåëå ÿâëÿåòñÿ ñèñòåìíûì, ê íåìó ìîæíî îáðàùàòüñÿ êàê ê /sys/
|
||||||
|
|
||||||
|
Âîçìîæíûå çíà÷åíèÿ ðåãèñòðà BL (óêàçûâàåò íà óñòðîéñòâî):
|
||||||
|
'a' - Primary Master
|
||||||
|
'b' - Primary Slave
|
||||||
|
'c' - Secondary Master
|
||||||
|
'd' - Secondary Slave
|
||||||
|
'r' - RAM äèñê
|
||||||
|
'm' - Ïðèâîäû CD-ROM
|
||||||
|
|
||||||
|
Âîçìîæíûå çíà÷åíèÿ ðåãèñòðà BH (óêàçûâàåò íà ðàçäåë):
|
||||||
|
äëÿ BL='a','b','c','d','r' - óêàçûâàåò íà íàçäåë, ãäå ðàñïîëîæåí ñèñòåìíûé êàòàëîã
|
||||||
|
äëÿ BL='m',óêàçûâàåò íà íîìåð ôèçè÷åñêîãî óñòðîéñòâà, ñ êîòîðîãî íàäî íà÷èíàòü ïîèñê ñèñòåìíîãî êàòàëîãà.
|
||||||
|
|
||||||
|
ïðèìåðû çíà÷åíèé ðåãèñòðà BX:
|
||||||
|
'a1' - /hd0/1/
|
||||||
|
'a2' - /hd0/2/
|
||||||
|
'b1' - /hd1/1/
|
||||||
|
'd4' - /hd3/4/
|
||||||
|
'm0' - ïîèñê ïî ñèäþêàì êàòàëîãà kolibri
|
||||||
|
'r1' - /rd/1/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;------------------------------------------
|
||||||
|
; Note boot system directory
|
||||||
|
;------------------------------------------
|
||||||
|
The transfer of the kernel can be installed following registers:
|
||||||
|
CX = 'HA'
|
||||||
|
DX = 'RD'
|
||||||
|
This indicates that the register BX points to a system partition. Catalog /kolibri/ in
|
||||||
|
this section is system, it is treated as a /sys/
|
||||||
|
|
||||||
|
Possible values register BL (indicates the device):
|
||||||
|
'a' - Primary Master
|
||||||
|
'b' - Primary Slave
|
||||||
|
'c' - Secondary Master
|
||||||
|
'd' - Secondary Slave
|
||||||
|
'r' - RAM disc
|
||||||
|
'm' - ROM drives
|
||||||
|
|
||||||
|
Possible values register BH (indicating section):
|
||||||
|
for BL = 'a', 'b', 'c', 'd', 'r' to denote nazdel where the system folder
|
||||||
|
for BL = 'm', indicates the number of physical devices, which must begin a systematic search directory.
|
||||||
|
|
||||||
|
Examples of register BX:
|
||||||
|
'a1' - /hd0/1/
|
||||||
|
'a2' - /hd0/2/
|
||||||
|
'b1' - /hd1/1/
|
||||||
|
'd4' - /hd3/4/
|
||||||
|
'm0' - search directory sidyukam kolibri
|
||||||
|
'r1' - /rd/1/
|
||||||
|
|
||||||
|
Ïåðåâåäåíî Google
|
@ -14,7 +14,7 @@ library \
|
|||||||
libini,'libini.obj'
|
libini,'libini.obj'
|
||||||
|
|
||||||
import libini, \
|
import libini, \
|
||||||
lib_init,'lib_init',\
|
ini.lib_init,'lib_init',\
|
||||||
ini.get_str,'ini.get_str',\
|
ini.get_str,'ini.get_str',\
|
||||||
ini.enum_keys,'ini.enum_keys',\
|
ini.enum_keys,'ini.enum_keys',\
|
||||||
ini.get_int,'ini.get_int'
|
ini.get_int,'ini.get_int'
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue
Block a user