forked from KolibriOS/kolibrios
Sysfunctions 70 & 30: the info about relative names is added.
git-svn-id: svn://kolibrios.org@1662 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ca82f03c33
commit
9f7b730b3b
@ -1,4 +1,4 @@
|
|||||||
‘ˆ‘’…Œ<EFBFBD>›… ”“<E2809D>Š–ˆˆ Ž<>…<EFBFBD>€–ˆŽ<CB86><C5BD>Ž‰ ‘ˆ‘’…Œ› Kolibri 0.7.5.0+
|
‘ˆ‘’…Œ<EFBFBD>›… ”“<E2809D>Š–ˆˆ Ž<>…<EFBFBD>€–ˆŽ<CB86><C5BD>Ž‰ ‘ˆ‘’…Œ› Kolibri 0.7.7.0
|
||||||
|
|
||||||
<EFBFBD>®¬¥à äãªæ¨¨ ¯®¬¥é ¥âáï ¢ ॣ¨áâà eax.
|
<EFBFBD>®¬¥à äãªæ¨¨ ¯®¬¥é ¥âáï ¢ ॣ¨áâà eax.
|
||||||
‚맮¢ á¨á⥬®© äãªæ¨¨ ®áãé¥á⢫ï¥âáï ª®¬ ¤®© "int 0x40".
|
‚맮¢ á¨á⥬®© äãªæ¨¨ ®áãé¥á⢫ï¥âáï ª®¬ ¤®© "int 0x40".
|
||||||
@ -41,7 +41,7 @@
|
|||||||
* esi = 0xXYRRGGBB - 梥⠧ £®«®¢ª
|
* esi = 0xXYRRGGBB - 梥⠧ £®«®¢ª
|
||||||
* RR, GG, BB ®¯à¥¤¥«ïîâ á ¬ 梥â
|
* RR, GG, BB ®¯à¥¤¥«ïîâ á ¬ 梥â
|
||||||
* Y=0 - ®¡ë箥 ®ª®, Y=1 - ¥¯¥à¥¬¥é ¥¬®¥ ®ª®
|
* Y=0 - ®¡ë箥 ®ª®, Y=1 - ¥¯¥à¥¬¥é ¥¬®¥ ®ª®
|
||||||
* X ®¯à¥¤¥«ï¥â £à ¤¨¥â § £®«®¢ª : X=0 - ¥â £à ¤¨¥â ,
|
* X ®¯à¥¤¥«ï¥â £à ¤¨¥â § £®«®¢ª : X=0 - ¥â £à ¤¨¥â ,
|
||||||
X=8 - ®¡ëçë© £à ¤¨¥â,
|
X=8 - ®¡ëçë© £à ¤¨¥â,
|
||||||
¤«ï ®ª® ⨯ II X=4 - ¥£ â¨¢ë© £à ¤¨¥â
|
¤«ï ®ª® ⨯ II X=4 - ¥£ â¨¢ë© £à ¤¨¥â
|
||||||
* ¯à®ç¨¥ § 票ï X ¨ Y § १¥à¢¨à®¢ ë
|
* ¯à®ç¨¥ § 票ï X ¨ Y § १¥à¢¨à®¢ ë
|
||||||
@ -383,7 +383,7 @@
|
|||||||
ᮡá⢥® à ¡®âã, ¨ ¢à¥¬¥¨ ¯à®áâ®ï ¢ ®¦¨¤ ¨¨ ¯à¥àë¢ ¨ï
|
ᮡá⢥® à ¡®âã, ¨ ¢à¥¬¥¨ ¯à®áâ®ï ¢ ®¦¨¤ ¨¨ ¯à¥àë¢ ¨ï
|
||||||
(ª®â®à®¥ ¬®¦® ¯®«ãç¨âì ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 4 äãªæ¨¨ 18).
|
(ª®â®à®¥ ¬®¦® ¯®«ãç¨âì ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 4 äãªæ¨¨ 18).
|
||||||
* <20> ç¨ ï á® á«®â 2, à §¬¥é îâáï ®¡ëçë¥ ¯à¨«®¦¥¨ï.
|
* <20> ç¨ ï á® á«®â 2, à §¬¥é îâáï ®¡ëçë¥ ¯à¨«®¦¥¨ï.
|
||||||
* Ž¡ëçë¥ ¯à¨«®¦¥¨ï à §¬¥é îâáï ¢ ¯ ¬ï⨠¯® ¤à¥áã 0x0
|
* Ž¡ëçë¥ ¯à¨«®¦¥¨ï à §¬¥é îâáï ¢ ¯ ¬ï⨠¯® ¤à¥áã 0
|
||||||
(ª®áâ â ï¤à std_application_base_address).
|
(ª®áâ â ï¤à std_application_base_address).
|
||||||
<20> «®¦¥¨ï ¥ ¯à®¨á室¨â, ¯®áª®«ìªã ã ª ¦¤®£® ¯à®æ¥áá ᢮ï
|
<20> «®¦¥¨ï ¥ ¯à®¨á室¨â, ¯®áª®«ìªã ã ª ¦¤®£® ¯à®æ¥áá ᢮ï
|
||||||
â ¡«¨æ áâà ¨æ.
|
â ¡«¨æ áâà ¨æ.
|
||||||
@ -665,7 +665,7 @@
|
|||||||
* “§ âì, ª ª®¥ ®ª® ï¥âáï ªâ¨¢ë¬, ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 7.
|
* “§ âì, ª ª®¥ ®ª® ï¥âáï ªâ¨¢ë¬, ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 7.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 4 - ¯®«ãç¨âì áçñâ稪 ¯ãáâëå ⠪⮢ ¢ ᥪã¤ã.
|
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 4 - ¯®«ãç¨âì áçñâ稪 ¯ãáâëå ⠪⮢ ¢ ᥪã¤ã.
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD>®¤ ¯ãáâ묨 ⠪⠬¨ ¯®¨¬ ¥âáï ¢à¥¬ï, ¢ ª®â®à®¥ ¯à®æ¥áá®à ¯à®áâ ¨¢ ¥â
|
<EFBFBD>®¤ ¯ãáâ묨 ⠪⠬¨ ¯®¨¬ ¥âáï ¢à¥¬ï, ¢ ª®â®à®¥ ¯à®æ¥áá®à ¯à®áâ ¨¢ ¥â
|
||||||
¢ ®¦¨¤ ¨¨ ¯à¥àë¢ ¨ï (¢ ¨áâàãªæ¨¨ hlt).
|
¢ ®¦¨¤ ¨¨ ¯à¥àë¢ ¨ï (¢ ¨áâàãªæ¨¨ hlt).
|
||||||
@ -686,7 +686,7 @@
|
|||||||
* eax = ⠪⮢ ï ç áâ®â (¯® ¬®¤ã«î 2^32 ⠪⮢ = 4ƒƒæ)
|
* eax = ⠪⮢ ï ç áâ®â (¯® ¬®¤ã«î 2^32 ⠪⮢ = 4ƒƒæ)
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 6 - á®åà ¨âì à ¬¤¨áª ¢ ä ©« ¦ñá⪮¬ ¤¨áª¥.
|
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 6 - á®åà ¨âì à ¬¤¨áª ¢ ä ©« ¦ñá⪮¬ ¤¨áª¥.
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 18 - ®¬¥à äãªæ¨¨
|
* eax = 18 - ®¬¥à äãªæ¨¨
|
||||||
@ -766,7 +766,7 @@
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* Œ¨¨¬¨§¨à®¢ ®¥ ®ª® á â®çª¨ §à¥¨ï äãªæ¨¨ 9 á®åà ï¥â ¯®«®¦¥¨¥
|
* Œ¨¨¬¨§¨à®¢ ®¥ ®ª® á â®çª¨ §à¥¨ï äãªæ¨¨ 9 á®åà ï¥â ¯®«®¦¥¨¥
|
||||||
¨ à §¬¥àë.
|
¨ à §¬¥àë.
|
||||||
* ‚®ááâ ®¢«¥¨¥ ®ª ¯à¨«®¦¥¨ï ¯à®¨á室¨â ¯à¨ ªâ¨¢¨§¨à®¢ ¨¨
|
* ‚®ááâ ®¢«¥¨¥ ®ª ¯à¨«®¦¥¨ï ¯à®¨á室¨â ¯à¨ ªâ¨¢¨§¨à®¢ ¨¨
|
||||||
¯®¤äãªæ¨¥© 3.
|
¯®¤äãªæ¨¥© 3.
|
||||||
* Ž¡ëç® ¥â ¥®¡å®¤¨¬®á⨠ ᢮à 稢 âì/à §¢®à 稢 âì ᢮ñ ®ª®:
|
* Ž¡ëç® ¥â ¥®¡å®¤¨¬®á⨠ ᢮à 稢 âì/à §¢®à 稢 âì ᢮ñ ®ª®:
|
||||||
᢮à 稢 ¨¥ ®ª ®áãé¥á⢫ï¥âáï á¨á⥬®© ¯à¨ ¦ ⨨ ª®¯ªã
|
᢮à 稢 ¨¥ ®ª ®áãé¥á⢫ï¥âáï á¨á⥬®© ¯à¨ ¦ ⨨ ª®¯ªã
|
||||||
@ -849,10 +849,10 @@
|
|||||||
db a,b,c,d ¤«ï ¢¥àᨨ a.b.c.d
|
db a,b,c,d ¤«ï ¢¥àᨨ a.b.c.d
|
||||||
db UID_xxx: ®¤® ¨§ UID_NONE=0, UID_MENUET=1, UID_KOLIBRI=2
|
db UID_xxx: ®¤® ¨§ UID_NONE=0, UID_MENUET=1, UID_KOLIBRI=2
|
||||||
dd REV - ®¬¥à svn-ॢ¨§¨¨ ï¤à
|
dd REV - ®¬¥à svn-ॢ¨§¨¨ ï¤à
|
||||||
„«ï ï¤à Kolibri 0.7.1.0:
|
„«ï ï¤à Kolibri 0.7.7.0:
|
||||||
db 0,7,1,0
|
db 0,7,7,0
|
||||||
db 2
|
db 2
|
||||||
dd 638
|
dd 1319
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== ”ãªæ¨ï 18, ¯®¤äãªæ¨ï 14 =====================
|
====================== ”ãªæ¨ï 18, ¯®¤äãªæ¨ï 14 =====================
|
||||||
@ -1029,7 +1029,7 @@ dd 638
|
|||||||
* ¨ ç¥ eax = ®¬¥à á«®â
|
* ¨ ç¥ eax = ®¬¥à á«®â
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 22 - ®¯¥à 樨 á ®ª®¬ ¤à㣮£® ¯à®æ¥áá /¯®â®ª .
|
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 22 - ®¯¥à 樨 á ®ª®¬ ¤à㣮£® ¯à®æ¥áá /¯®â®ª .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 18 - ®¬¥à äãªæ¨¨
|
* eax = 18 - ®¬¥à äãªæ¨¨
|
||||||
@ -1066,7 +1066,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* eax = 1 - ¥ ®¯à¥¤¥«ñ ¡ §®¢ë© ¯®àâ
|
* eax = 1 - ¥ ®¯à¥¤¥«ñ ¡ §®¢ë© ¯®àâ
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>।¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ®¯à¥¤¥«ñ ¡ §®¢ë© ¯®à⠢맮¢®¬
|
* <20>।¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ®¯à¥¤¥«ñ ¡ §®¢ë© ¯®à⠢맮¢®¬
|
||||||
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1082,7 +1082,7 @@ dd 638
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>®¬¥à ¯®àâ ¤®«¦¥ 㤮¢«¥â¢®àïâì ãá«®¢¨ï¬ 0x100<=ecx<=0xFFFF.
|
* <20>®¬¥à ¯®àâ ¤®«¦¥ 㤮¢«¥â¢®àïâì ãá«®¢¨ï¬ 0x100<=ecx<=0xFFFF.
|
||||||
* “áâ ®¢ª ¡ §ë 㦠¤«ï à ¡®âë äãªæ¨¨ 20.
|
* “áâ ®¢ª ¡ §ë 㦠¤«ï à ¡®âë äãªæ¨¨ 20.
|
||||||
* <20>®«ãç¨âì ãáâ ®¢«¥ë© ¡ §®¢ë© ¯®àâ ¬®¦® ¢ë§®¢®¬
|
* <20>®«ãç¨âì ãáâ ®¢«¥ë© ¡ §®¢ë© ¯®àâ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 26.
|
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 26.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1112,7 +1112,7 @@ dd 638
|
|||||||
®à¬ «ì ï à ᪫ ¤ª , ¯®á«¥ 祣® ¨§ ª®¤ ¢ëç¨â ¥âáï 0x60;
|
®à¬ «ì ï à ᪫ ¤ª , ¯®á«¥ 祣® ¨§ ª®¤ ¢ëç¨â ¥âáï 0x60;
|
||||||
¥á«¨ ¥ ¦ â ¨ ®¤ ¨§ ã¯à ¢«ïîé¨å ª« ¢¨è, â® ¨á¯®«ì§ã¥âáï
|
¥á«¨ ¥ ¦ â ¨ ®¤ ¨§ ã¯à ¢«ïîé¨å ª« ¢¨è, â® ¨á¯®«ì§ã¥âáï
|
||||||
®à¬ «ì ï à ᪫ ¤ª .
|
®à¬ «ì ï à ᪫ ¤ª .
|
||||||
* <20>®«ãç¨âì à ᪫ ¤ª¨ ¨ ¨¤¥â¨ä¨ª â®à áâà ë ¬®¦® á ¯®¬®éìî
|
* <20>®«ãç¨âì à ᪫ ¤ª¨ ¨ ¨¤¥â¨ä¨ª â®à áâà ë ¬®¦® á ¯®¬®éìî
|
||||||
¯®¤äãªæ¨¨ 2 äãªæ¨¨ 26.
|
¯®¤äãªæ¨¨ 2 äãªæ¨¨ 26.
|
||||||
* ˆ¤¥â¨ä¨ª â®à áâà ë - £«®¡ «ì ï á¨á⥬ ï ¯¥à¥¬¥ ï, ª®â®à ï
|
* ˆ¤¥â¨ä¨ª â®à áâà ë - £«®¡ «ì ï á¨á⥬ ï ¯¥à¥¬¥ ï, ª®â®à ï
|
||||||
á ¬¨¬ ï¤à®¬ ¥ ¨á¯®«ì§ã¥âáï; ®¤ ª® ¯à¨«®¦¥¨¥ @panel ®â®¡à ¦ ¥â
|
á ¬¨¬ ï¤à®¬ ¥ ¨á¯®«ì§ã¥âáï; ®¤ ª® ¯à¨«®¦¥¨¥ @panel ®â®¡à ¦ ¥â
|
||||||
@ -1130,7 +1130,7 @@ dd 638
|
|||||||
* eax = 0
|
* eax = 0
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20> § CD ¨á¯®«ì§ã¥âáï äãªæ¨¥© 24.
|
* <20> § CD ¨á¯®«ì§ã¥âáï äãªæ¨¥© 24.
|
||||||
* <20>®«ãç¨âì ãáâ ®¢«¥ãî ¡ §ã CD ¬®¦® ¢ë§®¢®¬
|
* <20>®«ãç¨âì ãáâ ®¢«¥ãî ¡ §ã CD ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 26.
|
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 26.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1168,7 +1168,7 @@ dd 638
|
|||||||
* <20>¥ á«¥¤ã¥â ¨§¬¥ïâì ¡ §ã, ª®£¤ ª ª®¥-¨¡ã¤ì ¯à¨«®¦¥¨¥ à ¡®â ¥â
|
* <20>¥ á«¥¤ã¥â ¨§¬¥ïâì ¡ §ã, ª®£¤ ª ª®¥-¨¡ã¤ì ¯à¨«®¦¥¨¥ à ¡®â ¥â
|
||||||
á ¦ñá⪨¬ ¤¨áª®¬. …᫨ ¥ å®â¨â¥ £«îª®¢ á¨á⥬ë.
|
á ¦ñá⪨¬ ¤¨áª®¬. …᫨ ¥ å®â¨â¥ £«îª®¢ á¨á⥬ë.
|
||||||
* <20>®«ãç¨âì ãáâ ®¢«¥ãî ¡ §ã ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 7 äãªæ¨¨ 26.
|
* <20>®«ãç¨âì ãáâ ®¢«¥ãî ¡ §ã ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 7 äãªæ¨¨ 26.
|
||||||
* ‘«¥¤ã¥â â ª¦¥ ®¯à¥¤¥«¨âì ¨á¯®«ì§ã¥¬ë© à §¤¥« ¦ñá⪮£® ¤¨áª
|
* ‘«¥¤ã¥â â ª¦¥ ®¯à¥¤¥«¨âì ¨á¯®«ì§ã¥¬ë© à §¤¥« ¦ñá⪮£® ¤¨áª
|
||||||
¯®¤äãªæ¨¥© 8.
|
¯®¤äãªæ¨¥© 8.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1191,9 +1191,9 @@ dd 638
|
|||||||
* <20>®«ãç¨âì ãáâ ®¢«¥ë© à §¤¥« ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 8
|
* <20>®«ãç¨âì ãáâ ®¢«¥ë© à §¤¥« ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 8
|
||||||
äãªæ¨¨ 26.
|
äãªæ¨¨ 26.
|
||||||
* <20>஢¥à®ª ª®à४â®áâì ¥ ¤¥« ¥âáï.
|
* <20>஢¥à®ª ª®à४â®áâì ¥ ¤¥« ¥âáï.
|
||||||
* “§ âì ç¨á«® à §¤¥«®¢ ¦ñá⪮¬ ¤¨áª¥ ¬®¦® ¢ë§®¢®¬
|
* “§ âì ç¨á«® à §¤¥«®¢ ¦ñá⪮¬ ¤¨áª¥ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 11 äãªæ¨¨ 18.
|
¯®¤äãªæ¨¨ 11 äãªæ¨¨ 18.
|
||||||
* ‘«¥¤ã¥â â ª¦¥ ®¯à¥¤¥«¨âì ¨á¯®«ì§ã¥¬ãî ¡ §ã ¦ñá⪮£® ¤¨áª
|
* ‘«¥¤ã¥â â ª¦¥ ®¯à¥¤¥«¨âì ¨á¯®«ì§ã¥¬ãî ¡ §ã ¦ñá⪮£® ¤¨áª
|
||||||
¯®¤äãªæ¨¥© 7.
|
¯®¤äãªæ¨¥© 7.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1279,13 +1279,13 @@ dd 638
|
|||||||
* ebx = ç áâ®â ¢¥à⨪ «ì®© à §¢ñà⪨ (¢ ƒæ)
|
* ebx = ç áâ®â ¢¥à⨪ «ì®© à §¢ñà⪨ (¢ ƒæ)
|
||||||
* ecx = ®¬¥à ⥪ã饣® ¢¨¤¥®à¥¦¨¬
|
* ecx = ®¬¥à ⥪ã饣® ¢¨¤¥®à¥¦¨¬
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
||||||
äãªæ¨¨ ¤à ©¢¥à 1.
|
äãªæ¨¨ ¤à ©¢¥à 1.
|
||||||
* …᫨ ã¦ë ⮫쪮 à §¬¥àë íªà , 楫¥á®®¡à §¥© ¨á¯®«ì§®¢ âì
|
* …᫨ ã¦ë ⮫쪮 à §¬¥àë íªà , 楫¥á®®¡à §¥© ¨á¯®«ì§®¢ âì
|
||||||
äãªæ¨î 14 á ãçñ⮬ ⮣®, çâ® ® ¢®§¢à é ¥â à §¬¥àë 1 ¬¥ìè¥.
|
äãªæ¨î 14 á ãçñ⮬ ⮣®, çâ® ® ¢®§¢à é ¥â à §¬¥àë 1 ¬¥ìè¥.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 13, ¯®¤¯®¤äãªæ¨ï 3 - ãáâ ®¢¨âì ¢¨¤¥®à¥¦¨¬.
|
= ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 13, ¯®¤¯®¤äãªæ¨ï 3 - ãáâ ®¢¨âì ¢¨¤¥®à¥¦¨¬.
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 21 - ®¬¥à äãªæ¨¨
|
* eax = 21 - ®¬¥à äãªæ¨¨
|
||||||
@ -1298,7 +1298,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* ebx, ecx à §àãè îâáï
|
* ebx, ecx à §àãè îâáï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
||||||
äãªæ¨¨ ¤à ©¢¥à 1.
|
äãªæ¨¨ ¤à ©¢¥à 1.
|
||||||
* <20>®¬¥à ¢¨¤¥®à¥¦¨¬ ¨ ç áâ®â ¤®«¦ë ¡ëâì ¢ â ¡«¨æ¥, ¢®§¢à é ¥¬®©
|
* <20>®¬¥à ¢¨¤¥®à¥¦¨¬ ¨ ç áâ®â ¤®«¦ë ¡ëâì ¢ â ¡«¨æ¥, ¢®§¢à é ¥¬®©
|
||||||
äãªæ¨¥© ¤à ©¢¥à 1.
|
äãªæ¨¥© ¤à ©¢¥à 1.
|
||||||
@ -1317,7 +1317,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* ebx, ecx à §àãè îâáï
|
* ebx, ecx à §àãè îâáï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
||||||
äãªæ¨¨ ¤à ©¢¥à 1.
|
äãªæ¨¨ ¤à ©¢¥à 1.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1337,7 +1337,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* ebx, ecx à §àãè îâáï
|
* ebx, ecx à §àãè îâáï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
||||||
äãªæ¨¨ ¤à ©¢¥à 1.
|
äãªæ¨¨ ¤à ©¢¥à 1.
|
||||||
* ”ãªæ¨ï ¢«¨ï¥â ⮫쪮 䨧¨ç¥áª¨© à §¬¥à ¨§®¡à ¦¥¨ï
|
* ”ãªæ¨ï ¢«¨ï¥â ⮫쪮 䨧¨ç¥áª¨© à §¬¥à ¨§®¡à ¦¥¨ï
|
||||||
¬®¨â®à¥; «®£¨ç¥áª¨© à §¬¥à (ç¨á«® ¯¨ªá¥«¥©) ¥ ¬¥ï¥âáï.
|
¬®¨â®à¥; «®£¨ç¥áª¨© à §¬¥à (ç¨á«® ¯¨ªá¥«¥©) ¥ ¬¥ï¥âáï.
|
||||||
@ -1418,7 +1418,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* eax = 1 - ¥ ®¯à¥¤¥«¥ ¡ § CD
|
* eax = 1 - ¥ ®¯à¥¤¥«¥ ¡ § CD
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
||||||
* ‚ ᥪ㤥 75 ä३¬®¢, ¢ ¬¨ã⥠60 ᥪã¤.
|
* ‚ ᥪ㤥 75 ä३¬®¢, ¢ ¬¨ã⥠60 ᥪã¤.
|
||||||
* ”ãªæ¨ï á¨åà® (¢®§¢à é ¥â ã¯à ¢«¥¨¥, ª®£¤ ç «®áì
|
* ”ãªæ¨ï á¨åà® (¢®§¢à é ¥â ã¯à ¢«¥¨¥, ª®£¤ ç «®áì
|
||||||
@ -1439,7 +1439,7 @@ dd 638
|
|||||||
* ”®à¬ â â ¡«¨æë á ¨ä®à¬ 樥© ® ¤®à®¦ª å â ª®© ¦¥, ª ª ¨ ¤«ï
|
* ”®à¬ â â ¡«¨æë á ¨ä®à¬ 樥© ® ¤®à®¦ª å â ª®© ¦¥, ª ª ¨ ¤«ï
|
||||||
ATAPI-CD ª®¬ ¤ë 43h (READ TOC), ®¡ë箩 â ¡«¨æë (¯®¤ª®¬ ¤ 00h).
|
ATAPI-CD ª®¬ ¤ë 43h (READ TOC), ®¡ë箩 â ¡«¨æë (¯®¤ª®¬ ¤ 00h).
|
||||||
€¤à¥á ¢®§¢à é îâáï ¢ ä®à¬ ⥠MSF.
|
€¤à¥á ¢®§¢à é îâáï ¢ ä®à¬ ⥠MSF.
|
||||||
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
||||||
* ”ãªæ¨ï ¢®§¢à é ¥â ¨ä®à¬ æ¨î ⮫쪮 ® ¥ ¡®«¥¥ 祬 100
|
* ”ãªæ¨ï ¢®§¢à é ¥â ¨ä®à¬ æ¨î ⮫쪮 ® ¥ ¡®«¥¥ 祬 100
|
||||||
¯¥à¢ëå ¤®à®¦ª å. ‚ ¡®«ìè¨á⢥ á«ãç ¥¢ í⮣® ¤®áâ â®ç®.
|
¯¥à¢ëå ¤®à®¦ª å. ‚ ¡®«ìè¨á⢥ á«ãç ¥¢ í⮣® ¤®áâ â®ç®.
|
||||||
@ -1454,7 +1454,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* eax = 1 - ¥ ®¯à¥¤¥«¥ ¡ § CD
|
* eax = 1 - ¥ ®¯à¥¤¥«¥ ¡ § CD
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1498,7 +1498,7 @@ dd 638
|
|||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = ®¬¥à ¯®àâ
|
* eax = ®¬¥à ¯®àâ
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* “áâ ®¢¨âì ¡ §®¢ë© ¯®àâ ¬®¦® ¢ë§®¢®¬
|
* “áâ ®¢¨âì ¡ §®¢ë© ¯®àâ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1531,7 +1531,7 @@ dd 638
|
|||||||
®à¬ «ì ï à ᪫ ¤ª , ¯®á«¥ 祣® ¨§ ª®¤ ¢ëç¨â ¥âáï 0x60;
|
®à¬ «ì ï à ᪫ ¤ª , ¯®á«¥ 祣® ¨§ ª®¤ ¢ëç¨â ¥âáï 0x60;
|
||||||
¥á«¨ ¥ ¦ â ¨ ®¤ ¨§ ã¯à ¢«ïîé¨å ª« ¢¨è, â® ¨á¯®«ì§ã¥âáï
|
¥á«¨ ¥ ¦ â ¨ ®¤ ¨§ ã¯à ¢«ïîé¨å ª« ¢¨è, â® ¨á¯®«ì§ã¥âáï
|
||||||
®à¬ «ì ï à ᪫ ¤ª .
|
®à¬ «ì ï à ᪫ ¤ª .
|
||||||
* “áâ ®¢¨âì à ᪫ ¤ª¨ ¨ ¨¤¥â¨ä¨ª â®à áâà ë ¬®¦® á ¯®¬®éìî
|
* “áâ ®¢¨âì à ᪫ ¤ª¨ ¨ ¨¤¥â¨ä¨ª â®à áâà ë ¬®¦® á ¯®¬®éìî
|
||||||
¯®¤äãªæ¨¨ 2 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 2 äãªæ¨¨ 21.
|
||||||
* ˆ¤¥â¨ä¨ª â®à áâà ë - £«®¡ «ì ï á¨á⥬ ï ¯¥à¥¬¥ ï, ª®â®à ï
|
* ˆ¤¥â¨ä¨ª â®à áâà ë - £«®¡ «ì ï á¨á⥬ ï ¯¥à¥¬¥ ï, ª®â®à ï
|
||||||
á ¬¨¬ ï¤à®¬ ¥ ¨á¯®«ì§ã¥âáï; ®¤ ª® ¯à¨«®¦¥¨¥ @panel ®â®¡à ¦ ¥â
|
á ¬¨¬ ï¤à®¬ ¥ ¨á¯®«ì§ã¥âáï; ®¤ ª® ¯à¨«®¦¥¨¥ @panel ®â®¡à ¦ ¥â
|
||||||
@ -1626,7 +1626,7 @@ dd 638
|
|||||||
* eax = 0/1 - § ¯à¥éñ/à §à¥èñ
|
* eax = 0/1 - § ¯à¥éñ/à §à¥èñ
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* ˆá¯®«ì§ã¥âáï ¯à¨ LBA-ç⥨¨ (¯®¤äãªæ¨ï 8 äãªæ¨¨ 58).
|
* ˆá¯®«ì§ã¥âáï ¯à¨ LBA-ç⥨¨ (¯®¤äãªæ¨ï 8 äãªæ¨¨ 58).
|
||||||
* “áâ ®¢¨âì ⥪ã饥 á®áâ®ï¨¥ ¬®¦® ¢ë§®¢®¬
|
* “áâ ®¢¨âì ⥪ã饥 á®áâ®ï¨¥ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 11 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 11 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1641,7 +1641,7 @@ dd 638
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* ˆá¯®«ì§ã¥âáï ¯à¨ à ¡®â¥ á 訮© PCI (äãªæ¨ï 62).
|
* ˆá¯®«ì§ã¥âáï ¯à¨ à ¡®â¥ á 訮© PCI (äãªæ¨ï 62).
|
||||||
* ’¥ªãé ï ॠ«¨§ æ¨ï ¨á¯®«ì§ã¥â ⮫쪮 ¬« ¤è¨© ¡¨â ecx.
|
* ’¥ªãé ï ॠ«¨§ æ¨ï ¨á¯®«ì§ã¥â ⮫쪮 ¬« ¤è¨© ¡¨â ecx.
|
||||||
* “áâ ®¢¨âì ⥪ã饥 á®áâ®ï¨¥ ¬®¦® ¢ë§®¢®¬
|
* “áâ ®¢¨âì ⥪ã饥 á®áâ®ï¨¥ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 12 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 12 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1677,62 +1677,14 @@ dd 638
|
|||||||
* ecx = 㪠§ â¥«ì ¡ãä¥à
|
* ecx = 㪠§ â¥«ì ¡ãä¥à
|
||||||
* edx = à §¬¥à ¡ãä¥à
|
* edx = à §¬¥à ¡ãä¥à
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = - 1 ®é¨¡ª , ¯ ¯ª ⥪ã饣® ¯®â®ª ¨¬¥¥â ¤«¨ã ¡®«¥¥ 祬 4096 ᨬ¢®«®¢.
|
|
||||||
* eax = ¤«¨ ¨¬¥¨ ⥪ã饩 ¯ ¯ª¨ (¢ª«îç ï § ¢¥àè î騩 0)
|
* eax = ¤«¨ ¨¬¥¨ ⥪ã饩 ¯ ¯ª¨ (¢ª«îç ï § ¢¥àè î騩 0)
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* …᫨ à §¬¥à ¡ãä¥à ¥¤®áâ â®ç® ¤«ï ª®¯¨à®¢ ¨ï ¢á¥£® ¨¬¥¨,
|
* …᫨ à §¬¥à ¡ãä¥à ¥¤®áâ â®ç® ¤«ï ª®¯¨à®¢ ¨ï ¢á¥£® ¨¬¥¨,
|
||||||
ª®¯¨àãîâáï ⮫쪮 ¯¥à¢ë¥ (edx-1) ¡ ©â
|
ª®¯¨àãîâáï ⮫쪮 ¯¥à¢ë¥ (edx-1) ¡ ©â ¨ ¢ ª®æ¥ áâ ¢¨âáï
|
||||||
¨ ¢ ª®æ¥ áâ ¢¨âáï § ¢¥àè î騩 0.
|
§ ¢¥àè î騩 0.
|
||||||
|
* <20>® 㬮«ç ¨î, ⥪ãé ï ¯ ¯ª ¤«ï ¯®â®ª - "/rd/1".
|
||||||
======================================================================
|
* <20>ਠᮧ¤ ¨¨ ¯à®æ¥áá /¯®â®ª ⥪ãé ï ¯ ¯ª á«¥¤ã¥âáï ®â
|
||||||
================ ”ãªæ¨ï 32 - 㤠«¨âì ä ©« á à ¬¤¨áª . ===============
|
த¨â¥«ï.
|
||||||
======================================================================
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
|
||||||
* eax = 32 - ®¬¥à äãªæ¨¨
|
|
||||||
* ebx = 㪠§ â¥«ì ¨¬ï ä ©«
|
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
|
||||||
* eax = 0 - ãᯥè®; ¨ ç¥ ª®¤ ®è¨¡ª¨ ä ©«®¢®© á¨á⥬ë
|
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>â äãªæ¨ï ãáâ ५ ; äãªæ¨ï 58 ¯®§¢®«ï¥â ¢ë¯®«ïâì
|
|
||||||
⥠¦¥ ¤¥©á⢨ï á à áè¨à¥ë¬¨ ¢®§¬®¦®áâﬨ.
|
|
||||||
* ’¥ªãé ï ॠ«¨§ æ¨ï ¢®§¢à é ¥â ⮫쪮 § 票ï 0(ãᯥå) ¨
|
|
||||||
5(ä ©« ¥ ©¤¥).
|
|
||||||
* ˆ¬ï ä ©« ¤®«¦® ¡ëâì «¨¡® ¢ ä®à¬ ⥠8+3 ᨬ¢®«®¢ (¯¥à¢ë¥
|
|
||||||
8 ᨬ¢®«®¢ - ᮡá⢥® ¨¬ï, ¯®á«¥¤¨¥ 3 - à áè¨à¥¨¥,
|
|
||||||
ª®à®âª¨¥ ¨¬¥ ¨ à áè¨à¥¨ï ¤®¯®«ïîâáï ¯à®¡¥« ¬¨),
|
|
||||||
«¨¡® ¢ ä®à¬ ⥠8.3 ᨬ¢®«®¢ "FILE.EXT"/"FILE.EX "
|
|
||||||
(¨¬ï ¥ ¡®«¥¥ 8 ᨬ¢®«®¢, â®çª , à áè¨à¥¨¥ 3 ᨬ¢®« ,
|
|
||||||
¤®¯®«¥®¥ ¯à¨ ¥®¡å®¤¨¬®á⨠¯à®¡¥« ¬¨).
|
|
||||||
ˆ¬ï ä ©« ¤®«¦® ¡ëâì § ¯¨á ® § £« ¢ë¬¨ ¡ãª¢ ¬¨.
|
|
||||||
‡ ¢¥àè î騩 ᨬ¢®« á ª®¤®¬ 0 ¥ 㦥 (¥ ASCIIZ-áâப ).
|
|
||||||
* <20>â äãªæ¨ï ¥ ¯®¤¤¥à¦¨¢ ¥â ¯ ¯®ª à ¬¤¨áª¥.
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
=============== ”ãªæ¨ï 33 - § ¯¨á âì ä ©« à ¬¤¨áª. ===============
|
|
||||||
======================================================================
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
|
||||||
* eax = 33 - ®¬¥à äãªæ¨¨
|
|
||||||
* ebx = 㪠§ â¥«ì ¨¬ï ä ©«
|
|
||||||
* ecx = 㪠§ â¥«ì ¤ ë¥ ¤«ï § ¯¨á¨
|
|
||||||
* edx = ç¨á«® ¡ ©â ¤«ï § ¯¨á¨
|
|
||||||
* á«¥¤ã¥â ãáâ ¢«¨¢ âì esi=0
|
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
|
||||||
* eax = 0 - ãᯥè®, ¨ ç¥ ª®¤ ®è¨¡ª¨ ä ©«®¢®© á¨á⥬ë
|
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>â äãªæ¨ï ãáâ ५ ; äãªæ¨ï 70 ¯®§¢®«ï¥â ¢ë¯®«ïâì
|
|
||||||
⥠¦¥ ¤¥©á⢨ï á à áè¨à¥ë¬¨ ¢®§¬®¦®áâﬨ.
|
|
||||||
* …᫨ 㪠§ âì ¥ã«¥¢®¥ § 票¥ ¢ esi ¨ à ¬¤¨áª¥ 㦥 ¥áâì
|
|
||||||
㪠§ ë© ä ©«, â® ¡ã¤¥â ᮧ¤ ¥éñ ®¤¨ ä ©« á ⥬ ¦¥ ¨¬¥¥¬.
|
|
||||||
* ‚ ¯à®â¨¢®¬ á«ãç ¥ ä ©« ¯¥à¥§ ¯¨áë¢ ¥âáï.
|
|
||||||
* ˆ¬ï ä ©« ¤®«¦® ¡ëâì «¨¡® ¢ ä®à¬ ⥠8+3 ᨬ¢®«®¢
|
|
||||||
(¯¥à¢ë¥ 8 ᨬ¢®«®¢ - ᮡá⢥® ¨¬ï, ¯®á«¥¤¨¥ 3 - à áè¨à¥¨¥,
|
|
||||||
ª®à®âª¨¥ ¨¬¥ ¨ à áè¨à¥¨ï ¤®¯®«ïîâáï ¯à®¡¥« ¬¨),
|
|
||||||
«¨¡® ¢ ä®à¬ ⥠8.3 ᨬ¢®«®¢ "FILE.EXT"/"FILE.EX "
|
|
||||||
(¨¬ï ¥ ¡®«¥¥ 8 ᨬ¢®«®¢, â®çª , à áè¨à¥¨¥ 3 ᨬ¢®« ,
|
|
||||||
¤®¯®«¥®¥ ¯à¨ ¥®¡å®¤¨¬®á⨠¯à®¡¥« ¬¨).
|
|
||||||
ˆ¬ï ä ©« ¤®«¦® ¡ëâì § ¯¨á ® § £« ¢ë¬¨ ¡ãª¢ ¬¨.
|
|
||||||
‡ ¢¥àè î騩 ᨬ¢®« á ª®¤®¬ 0 ¥ 㦥 (¥ ASCIIZ-áâப ).
|
|
||||||
* <20>â äãªæ¨ï ¥ ¯®¤¤¥à¦¨¢ ¥â ¯ ¯®ª à ¬¤¨áª¥.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============ ”ãªæ¨ï 35 - ¯à®ç¨â âì 梥â â®çª¨ íªà ¥. ============
|
============ ”ãªæ¨ï 35 - ¯à®ç¨â âì 梥â â®çª¨ íªà ¥. ============
|
||||||
@ -1858,7 +1810,7 @@ dd 638
|
|||||||
------------------ <20>®¤äãªæ¨ï 7 - ¤ ë¥ ¯à®ªàã⪨ -------------------
|
------------------ <20>®¤äãªæ¨ï 7 - ¤ ë¥ ¯à®ªàã⪨ -------------------
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 37 - ®¬¥à äãªæ¨¨
|
* eax = 37 - ®¬¥à äãªæ¨¨
|
||||||
* ebx = 6 - ®¬¥à ¯®¤äãªæ¨¨
|
* ebx = 7 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = [horizontal offset]*65536 + [vertical offset]
|
* eax = [horizontal offset]*65536 + [vertical offset]
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
@ -1893,7 +1845,7 @@ dd 638
|
|||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = [è¨à¨ ]*65536 + [¢ëá®â ]
|
* eax = [è¨à¨ ]*65536 + [¢ëá®â ]
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* …áâì ¯ à ï ª®¬ ¤ ãáâ ®¢ª¨ à §¬¥à®¢ ä®®¢®£® ¨§®¡à ¦¥¨ï -
|
* …áâì ¯ à ï ª®¬ ¤ ãáâ ®¢ª¨ à §¬¥à®¢ ä®®¢®£® ¨§®¡à ¦¥¨ï -
|
||||||
¯®¤äãªæ¨ï 1 äãªæ¨¨ 15. <20>®á«¥ ª®â®à®©, à §ã¬¥¥âáï, á«¥¤ã¥â
|
¯®¤äãªæ¨ï 1 äãªæ¨¨ 15. <20>®á«¥ ª®â®à®©, à §ã¬¥¥âáï, á«¥¤ã¥â
|
||||||
§ ®¢® ®¯à¥¤¥«¨âì á ¬® ¨§®¡à ¦¥¨¥.
|
§ ®¢® ®¯à¥¤¥«¨âì á ¬® ¨§®¡à ¦¥¨¥.
|
||||||
|
|
||||||
@ -1912,7 +1864,7 @@ dd 638
|
|||||||
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥ ¢ á«ãç ¥ ¥¢¥à®£®
|
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥ ¢ á«ãç ¥ ¥¢¥à®£®
|
||||||
ᬥ饨ï, ®® ¬®¦¥â ¨§¬¥¨âìáï ¢ á«¥¤ãîé¨å ¢¥àá¨ïå ï¤à .
|
ᬥ饨ï, ®® ¬®¦¥â ¨§¬¥¨âìáï ¢ á«¥¤ãîé¨å ¢¥àá¨ïå ï¤à .
|
||||||
* ‘¬¥é¥¨¥ â®çª¨ á ª®®à¤¨ â ¬¨ (x,y) ¢ëç¨á«ï¥âáï ª ª (x+y*xsize)*3.
|
* ‘¬¥é¥¨¥ â®çª¨ á ª®®à¤¨ â ¬¨ (x,y) ¢ëç¨á«ï¥âáï ª ª (x+y*xsize)*3.
|
||||||
* …áâì ¯ à ï äãªæ¨ï ãáâ ®¢ª¨ â®çª¨ ä®®¢®¬ ¨§®¡à ¦¥¨¨ -
|
* …áâì ¯ à ï äãªæ¨ï ãáâ ®¢ª¨ â®çª¨ ä®®¢®¬ ¨§®¡à ¦¥¨¨ -
|
||||||
¯®¤äãªæ¨ï 2 äãªæ¨¨ 15.
|
¯®¤äãªæ¨ï 2 äãªæ¨¨ 15.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1925,7 +1877,7 @@ dd 638
|
|||||||
* eax = 1 - § ¬®áâ¨âì
|
* eax = 1 - § ¬®áâ¨âì
|
||||||
* eax = 2 - à áâïãâì
|
* eax = 2 - à áâïãâì
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* …áâì ¯ à ï äãªæ¨ï ãáâ ®¢ª¨ ०¨¬ ®âà¨á®¢ª¨ ä® -
|
* …áâì ¯ à ï äãªæ¨ï ãáâ ®¢ª¨ ०¨¬ ®âà¨á®¢ª¨ ä® -
|
||||||
¯®¤äãªæ¨ï 4 äãªæ¨¨ 15.
|
¯®¤äãªæ¨ï 4 äãªæ¨¨ 15.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -2068,7 +2020,7 @@ dd 638
|
|||||||
¢á¥ § १¥à¢¨à®¢ ë¥ ¨¬ IRQ.
|
¢á¥ § १¥à¢¨à®¢ ë¥ ¨¬ IRQ.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= ”ãªæ¨ï 46 - § १¥à¢¨à®¢ âì/®á¢®¡®¤¨âì £à㯯㠯®à⮢ ¢¢®¤ /¢ë¢®¤ .
|
= ”ãªæ¨ï 46 - § १¥à¢¨à®¢ âì/®á¢®¡®¤¨âì £à㯯㠯®à⮢ ¢¢®¤ /¢ë¢®¤ .
|
||||||
======================================================================
|
======================================================================
|
||||||
Š § १¥à¢¨à®¢ ë¬ ¯®àâ ¬ ¬®¦® ®¡à é âìáï ¯àï¬ãî ¨§ ¯à¨«®¦¥¨ï
|
Š § १¥à¢¨à®¢ ë¬ ¯®àâ ¬ ¬®¦® ®¡à é âìáï ¯àï¬ãî ¨§ ¯à¨«®¦¥¨ï
|
||||||
ª®¬ ¤ ¬¨ in/out (४®¬¥¤ã¥¬ë© ᯮᮡ) ¨ ¢ë§®¢®¬ äãªæ¨¨ 43
|
ª®¬ ¤ ¬¨ in/out (४®¬¥¤ã¥¬ë© ᯮᮡ) ¨ ¢ë§®¢®¬ äãªæ¨¨ 43
|
||||||
@ -2163,7 +2115,7 @@ dd 638
|
|||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>®á«¥ ¢ë§®¢ ®¯¨áë¢ ¥¬®© äãªæ¨¨ á«¥¤ã¥â ¯¥à¥à¨á®¢ âì íªà
|
* <20>®á«¥ ¢ë§®¢ ®¯¨áë¢ ¥¬®© äãªæ¨¨ á«¥¤ã¥â ¯¥à¥à¨á®¢ âì íªà
|
||||||
¯®¤äãªæ¨¥© 0.
|
¯®¤äãªæ¨¥© 0.
|
||||||
* ’¨¯ ª®¯®ª ¢«¨ï¥â ⮫쪮 ¨å ¯à®à¨á®¢ªã äãªæ¨¥© 8.
|
* ’¨¯ ª®¯®ª ¢«¨ï¥â ⮫쪮 ¨å ¯à®à¨á®¢ªã äãªæ¨¥© 8.
|
||||||
|
|
||||||
@ -2180,7 +2132,7 @@ dd 638
|
|||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>®á«¥ ¢ë§®¢ ®¯¨áë¢ ¥¬®© äãªæ¨¨ á«¥¤ã¥â ¯¥à¥à¨á®¢ âì íªà
|
* <20>®á«¥ ¢ë§®¢ ®¯¨áë¢ ¥¬®© äãªæ¨¨ á«¥¤ã¥â ¯¥à¥à¨á®¢ âì íªà
|
||||||
¯®¤äãªæ¨¥© 0.
|
¯®¤äãªæ¨¥© 0.
|
||||||
* ’ ¡«¨æ áâ ¤ àâëå 梥⮢ ¢«¨ï¥â ⮫쪮 ¯à¨«®¦¥¨ï,
|
* ’ ¡«¨æ áâ ¤ àâëå 梥⮢ ¢«¨ï¥â ⮫쪮 ¯à¨«®¦¥¨ï,
|
||||||
ª®â®àë¥ íâã â ¡«¨æã ï¢ë¬ ®¡à §®¬ ¯®«ãç îâ (¯®¤äãªæ¨¥© 3) ¨
|
ª®â®àë¥ íâã â ¡«¨æã ï¢ë¬ ®¡à §®¬ ¯®«ãç îâ (¯®¤äãªæ¨¥© 3) ¨
|
||||||
@ -2219,11 +2171,11 @@ dword-
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* ‘âàãªâãà â ¡«¨æë 梥⮢ ®¯¨á ¢ áâ ¤ à⮬ ¢ª«îç ¥¬®¬ ä ©«¥
|
* ‘âàãªâãà â ¡«¨æë 梥⮢ ®¯¨á ¢ áâ ¤ à⮬ ¢ª«îç ¥¬®¬ ä ©«¥
|
||||||
macros.inc ¯®¤ §¢ ¨¥¬ system_colors; ¯à¨¬¥à, ¬®¦® ¯¨á âì:
|
macros.inc ¯®¤ §¢ ¨¥¬ system_colors; ¯à¨¬¥à, ¬®¦® ¯¨á âì:
|
||||||
sc system_colors ; ®¡ê¥¨¥ ¯¥à¥¬¥®©
|
sc system_colors ; ®¡ê¥¨¥ ¯¥à¥¬¥®©
|
||||||
... ; £¤¥-â® ¤® ¢ë§¢ âì
|
... ; £¤¥-â® ¤® ¢ë§¢ âì
|
||||||
; ®¯¨áë¢ ¥¬ãî äãªæ¨î á ecx=sc
|
; ®¯¨áë¢ ¥¬ãî äãªæ¨î á ecx=sc
|
||||||
mov ecx, [sc.work_button_text] ; ç¨â ¥¬ 梥â ⥪áâ
|
mov ecx, [sc.work_button_text] ; ç¨â ¥¬ 梥â ⥪áâ
|
||||||
; ª®¯ª¥ ¢ à ¡®ç¥© ®¡« áâ¨
|
; ª®¯ª¥ ¢ à ¡®ç¥© ®¡« áâ¨
|
||||||
* ˆá¯®«ì§®¢ ¨¥/¥¨á¯®«ì§®¢ ¨¥ íâ¨å 梥⮢ - ¤¥«® ¨áª«îç¨â¥«ì®
|
* ˆá¯®«ì§®¢ ¨¥/¥¨á¯®«ì§®¢ ¨¥ íâ¨å 梥⮢ - ¤¥«® ¨áª«îç¨â¥«ì®
|
||||||
á ¬®© ¯à®£à ¬¬ë. „«ï ¨á¯®«ì§®¢ ¨ï 㦮 ¯à®áâ® ¯à¨ ¢ë§®¢¥ äãªæ¨©
|
á ¬®© ¯à®£à ¬¬ë. „«ï ¨á¯®«ì§®¢ ¨ï 㦮 ¯à®áâ® ¯à¨ ¢ë§®¢¥ äãªæ¨©
|
||||||
à¨á®¢ ¨ï 㪠§ë¢ âì 梥â, ¢§ïâë© ¨§ í⮩ â ¡«¨æë.
|
à¨á®¢ ¨ï 㪠§ë¢ âì 梥â, ¢§ïâë© ¨§ í⮩ â ¡«¨æë.
|
||||||
@ -2294,7 +2246,7 @@ dword-
|
|||||||
€ «®£¨ç® ¯® ®á¨ y.
|
€ «®£¨ç® ¯® ®á¨ y.
|
||||||
* ‘¬®âਠ⠪¦¥ äãªæ¨î 14,
|
* ‘¬®âਠ⠪¦¥ äãªæ¨î 14,
|
||||||
¯®§¢®«ïîéãî ®¯à¥¤¥«¨âì à §¬¥àë ¢á¥£® íªà .
|
¯®§¢®«ïîéãî ®¯à¥¤¥«¨âì à §¬¥àë ¢á¥£® íªà .
|
||||||
* …áâì ¯ à ï äãªæ¨ï ¯®«ã票ï à ¡®ç¥© ®¡« á⨠-
|
* …áâì ¯ à ï äãªæ¨ï ¯®«ã票ï à ¡®ç¥© ®¡« á⨠-
|
||||||
¯®¤äãªæ¨ï 5.
|
¯®¤äãªæ¨ï 5.
|
||||||
* <20>â äãªæ¨ï ¢â®¬ â¨ç¥áª¨ ¯¥à¥à¨á®¢ë¢ ¥â íªà , ¯® 室㠤¥«
|
* <20>â äãªæ¨ï ¢â®¬ â¨ç¥áª¨ ¯¥à¥à¨á®¢ë¢ ¥â íªà , ¯® 室㠤¥«
|
||||||
®¡®¢«ï¥â ª®®à¤¨ âë ¨ à §¬¥àë ¬ ªá¨¬¨§¨à®¢ ëå ®ª®.
|
®¡®¢«ï¥â ª®®à¤¨ âë ¨ à §¬¥àë ¬ ªá¨¬¨§¨à®¢ ëå ®ª®.
|
||||||
@ -2418,7 +2370,7 @@ dword-
|
|||||||
* ¨ ç¥ eax = TID - ¨¤¥â¨ä¨ª â®à ¯®â®ª
|
* ¨ ç¥ eax = TID - ¨¤¥â¨ä¨ª â®à ¯®â®ª
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= ”ãªæ¨ï 52, ¯®¤äãªæ¨ï 0 - ¯®«ãç¨âì ª®ä¨£ãà æ¨î á¥â¥¢®£® ¤à ©¢¥à .
|
= ”ãªæ¨ï 52, ¯®¤äãªæ¨ï 0 - ¯®«ãç¨âì ª®ä¨£ãà æ¨î á¥â¥¢®£® ¤à ©¢¥à .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 52 - ®¬¥à äãªæ¨¨
|
* eax = 52 - ®¬¥à äãªæ¨¨
|
||||||
@ -2443,7 +2395,7 @@ dword-
|
|||||||
* ‹®ª «ìë© IP- ¤à¥á ãáâ ¢«¨¢ ¥âáï ¯®¤äãªæ¨¥© 3.
|
* ‹®ª «ìë© IP- ¤à¥á ãáâ ¢«¨¢ ¥âáï ¯®¤äãªæ¨¥© 3.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 52, ¯®¤äãªæ¨ï 2 - ãáâ ®¢¨âì ª®ä¨£ãà æ¨î á¥â¥¢®£® ¤à ©¢¥à .
|
”ãªæ¨ï 52, ¯®¤äãªæ¨ï 2 - ãáâ ®¢¨âì ª®ä¨£ãà æ¨î á¥â¥¢®£® ¤à ©¢¥à .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 52 - ®¬¥à äãªæ¨¨
|
* eax = 52 - ®¬¥à äãªæ¨¨
|
||||||
@ -2771,7 +2723,7 @@ dword-
|
|||||||
* ebx à §àãè ¥âáï
|
* ebx à §àãè ¥âáï
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 53, ¯®¤äãªæ¨ï 255 - ®â« ¤®ç ï ¨ä®à¬ æ¨ï á¥â¥¢®£® ¤à ©¢¥à .
|
”ãªæ¨ï 53, ¯®¤äãªæ¨ï 255 - ®â« ¤®ç ï ¨ä®à¬ æ¨ï á¥â¥¢®£® ¤à ©¢¥à .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 53 - ®¬¥à äãªæ¨¨
|
* eax = 53 - ®¬¥à äãªæ¨¨
|
||||||
@ -3013,8 +2965,8 @@ dword-
|
|||||||
* <20> §¬¥à ¡«®ª - 512 ¡ ©â; ç¨â ¥âáï ®¤¨ ¡«®ª.
|
* <20> §¬¥à ¡«®ª - 512 ¡ ©â; ç¨â ¥âáï ®¤¨ ¡«®ª.
|
||||||
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥,
|
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥,
|
||||||
®® ¬®¦¥â ¨§¬¥¨âìáï ¢ á«¥¤ãîé¨å ¢¥àá¨ïå.
|
®® ¬®¦¥â ¨§¬¥¨âìáï ¢ á«¥¤ãîé¨å ¢¥àá¨ïå.
|
||||||
* ’ॡã¥âáï, çâ®¡ë ¡ë« à §à¥èñ LBA-¤®áâ㯠ª ãáâனá⢠¬
|
* ’ॡã¥âáï, çâ®¡ë ¡ë« à §à¥èñ LBA-¤®áâ㯠ª ãáâனá⢠¬
|
||||||
¯®¤äãªæ¨¥© 11 äãªæ¨¨ 21. “§ âì íâ® ¬®¦® ¢ë§®¢®¬
|
¯®¤äãªæ¨¥© 11 äãªæ¨¨ 21. “§ âì íâ® ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¥© 11 äãªæ¨¨ 26.
|
¯®¤äãªæ¨¥© 11 äãªæ¨¨ 26.
|
||||||
* LBA-ç⥨¥ ¤¨áª¥âë ¥ ¯®¤¤¥à¦¨¢ ¥âáï.
|
* LBA-ç⥨¥ ¤¨áª¥âë ¥ ¯®¤¤¥à¦¨¢ ¥âáï.
|
||||||
* ”ãªæ¨ï áç¨âë¢ ¥â ¤ ë¥ ä¨§¨ç¥áª®£® ¦ñá⪮£® ¤¨áª ;
|
* ”ãªæ¨ï áç¨âë¢ ¥â ¤ ë¥ ä¨§¨ç¥áª®£® ¦ñá⪮£® ¤¨áª ;
|
||||||
@ -3028,7 +2980,7 @@ dword-
|
|||||||
íâ® ¡ã¤¥â áç¨â âìáï ãᯥ宬 (eax=0).
|
íâ® ¡ã¤¥â áç¨â âìáï ãᯥ宬 (eax=0).
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= ”ãªæ¨ï 58, ¯®¤äãªæ¨ï 15 - ¯®«ãç¨âì ¨ä®à¬ æ¨î ® ä ©«®¢®© á¨á⥬¥.
|
= ”ãªæ¨ï 58, ¯®¤äãªæ¨ï 15 - ¯®«ãç¨âì ¨ä®à¬ æ¨î ® ä ©«®¢®© á¨á⥬¥.
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 58 - ®¬¥à äãªæ¨¨
|
* eax = 58 - ®¬¥à äãªæ¨¨
|
||||||
@ -3125,10 +3077,10 @@ IPC
|
|||||||
<EFBFBD>à®£à ¬¬¥ ¤®áâã¯ë ¤ ë¥ £à ä¨ç¥áª®£® íªà (®¡« áâì ¯ ¬ïâ¨, ª®â®à ï
|
<EFBFBD>à®£à ¬¬¥ ¤®áâã¯ë ¤ ë¥ £à ä¨ç¥áª®£® íªà (®¡« áâì ¯ ¬ïâ¨, ª®â®à ï
|
||||||
ᮡá⢥® ¨ ®â®¡à ¦ ¥â ᮤ¥à¦¨¬®¥ íªà ) ¯àï¬ãî ¡¥§ ¢ë§®¢®¢
|
ᮡá⢥® ¨ ®â®¡à ¦ ¥â ᮤ¥à¦¨¬®¥ íªà ) ¯àï¬ãî ¡¥§ ¢ë§®¢®¢
|
||||||
á¨á⥬ëå äãªæ¨© ç¥à¥§ ᥫ¥ªâ®à gs:
|
á¨á⥬ëå äãªæ¨© ç¥à¥§ ᥫ¥ªâ®à gs:
|
||||||
mov eax, [gs:0]
|
mov eax, [gs:0]
|
||||||
¯®¬¥áâ¨â ¢ eax ¯¥à¢ë© dword ¡ãä¥à , ᮤ¥à¦ 騩 ¨ä®à¬ æ¨î ® 梥â¥
|
¯®¬¥áâ¨â ¢ eax ¯¥à¢ë© dword ¡ãä¥à , ᮤ¥à¦ 騩 ¨ä®à¬ æ¨î ® 梥â¥
|
||||||
«¥¢®© ¢¥à奩 â®çª¨ (¨, ¢®§¬®¦®, 梥⠥᪮«ìª¨å á«¥¤ãîé¨å).
|
«¥¢®© ¢¥à奩 â®çª¨ (¨, ¢®§¬®¦®, 梥⠥᪮«ìª¨å á«¥¤ãîé¨å).
|
||||||
mov [gs:0], eax
|
mov [gs:0], eax
|
||||||
¯à¨ à ¡®â¥ ¢ ०¨¬ å VESA c LFB
|
¯à¨ à ¡®â¥ ¢ ०¨¬ å VESA c LFB
|
||||||
ãáâ ®¢¨â 梥⠫¥¢®© ¢¥à奩 â®çª¨
|
ãáâ ®¢¨â 梥⠫¥¢®© ¢¥à奩 â®çª¨
|
||||||
(¨ ¢®§¬®¦®, 梥⠥᪮«ìª¨å á«¥¤ãîé¨å).
|
(¨ ¢®§¬®¦®, 梥⠥᪮«ìª¨å á«¥¤ãîé¨å).
|
||||||
@ -3289,63 +3241,6 @@ IPC
|
|||||||
¢å®¤¨â, ¯à¨¬¥à, ¢ ¨§¢¥áâë© Interrupt List by Ralf Brown;
|
¢å®¤¨â, ¯à¨¬¥à, ¢ ¨§¢¥áâë© Interrupt List by Ralf Brown;
|
||||||
ᯨ᮪ ¢â®àëå ¤®«¦¥ ¡ëâì 㪠§ ¢ ¤®ªã¬¥â 樨 ¯® ãáâனáâ¢ã.
|
ᯨ᮪ ¢â®àëå ¤®«¦¥ ¡ëâì 㪠§ ¢ ¤®ªã¬¥â 樨 ¯® ãáâனáâ¢ã.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
====================== ”ãªæ¨ï 62, ¯®¤äãªæ¨ï 11 =====================
|
|
||||||
== ˆ¨æ¨ «¨§¨à®¢ âì ¯®«ì§®¢ ⥫ì᪨© ‚/‚ á ®â®¡à ¦¥¨¥¬ ¯ ¬ïâì ==
|
|
||||||
======================================================================
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
|
||||||
* eax = 62 - ®¬¥à äãªæ¨¨
|
|
||||||
* bl = 11 - ®¬¥à ¯®¤äãªæ¨¨
|
|
||||||
* cx = ¤à¥á PCI-ãáâனáâ¢
|
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
|
||||||
* eax = -1 - ¤®áâ㯠ª PCI § ¯à¥éñ;
|
|
||||||
* eax = -2 - ¤®áâ㯠ª MMIO-¡«®ª ¬ ãáâனá⢠¥ à §à¥èñ;
|
|
||||||
* eax = -3 - ®è¨¡ª ««®ª 樨 ¯®«ì§®¢ ⥫ì᪮© ¤¨. ¯ ¬ïâ¨; ¨ ç¥
|
|
||||||
* eax = à §¬¥à ¤®áâ㯮© ¤¨ ¬¨ç¥áª®© ¯ ¬ïâ¨.
|
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>।¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì à §à¥èñ ¨§ª®ã஢¥¢ë© ¤®áâ㯠ª PCI
|
|
||||||
¤«ï ¯à¨«®¦¥¨© ¯®¤äãªæ¨¥© 12 äãªæ¨¨ 21.
|
|
||||||
* ¤à¥á PCI-ãáâனá⢠¤®«¦¥ ᮢ¯ ¤ âì á á¨á⥬®© ¯¥à¥¬¥®©
|
|
||||||
mmio_pci_addr
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
====================== ”ãªæ¨ï 62, ¯®¤äãªæ¨ï 12 =====================
|
|
||||||
== ‚뤥«¨âì ¤¨ ¯ §® «¨¥©ëå ¤à¥á®¢ ¤«ï ¯®«ì§®¢ ⥫ì᪮£® MMIO ==
|
|
||||||
======================================================================
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
|
||||||
* eax = 62 - ®¬¥à äãªæ¨¨
|
|
||||||
* bl = 12 - ®¬¥à ¯®¤äãªæ¨¨
|
|
||||||
* bh = ®¬¥à BAR-ॣ¨áâà ¢ ª®ä¨£ãà 樮®© §®¥ PCI
|
|
||||||
* ecx = à §¬¥à MMIO-¡«®ª (¢ ¡ ©â å)
|
|
||||||
* edx = ᬥ饨¥ ®â®á¨â¥«ì® ç « MMIO-¡«®ª (¢ 4K-áâà ¨æ å!)
|
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
|
||||||
* eax = -1 - ¤®áâ㯠ª PCI § ¯à¥éñ;
|
|
||||||
* eax = -2 - ¥¢¥àë© ®¬¥à BAR-ॣ¨áâà ;
|
|
||||||
* eax = -3 - BAR ¥ ᮤ¥à¦¨â ¤à¥á IO;
|
|
||||||
* eax = -4 - BAR ¤à¥áã¥â ¯®àâë IO;
|
|
||||||
* eax = -5 - ®è¨¡ª ««®ª 樨; ¨ ç¥
|
|
||||||
* eax = ç «ìë© ¤à¥á MMIO ¢ ¤à¥á®¬ ¯à®áâà á⢥ ¯à¨«®¦¥¨ï.
|
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>।¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì à §à¥èñ ¨§ª®ã஢¥¢ë© ¤®áâ㯠ª PCI
|
|
||||||
¤«ï ¯à¨«®¦¥¨© ¯®¤äãªæ¨¥© 12 äãªæ¨¨ 21.
|
|
||||||
* €¤à¥á PCI-ãáâனá⢠§ ¤ ¥âáï á¨á⥬®© ¯¥à¥¬¥®© mmio_pci_addr.
|
|
||||||
* <20>।®áâ ¢«¥ë© ¤¨ ¯ §® «¨¥©ëå ¤à¥á®¢ ¤®«¦¥ ®á¢®¡®¦¤ âìáï
|
|
||||||
¯®á।á⢮¬ ¢ë§®¢ äãªæ¨¨ 62:13
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
====================== ”ãªæ¨ï 62, ¯®¤äãªæ¨ï 13 =====================
|
|
||||||
== Žá¢®¡®¤¨âì ¤¨ ¯ §® «¨¥©ëå ¤à¥á®¢ ¯®«ì§®¢ ⥫ì᪮£® MMIO ==
|
|
||||||
======================================================================
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
|
||||||
* eax = 62 - ®¬¥à äãªæ¨¨
|
|
||||||
* bl = 12 - ®¬¥à ¯®¤äãªæ¨¨
|
|
||||||
* ecx = ç «ìë© ¤à¥á ®á¢®¡®¦¤ ¥¬®£® MMIO-¡«®ª ¢ ¤à¥á®¬
|
|
||||||
¯à®áâà á⢥ ¯à¨«®¦¥¨ï
|
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
|
||||||
* eax = 1 - ¡«®ª ãá¯¥è® ®á¢®¡®¦¤¥;
|
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>।¢ à¨â¥«ì® ¯à¨«®¦¥¨î ¤®«¦¥ ¡ëâì ¢ë¤¥«¥ uMMIO-¡«®ª (fn62:12)
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
================ ”ãªæ¨ï 63 - à ¡®â á ¤®áª®© ®â« ¤ª¨. ===============
|
================ ”ãªæ¨ï 63 - à ¡®â á ¤®áª®© ®â« ¤ª¨. ===============
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -3459,7 +3354,6 @@ IPC
|
|||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD>¥¦¨¬ ¢¢®¤ ¢«¨ï¥â १ã«ìâ âë çâ¥¨ï ª« ¢¨è äãªæ¨¥© 2.
|
<EFBFBD>¥¦¨¬ ¢¢®¤ ¢«¨ï¥â १ã«ìâ âë çâ¥¨ï ª« ¢¨è äãªæ¨¥© 2.
|
||||||
<EFBFBD>ਠ§ £à㧪¥ ¯à®£à ¬¬ë ¤«ï ¥ñ ãáâ ¢«¨¢ ¥âáï ASCII-०¨¬ ¢¢®¤ .
|
<EFBFBD>ਠ§ £à㧪¥ ¯à®£à ¬¬ë ¤«ï ¥ñ ãáâ ¢«¨¢ ¥âáï ASCII-०¨¬ ¢¢®¤ .
|
||||||
…᫨ ¢ë§ë¢ ¥âáï ¥áãé¥áâ¢ãîé ï ¯®¤äãªæ¨ï ¢®§¢à é ¥âáï ¢ eax=-1.
|
|
||||||
|
|
||||||
-------- <20>®¤äãªæ¨ï 1 - ãáâ ®¢¨âì ०¨¬ ¢¢®¤ á ª« ¢¨ âãàë. ---------
|
-------- <20>®¤äãªæ¨ï 1 - ãáâ ®¢¨âì ०¨¬ ¢¢®¤ á ª« ¢¨ âãàë. ---------
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
@ -3702,25 +3596,20 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
¨«¨ ¯®¤äãªæ¨¥© 20.
|
¨«¨ ¯®¤äãªæ¨¥© 20.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
==================== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 14 =======================
|
====================== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 14 =====================
|
||||||
===== Ž¦¨¤ âì ¯®«ã票ï ᨣ « , ®â ¤àã£¨å ¯à¨«®¦¥¨©/¤à ©¢¥à®¢. =====
|
====== Ž¦¨¤ âì ¯®«ã票ï ᨣ « ®â ¤àã£¨å ¯à¨«®¦¥¨©/¤à ©¢¥à®¢. =====
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 68 - ®¬¥à äãªæ¨¨
|
* eax = 68 - ®¬¥à äãªæ¨¨
|
||||||
* ebx = 14 - ®¬¥à ¯®¤äãªæ¨¨
|
* ebx = 14 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
* ecx = 㪠§ â¥«ì ¡ãä¥à ¤«ï ¨ä®à¬ 樨 (24 ¡ ©â )
|
* ecx = 㪠§ â¥«ì ¡ãä¥à ¤«ï ¨ä®à¬ 樨 (24 ¡ ©â )
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
|
* eax à §àãè ¥âáï
|
||||||
* ¡ãä¥à, ª®â®àë© ãª §ë¢ ¥â ecx, ᮤ¥à¦¨â á«¥¤ãîéãî ¨ä®à¬ æ¨î:
|
* ¡ãä¥à, ª®â®àë© ãª §ë¢ ¥â ecx, ᮤ¥à¦¨â á«¥¤ãîéãî ¨ä®à¬ æ¨î:
|
||||||
* +0: dword: ¨¤¥â¨ä¨ª â®à ¯®á«¥¤ãîé¨å ¤ ëå ᨣ «
|
* +0: dword: ¨¤¥â¨ä¨ª â®à ¯®á«¥¤ãîé¨å ¤ ëå ᨣ «
|
||||||
* +4: ¤ ë¥ ¯à¨ï⮣® ᨣ « (20 ¡ ©â), ä®à¬ â ª®â®àëå
|
* +4: ¤ ë¥ ¯à¨ï⮣® ᨣ « (20 ¡ ©â), ä®à¬ â ª®â®àëå
|
||||||
®¯à¥¤¥«ï¥âáï ¯¥à¢ë¬ dword-®¬
|
®¯à¥¤¥«ï¥âáï ¯¥à¢ë¬ dword-®¬
|
||||||
|
|
||||||
======================================================================
|
|
||||||
== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 15 - ãáâ ®¢¨âì ®¡à ¡®â稪 ¨áª«î票© FPU. =
|
|
||||||
======================================================================
|
|
||||||
“¤ «¥ (¢ ⥪ã饩 ॠ«¨§ 樨 ¯à®áâ® ¢®§¢à é ¥â 0)
|
|
||||||
ˆá¯®«ì§®¢ âì ¯®¤äãªæ¨¨ 24, 25
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=========== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 16 - § £à㧨âì ¤à ©¢¥à. ===========
|
=========== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 16 - § £à㧨âì ¤à ©¢¥à. ===========
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -3759,12 +3648,6 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
®¯à¥¤¥«ïîâáï ¤à ©¢¥à®¬.
|
®¯à¥¤¥«ïîâáï ¤à ©¢¥à®¬.
|
||||||
* <20>।¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¯®«ãç¥ åí¤« ¤à ©¢¥à ¯®¤äãªæ¨¥© 16.
|
* <20>।¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¯®«ãç¥ åí¤« ¤à ©¢¥à ¯®¤äãªæ¨¥© 16.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 18 - ãáâ ®¢¨âì ®¡à ¡®â稪 ¨áª«î票© SSE. =
|
|
||||||
======================================================================
|
|
||||||
“¤ «¥ (¢ ⥪ã饩 ॠ«¨§ 樨 ¯à®áâ® ¢®§¢à é ¥â 0)
|
|
||||||
ˆá¯®«ì§®¢ âì ¯®¤äãªæ¨¨ 24, 25
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============= ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 19 - § £à㧨âì DLL. =============
|
============= ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 19 - § £à㧨âì DLL. =============
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -3860,7 +3743,7 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
®¡« á⨠¯ ¬ïâ¨.
|
®¡« á⨠¯ ¬ïâ¨.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
==== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 24 - ãáâ ®¢¨âì ®¡à ¡®â稪 ¨áª«î票© ===
|
==== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 24 - ãáâ ®¢¨âì ®¡à ¡®â稪 ¨áª«î票©. ===
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 68 - ®¬¥à äãªæ¨¨
|
* eax = 68 - ®¬¥à äãªæ¨¨
|
||||||
@ -3871,26 +3754,26 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* eax = ¤à¥á áâ ண® ®¡à ¡®â稪 ¨áª«î票© (0, ¥á«¨ ¥ ãáâ ®¢«¥)
|
* eax = ¤à¥á áâ ண® ®¡à ¡®â稪 ¨áª«î票© (0, ¥á«¨ ¥ ãáâ ®¢«¥)
|
||||||
* ebx = ¬ ᪠áâ ண® ®¡à ¡®â稪 ¨áª«î票©
|
* ebx = ¬ ᪠áâ ண® ®¡à ¡®â稪 ¨áª«î票©
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>®¬¥à ¡¨â ¢ ¬ ᪥ ¨áª«î票© ᮮ⢥âáâ¢ãîâ ®¬¥à㠨᪫îç¥¨ï ¯®
|
* <20>®¬¥à ¡¨â ¢ ¬ ᪥ ¨áª«î票© ᮮ⢥âáâ¢ã¥â ®¬¥à㠨᪫îç¥¨ï ¯®
|
||||||
ᯥæ¨ä¨ª 樨 ¯à®æ¥áá®à (Intel-PC). ’ ª ¯à¨¬¥à, ¨áª«î票ï FPU
|
ᯥæ¨ä¨ª 樨 ¯à®æ¥áá®à (Intel-PC). ’ ª, ¯à¨¬¥à, ¨áª«î票ï
|
||||||
¨¬¥îâ ®¬¥à 16 (#MF), SSE - 19 (#XF).
|
FPU ¨¬¥îâ ®¬¥à 16 (#MF), SSE - 19 (#XF).
|
||||||
* ‚ ¤ ®© ॠ«¨§ 樨 ¨£®à¨àã¥âáï § ¯à®á ¯¥à¥å¢ ⠨᪫î票ï 7
|
* ‚ ¤ ®© ॠ«¨§ 樨 ¨£®à¨àã¥âáï § ¯à®á ¯¥à¥å¢ ⠨᪫î票ï 7
|
||||||
- á¨á⥬ ®¡à ¡ âë¢ ¥â #NM á ¬®áâ®ï⥫ì®.
|
- á¨á⥬ ®¡à ¡ âë¢ ¥â #NM á ¬®áâ®ï⥫ì®.
|
||||||
* <20>®«ì§®¢ ⥫ì᪨© ®¡à ¡®â稪 ¯®«ãç ¥â ®¬¥à ¨áª«îç¥¨ï ¯ à ¬¥â஬
|
* <20>®«ì§®¢ ⥫ì᪨© ®¡à ¡®â稪 ¯®«ãç ¥â ®¬¥à ¨áª«îç¥¨ï ¯ à ¬¥â஬
|
||||||
¢ á⥪¥. <20>®íâ®¬ã ¯à ¢¨«ìë© ¢ë室 ¨§ ®¡à ¡®â稪 : RET 4. ‚®§¢à â
|
¢ á⥪¥. <20>®íâ®¬ã ¯à ¢¨«ìë© ¢ë室 ¨§ ®¡à ¡®â稪 : RET 4. ‚®§¢à â
|
||||||
¯à¨ í⮬ ¯à®¨§¢®¤¨âáï ª®¬ ¤ã, ¢ë§¢ ¢èãî ¨áª«î票¥.
|
¯à¨ í⮬ ¯à®¨§¢®¤¨âáï ª®¬ ¤ã, ¢ë§¢ ¢èãî ¨áª«î票¥.
|
||||||
* <20>ਠ¯¥à¥¤ ç¥ ã¯à ¢«¥¨ï ®¡à ¡®â稪㠨᪫î票©, á¡à áë¢ ¥âáï
|
* <20>ਠ¯¥à¥¤ ç¥ ã¯à ¢«¥¨ï ®¡à ¡®â稪㠨᪫î票© á¡à áë¢ ¥âáï
|
||||||
ᮮ⢥âáâ¢ãî騩 ¡¨â ¢ ¬ ᪥ ¨áª«î票©. ‚®§¨ª®¢¥¨¥ í⮣® ¦¥
|
ᮮ⢥âáâ¢ãî騩 ¡¨â ¢ ¬ ᪥ ¨áª«î票©. ‚®§¨ª®¢¥¨¥ í⮣® ¦¥
|
||||||
¨áª«îç¥¨ï ¢ ¯®á«¥¤á⢨¨ - ¯à¨¢¥¤¥â ª default-®¡à ¡®âª¥ â ª®¢®£®.
|
¨áª«îç¥¨ï ¢¯®á«¥¤á⢨¨ ¯à¨¢¥¤ñâ ª 㬮«ç «ì®© ®¡à ¡®âª¥ â ª®¢®£®.
|
||||||
€ ¨¬¥®: ª § ¢¥à襨î à ¡®âë ¯à¨«®¦¥¨ï, ¨«¨ ¯à¨®áâ ®¢ª¥ á
|
€ ¨¬¥®: ª § ¢¥à襨î à ¡®âë ¯à¨«®¦¥¨ï ¢ ®âáãâá⢨¨ ®â« ¤ç¨ª ,
|
||||||
®â¨ä¨ª 樥© ®â« ¦¨¢ î饬㠯ਫ®¦¥¨î.
|
¯à¨®áâ ®¢ª á 㢥¤®¬«¥¨¥¬ ®â« ¦¨¢ î饣® ¯à¨«®¦¥¨ï ¨ ç¥.
|
||||||
* <20>®á«¥ § ¢¥àè¥¨ï ªà¨â¨ç¥áª¨å ¤¥©á⢨© ¢ ®¡à ¡®â稪¥ ¯®«ì§®¢ ⥫ï,
|
* <20>®á«¥ § ¢¥àè¥¨ï ªà¨â¨ç¥áª¨å ¤¥©á⢨© ¢ ®¡à ¡®â稪¥ ¯®«ì§®¢ ⥫ï
|
||||||
¢®ááâ ®¢«¥¨¥ ¡¨â ¬ ᪨ ¤ ®£® ¨áª«îç¥¨ï ¬®¦® ᤥ« âì
|
¢®ááâ ®¢«¥¨¥ ¡¨â ¬ ᪨ ¤ ®£® ¨áª«îç¥¨ï ¬®¦® ᤥ« âì
|
||||||
¯®¤äãªæ¨¥© 25. ‘¡à®á ä« £®¢ ¨áª«î票© ¢ ¬®¤ã«ïå FPU ¨ XMM -
|
¯®¤äãªæ¨¥© 25. ‘¡à®á ä« £®¢ ¨áª«î票© ¢ ¬®¤ã«ïå FPU ¨ XMM â ª¦¥
|
||||||
â ª¦¥ ¢®§« £ ¥âáï ®¡à ¡®â稪 ¯®«ì§®¢ ⥫ï.
|
¢®§« £ ¥âáï ®¡à ¡®â稪 ¯®«ì§®¢ ⥫ï.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 25 - ¨§¬¥¥¨¥ á®áâ®ï¨ï ªâ¨¢®á⨠ᨣ « =
|
= ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 25 - ¨§¬¥¨âì á®áâ®ï¨¥ ªâ¨¢®á⨠ᨣ « . =
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 68 - ®¬¥à äãªæ¨¨
|
* eax = 68 - ®¬¥à äãªæ¨¨
|
||||||
@ -3898,10 +3781,11 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* ecx = ®¬¥à ᨣ «
|
* ecx = ®¬¥à ᨣ «
|
||||||
* edx = § 票¥ ãáâ ¢«¨¢ ¥¬®© ªâ¨¢®á⨠(0/1)
|
* edx = § 票¥ ãáâ ¢«¨¢ ¥¬®© ªâ¨¢®á⨠(0/1)
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = áâ ஥ § 票¥ ªâ¨¢®á⨠ᨣ « (0/1)
|
* eax = -1 - § ¤ ¥¢¥àë© ®¬¥à ᨣ «
|
||||||
|
* ¨ ç¥ eax = áâ ஥ § 票¥ ªâ¨¢®á⨠ᨣ « (0/1)
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* ‚ ⥪ã饩 ॠ«¨§ 樨 ¨§¬¥ï¥âáï ⮫쪮 ¬ ᪠¯®«ì§®¢ ⥫ì᪮£®
|
* ‚ ⥪ã饩 ॠ«¨§ 樨 ¨§¬¥ï¥âáï ⮫쪮 ¬ ᪠¯®«ì§®¢ ⥫ì᪮£®
|
||||||
®¡à ¡®â稪 ¨áª«î票©, ãáâ ®¢«¥®£® ¯®¤äãªæ¨¥© 24. <20>ਠí⮬,
|
®¡à ¡®â稪 ¨áª«î票©, ãáâ ®¢«¥®£® ¯®¤äãªæ¨¥© 24. <20>ਠí⮬
|
||||||
®¬¥à ᨣ « ᮮ⢥âáâ¢ã¥â ®¬¥à㠨᪫î票ï.
|
®¬¥à ᨣ « ᮮ⢥âáâ¢ã¥â ®¬¥à㠨᪫î票ï.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -3971,7 +3855,7 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
¨ ¯à¨ ¯®áâ㯫¥¨¨ ®¢®£® á®®¡é¥¨ï á¨á⥬ ¡ã¤¥â ¦¤ âì.
|
¨ ¯à¨ ¯®áâ㯫¥¨¨ ®¢®£® á®®¡é¥¨ï á¨á⥬ ¡ã¤¥â ¦¤ âì.
|
||||||
„«ï á¨åந§ 樨 ®¡à ¬«ï©â¥ ¢áî à ¡®âã á ¡ãä¥à®¬ ®¯¥à æ¨ï¬¨
|
„«ï á¨åந§ 樨 ®¡à ¬«ï©â¥ ¢áî à ¡®âã á ¡ãä¥à®¬ ®¯¥à æ¨ï¬¨
|
||||||
¡«®ª¨à®¢ª¨/à §¡«®ª¨à®¢ª¨
|
¡«®ª¨à®¢ª¨/à §¡«®ª¨à®¢ª¨
|
||||||
neg [bufsize]
|
neg [bufsize]
|
||||||
* „ ë¥ ¢ ¡ãä¥à¥ âà ªâãîâáï ª ª ¬ áᨢ í«¥¬¥â®¢ ¯¥à¥¬¥®© ¤«¨ë -
|
* „ ë¥ ¢ ¡ãä¥à¥ âà ªâãîâáï ª ª ¬ áᨢ í«¥¬¥â®¢ ¯¥à¥¬¥®© ¤«¨ë -
|
||||||
á®®¡é¥¨©. ”®à¬ â á®®¡é¥¨ï 㪠§ ¢ ®¡é¥¬ ®¯¨á ¨¨.
|
á®®¡é¥¨©. ”®à¬ â á®®¡é¥¨ï 㪠§ ¢ ®¡é¥¬ ®¯¨á ¨¨.
|
||||||
|
|
||||||
@ -4082,7 +3966,7 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
®¡é¥¬ ®¯¨á ¨¨).
|
®¡é¥¬ ®¯¨á ¨¨).
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 69, ¯®¤äãªæ¨ï 7 - § ¯¨á âì ¢ ¯ ¬ïâì ®â« ¦¨¢ ¥¬®£® ¯à®æ¥áá .
|
”ãªæ¨ï 69, ¯®¤äãªæ¨ï 7 - § ¯¨á âì ¢ ¯ ¬ïâì ®â« ¦¨¢ ¥¬®£® ¯à®æ¥áá .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 69 - ®¬¥à äãªæ¨¨
|
* eax = 69 - ®¬¥à äãªæ¨¨
|
||||||
@ -4204,6 +4088,10 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* '/hd0/2/menuet/pics/tanzania.bmp',0
|
* '/hd0/2/menuet/pics/tanzania.bmp',0
|
||||||
* '/hd0/1/Program files/NameOfProgram/SomeFile.SomeExtension',0
|
* '/hd0/1/Program files/NameOfProgram/SomeFile.SomeExtension',0
|
||||||
* '/sys/MySuperApp.ini',0
|
* '/sys/MySuperApp.ini',0
|
||||||
|
’ ª¦¥ äãªæ¨ï ¯®¤¤¥à¦¨¢ ¥â ®â®á¨â¥«ìë¥ ¨¬¥ . …᫨ ¯ãâì ç¨ ¥âáï
|
||||||
|
¥ á '/', â® ® áç¨â ¥âáï ®â®á¨â¥«ì® ⥪ã饩 ¯ ¯ª¨. <20>®«ãç¨âì ¨«¨
|
||||||
|
ãáâ ®¢¨âì ⥪ãéãî ¯ ¯ªã ¬®¦® á ¯®¬®éìî á¨áäãªæ¨¨ 30.
|
||||||
|
|
||||||
„®áâã¯ë¥ ¯®¤äãªæ¨¨:
|
„®áâã¯ë¥ ¯®¤äãªæ¨¨:
|
||||||
* ¯®¤äãªæ¨ï 0 - ç⥨¥ ä ©«
|
* ¯®¤äãªæ¨ï 0 - ç⥨¥ ä ©«
|
||||||
* ¯®¤äãªæ¨ï 1 - ç⥨¥ ¯ ¯ª¨
|
* ¯®¤äãªæ¨ï 1 - ç⥨¥ ¯ ¯ª¨
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SYSTEM FUNCTIONS of OS Kolibri 0.7.5.0
|
SYSTEM FUNCTIONS of OS Kolibri 0.7.7.0
|
||||||
|
|
||||||
Number of the function is located in the register eax.
|
Number of the function is located in the register eax.
|
||||||
The call of the system function is executed by "int 0x40" command.
|
The call of the system function is executed by "int 0x40" command.
|
||||||
@ -376,8 +376,8 @@ Remarks:
|
|||||||
and idle time in waiting for interrupt (which can be got by call
|
and idle time in waiting for interrupt (which can be got by call
|
||||||
to subfunction 4 of function 18).
|
to subfunction 4 of function 18).
|
||||||
* Beginning from slot 2, the normal applications are placed.
|
* Beginning from slot 2, the normal applications are placed.
|
||||||
* Applications are placed in memory at the address 0x0
|
* The normal applications are placed in memory at the address
|
||||||
(kernel constant 'std_application_base_address').
|
0 (kernel constant 'std_application_base_address').
|
||||||
There is no intersection, as each process has its own page table.
|
There is no intersection, as each process has its own page table.
|
||||||
* At creation of the thread it is assigned the slot
|
* At creation of the thread it is assigned the slot
|
||||||
in the system table and identifier (Process/Thread IDentifier =
|
in the system table and identifier (Process/Thread IDentifier =
|
||||||
@ -679,7 +679,7 @@ Returned value:
|
|||||||
* eax = clock rate (modulo 2^32 clock ticks = 4GHz)
|
* eax = clock rate (modulo 2^32 clock ticks = 4GHz)
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
Function 18, subfunction 6 - save ramdisk to the file on hard drive.
|
Function 18, subfunction 6 - save ramdisk to the file on hard drive.
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 18 - function number
|
* eax = 18 - function number
|
||||||
@ -761,7 +761,7 @@ Returned value:
|
|||||||
Remarks:
|
Remarks:
|
||||||
* The minimized window from the point of view of function 9
|
* The minimized window from the point of view of function 9
|
||||||
keeps position and sizes.
|
keeps position and sizes.
|
||||||
* Restoring of an application window occurs at its activation by
|
* Restoring of an application window occurs at its activation by
|
||||||
subfunction 3.
|
subfunction 3.
|
||||||
* Usually there is no necessity to minimize/restire a window
|
* Usually there is no necessity to minimize/restire a window
|
||||||
obviously: minimization of a window is carried out by the system
|
obviously: minimization of a window is carried out by the system
|
||||||
@ -771,7 +771,7 @@ Remarks:
|
|||||||
restore of a window is done by the application '@panel'.
|
restore of a window is done by the application '@panel'.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
Function 18, subfunction 11 - get information on the disk subsystem.
|
Function 18, subfunction 11 - get information on the disk subsystem.
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 18 - function number
|
* eax = 18 - function number
|
||||||
@ -846,10 +846,10 @@ Structure of the buffer:
|
|||||||
db a,b,c,d for version a.b.c.d
|
db a,b,c,d for version a.b.c.d
|
||||||
db UID_xxx: one of UID_NONE=0, UID_MENUET=1, UID_KOLIBRI=2
|
db UID_xxx: one of UID_NONE=0, UID_MENUET=1, UID_KOLIBRI=2
|
||||||
dd REV - kernel SVN revision number
|
dd REV - kernel SVN revision number
|
||||||
For Kolibri 0.7.1.0 kernel:
|
For Kolibri 0.7.7.0 kernel:
|
||||||
db 0,7,0,0
|
db 0,7,7,0
|
||||||
db 2
|
db 2
|
||||||
dd 638
|
dd 1319
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======= Function 18, subfunction 14 - wait for screen retrace. =======
|
======= Function 18, subfunction 14 - wait for screen retrace. =======
|
||||||
@ -1062,7 +1062,7 @@ Returned value (is the same for both subfunctions):
|
|||||||
* eax = 0 - success
|
* eax = 0 - success
|
||||||
* eax = 1 - base port is not defined
|
* eax = 1 - base port is not defined
|
||||||
Remarks:
|
Remarks:
|
||||||
* Previously the base port must be defined by
|
* Previously the base port must be defined by
|
||||||
subfunction 1 of function 21.
|
subfunction 1 of function 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1106,7 +1106,7 @@ Remarks:
|
|||||||
if Alt and Shift are not pressed, but Ctrl is pressed, the normal
|
if Alt and Shift are not pressed, but Ctrl is pressed, the normal
|
||||||
layout is used and then from the code is subtracted 0x60;
|
layout is used and then from the code is subtracted 0x60;
|
||||||
if no control key is pressed, the normal layout is used.
|
if no control key is pressed, the normal layout is used.
|
||||||
* To get layout and country identifier use
|
* To get layout and country identifier use
|
||||||
subfunction 2 of function 26.
|
subfunction 2 of function 26.
|
||||||
* Country identifier is global system variable, which is not used
|
* Country identifier is global system variable, which is not used
|
||||||
by the kernel itself; however the application '@panel' displays
|
by the kernel itself; however the application '@panel' displays
|
||||||
@ -1160,7 +1160,7 @@ Remarks:
|
|||||||
* Do not change base, when any application works with hard disk.
|
* Do not change base, when any application works with hard disk.
|
||||||
If you do not want system bugs.
|
If you do not want system bugs.
|
||||||
* To get HD base use subfunction 7 of function 26.
|
* To get HD base use subfunction 7 of function 26.
|
||||||
* It is also necessary to define used partition of hard disk by
|
* It is also necessary to define used partition of hard disk by
|
||||||
subfunction 8.
|
subfunction 8.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1182,12 +1182,12 @@ Remarks:
|
|||||||
If you do not want system bugs.
|
If you do not want system bugs.
|
||||||
* To get used partition use subfunction 8 of function 26.
|
* To get used partition use subfunction 8 of function 26.
|
||||||
* There is no correctness checks.
|
* There is no correctness checks.
|
||||||
* To get the number of partitions of a hard disk use
|
* To get the number of partitions of a hard disk use
|
||||||
subfunction 11 of function 18.
|
subfunction 11 of function 18.
|
||||||
* It is also necessary to define used HD base by subfunction 7.
|
* It is also necessary to define used HD base by subfunction 7.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
Function 21, subfunction 11 - enable/disable low-level access to HD.
|
Function 21, subfunction 11 - enable/disable low-level access to HD.
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 21 - function number
|
* eax = 21 - function number
|
||||||
@ -1201,7 +1201,7 @@ Remarks:
|
|||||||
* To get current status use subfunction 11 of function 26.
|
* To get current status use subfunction 11 of function 26.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
Function 21, subfunction 12 - enable/disable low-level access to PCI.
|
Function 21, subfunction 12 - enable/disable low-level access to PCI.
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 21 - function number
|
* eax = 21 - function number
|
||||||
@ -1268,7 +1268,7 @@ Returned value:
|
|||||||
* ebx = frequency of the vertical scanning (in Hz)
|
* ebx = frequency of the vertical scanning (in Hz)
|
||||||
* ecx = number of current videomode
|
* ecx = number of current videomode
|
||||||
Remarks:
|
Remarks:
|
||||||
* Driver must be initialized by call to
|
* Driver must be initialized by call to
|
||||||
driver function 1.
|
driver function 1.
|
||||||
* If only screen sizes are required, it is more expedient to use
|
* If only screen sizes are required, it is more expedient to use
|
||||||
function 14 taking into account that it
|
function 14 taking into account that it
|
||||||
@ -1403,7 +1403,7 @@ Returned value:
|
|||||||
* eax = 0 - success
|
* eax = 0 - success
|
||||||
* eax = 1 - CD base is not defined
|
* eax = 1 - CD base is not defined
|
||||||
Remarks:
|
Remarks:
|
||||||
* Previously CD base must be defined by the call to
|
* Previously CD base must be defined by the call to
|
||||||
subfunction 3 of function 21.
|
subfunction 3 of function 21.
|
||||||
* One second includes 75 frames, one minute includes 60 seconds.
|
* One second includes 75 frames, one minute includes 60 seconds.
|
||||||
* The function is asynchronous (returns control, when play begins).
|
* The function is asynchronous (returns control, when play begins).
|
||||||
@ -1423,7 +1423,7 @@ Remarks:
|
|||||||
* The format of the table with tracks information is the same as
|
* The format of the table with tracks information is the same as
|
||||||
for ATAPI-CD command 43h (READ TOC), usual table (subcommand 00h).
|
for ATAPI-CD command 43h (READ TOC), usual table (subcommand 00h).
|
||||||
Function returns addresses in MSF.
|
Function returns addresses in MSF.
|
||||||
* Previously CD base port must be set by call to
|
* Previously CD base port must be set by call to
|
||||||
subfunction 3 of function 21.
|
subfunction 3 of function 21.
|
||||||
* Function returns information only about no more than 100
|
* Function returns information only about no more than 100
|
||||||
first tracks. In most cases it is enough.
|
first tracks. In most cases it is enough.
|
||||||
@ -1438,7 +1438,7 @@ Returned value:
|
|||||||
* eax = 0 - success
|
* eax = 0 - success
|
||||||
* eax = 1 - CD base is not defined
|
* eax = 1 - CD base is not defined
|
||||||
Remarks:
|
Remarks:
|
||||||
* Previously CD base port must be defined by call to
|
* Previously CD base port must be defined by call to
|
||||||
subfunction 3 of function 21.
|
subfunction 3 of function 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1513,7 +1513,7 @@ Remarks:
|
|||||||
if Alt and Shift are not pressed, but Ctrl is pressed, the normal
|
if Alt and Shift are not pressed, but Ctrl is pressed, the normal
|
||||||
layout is used and then from the code is subtracted 0x60;
|
layout is used and then from the code is subtracted 0x60;
|
||||||
if no control key is pressed, the normal layout is used.
|
if no control key is pressed, the normal layout is used.
|
||||||
* To set layout and country identifier use
|
* To set layout and country identifier use
|
||||||
subfunction 2 of function 21.
|
subfunction 2 of function 21.
|
||||||
* Country identifier is global system variable, which is not used
|
* Country identifier is global system variable, which is not used
|
||||||
by the kernel itself; however the application '@panel' displays
|
by the kernel itself; however the application '@panel' displays
|
||||||
@ -1658,56 +1658,9 @@ Returned value:
|
|||||||
Remarks:
|
Remarks:
|
||||||
* If the buffer is too small to hold all data, only first (edx-1)
|
* If the buffer is too small to hold all data, only first (edx-1)
|
||||||
bytes are copied and than terminating 0 is inserted.
|
bytes are copied and than terminating 0 is inserted.
|
||||||
|
* By default, current folder for the thread is "/rd/1".
|
||||||
======================================================================
|
* At process/thread creation the current folder will be inherited
|
||||||
=============== Function 32 - delete file from ramdisk. ==============
|
from the parent.
|
||||||
======================================================================
|
|
||||||
Parameters:
|
|
||||||
* eax = 32 - function number
|
|
||||||
* ebx = pointer to the filename
|
|
||||||
Returned value:
|
|
||||||
* eax = 0 - success; otherwise file system error code
|
|
||||||
Remarks:
|
|
||||||
* This function is obsolete; function 58 allows to fulfill
|
|
||||||
the same operations with the extended possibilities.
|
|
||||||
* The current implementation returns only values 0(success) and
|
|
||||||
5(file not found).
|
|
||||||
* The filename must be either in the format 8+3 characters
|
|
||||||
(first 8 characters - name itself, last 3 - extension,
|
|
||||||
the short names and extensions are supplemented with spaces),
|
|
||||||
or in the format 8.3 characters "FILE.EXT"/"FILE.EX "
|
|
||||||
(name no more than 8 characters, dot, extension 3 characters
|
|
||||||
supplemented if necessary by spaces).
|
|
||||||
The filename must be written with capital letters. The terminating
|
|
||||||
character with code 0 is not necessary (not ASCIIZ-string).
|
|
||||||
* This function does not support folders on the ramdisk.
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
================ Function 33 - write file to ramdisk. ================
|
|
||||||
======================================================================
|
|
||||||
Parameters:
|
|
||||||
* eax = 33 - function number
|
|
||||||
* ebx = pointer to the filename
|
|
||||||
* ecx = pointer to data for writing
|
|
||||||
* edx = number of bytes for writing
|
|
||||||
* should be set esi=0
|
|
||||||
Returned value:
|
|
||||||
* eax = 0 - success, otherwise file system error code
|
|
||||||
Remarks:
|
|
||||||
* This function is obsolete; function 70 allows to fulfil
|
|
||||||
the same operations with extended possibilities.
|
|
||||||
* If esi contains non-zero value and selected file already exists,
|
|
||||||
one more file with the same name will be created.
|
|
||||||
* Otherwise file will be overwritten.
|
|
||||||
* The filename must be either in the format 8+3 characters
|
|
||||||
(first 8 characters - name itself, last 3 - extension,
|
|
||||||
the short names and extensions are supplemented with spaces),
|
|
||||||
or in the format 8.3 characters "FILE.EXT"/"FILE.EX "
|
|
||||||
(name no more than 8 characters, dot, extension 3 characters
|
|
||||||
supplemented if necessary by spaces).
|
|
||||||
The filename must be written with capital letters. The terminating
|
|
||||||
character with code 0 is not necessary (not ASCIIZ-string).
|
|
||||||
* This function does not support folders on the ramdisk.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======= Function 35 - read the color of a pixel on the screen. =======
|
======= Function 35 - read the color of a pixel on the screen. =======
|
||||||
@ -1888,7 +1841,7 @@ Remarks:
|
|||||||
changed in future kernel versions.
|
changed in future kernel versions.
|
||||||
* Offset for pixel with coordinates (x,y)
|
* Offset for pixel with coordinates (x,y)
|
||||||
is calculated as (x+y*xsize)*3.
|
is calculated as (x+y*xsize)*3.
|
||||||
* There is a pair function to set pixel on the background image -
|
* There is a pair function to set pixel on the background image -
|
||||||
subfunction 2 of function 15.
|
subfunction 2 of function 15.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1901,7 +1854,7 @@ Returned value:
|
|||||||
* eax = 1 - tile
|
* eax = 1 - tile
|
||||||
* eax = 2 - stretch
|
* eax = 2 - stretch
|
||||||
Remarks:
|
Remarks:
|
||||||
* There is a pair function to set drawing mode -
|
* There is a pair function to set drawing mode -
|
||||||
subfunction 4 of function 15.
|
subfunction 4 of function 15.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -2193,11 +2146,11 @@ Remarks:
|
|||||||
* Structure of the color table is described in the standard
|
* Structure of the color table is described in the standard
|
||||||
include file 'macros.inc' as 'system_colors'; for example,
|
include file 'macros.inc' as 'system_colors'; for example,
|
||||||
it is possible to write:
|
it is possible to write:
|
||||||
sc system_colors ; variable declaration
|
sc system_colors ; variable declaration
|
||||||
... ; somewhere one must call
|
... ; somewhere one must call
|
||||||
; this function with ecx=sc
|
; this function with ecx=sc
|
||||||
mov ecx, [sc.work_button_text] ; read text color on
|
mov ecx, [sc.work_button_text] ; read text color on
|
||||||
; buttin in working area
|
; buttin in working area
|
||||||
* A program itself desides to use or not to use color table.
|
* A program itself desides to use or not to use color table.
|
||||||
For usage program must simply at calls to drawing functions select
|
For usage program must simply at calls to drawing functions select
|
||||||
color taken from the table.
|
color taken from the table.
|
||||||
@ -2392,7 +2345,7 @@ Parameters:
|
|||||||
Returned value:
|
Returned value:
|
||||||
* eax = -1 - error (there is too many threads)
|
* eax = -1 - error (there is too many threads)
|
||||||
* otherwise eax = TID - thread identifier
|
* otherwise eax = TID - thread identifier
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=== Function 52, subfunction 0 - get network driver configuration. ===
|
=== Function 52, subfunction 0 - get network driver configuration. ===
|
||||||
@ -2470,7 +2423,7 @@ Remarks:
|
|||||||
performs no checks on correctness.
|
performs no checks on correctness.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
Function 52, subfunction 8 - read data from the network output queue.
|
Function 52, subfunction 8 - read data from the network output queue.
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 52 - function number
|
* eax = 52 - function number
|
||||||
@ -2749,7 +2702,7 @@ Returned value:
|
|||||||
* ebx destroyed
|
* ebx destroyed
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= Function 53, subfunction 255 - debug information of network driver.
|
= Function 53, subfunction 255 - debug information of network driver.
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 53 - function number
|
* eax = 53 - function number
|
||||||
@ -2780,7 +2733,7 @@ Possible values for ecx:
|
|||||||
* 6: status of packet driver, 0=inactive, nonzero=active
|
* 6: status of packet driver, 0=inactive, nonzero=active
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
Function 55, subfunction 55 - begin to play data on built-in speaker.
|
Function 55, subfunction 55 - begin to play data on built-in speaker.
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 55 - function number
|
* eax = 55 - function number
|
||||||
@ -2925,7 +2878,7 @@ Remarks:
|
|||||||
that he requested 1;
|
that he requested 1;
|
||||||
* if one requests more than 14 blocks or starting block is
|
* if one requests more than 14 blocks or starting block is
|
||||||
not less than 14, function returns eax=5 (not found) è ebx=-1;
|
not less than 14, function returns eax=5 (not found) è ebx=-1;
|
||||||
* size of ramdisk root folder is 14 blocks,
|
* size of ramdisk root folder is 14 blocks,
|
||||||
0x1C00=7168 áàéò; but function returns ebx=0
|
0x1C00=7168 áàéò; but function returns ebx=0
|
||||||
(except of the case of previous item);
|
(except of the case of previous item);
|
||||||
* strangely enough, it is possible to read 14th block (which
|
* strangely enough, it is possible to read 14th block (which
|
||||||
@ -2987,8 +2940,8 @@ Remarks:
|
|||||||
* Block size is 512 bytes; function reads one block.
|
* Block size is 512 bytes; function reads one block.
|
||||||
* Do not depend on returned value, it can be changed
|
* Do not depend on returned value, it can be changed
|
||||||
in future versions.
|
in future versions.
|
||||||
* Function requires that LBA-access to devices is enabled by
|
* Function requires that LBA-access to devices is enabled by
|
||||||
subfunction 11 of function 21. To check this one can use
|
subfunction 11 of function 21. To check this one can use
|
||||||
subfunction 11 of function 26.
|
subfunction 11 of function 26.
|
||||||
* LBA-read of floppy is not supported.
|
* LBA-read of floppy is not supported.
|
||||||
* Function reads data on physical hard drive; if for any reason
|
* Function reads data on physical hard drive; if for any reason
|
||||||
@ -3098,11 +3051,11 @@ Remarks:
|
|||||||
The data of the graphics screen (the memory area which displays
|
The data of the graphics screen (the memory area which displays
|
||||||
screen contents) are accessible to a program directly, without
|
screen contents) are accessible to a program directly, without
|
||||||
any system calls, through the selector gs:
|
any system calls, through the selector gs:
|
||||||
mov eax, [gs:0]
|
mov eax, [gs:0]
|
||||||
places in eax the first dword of the buffer, which contains
|
places in eax the first dword of the buffer, which contains
|
||||||
information on color of the left upper point (and, possibly, colors
|
information on color of the left upper point (and, possibly, colors
|
||||||
of several following).
|
of several following).
|
||||||
mov [gs:0], eax
|
mov [gs:0], eax
|
||||||
by work in VESA modes with LFB sets color of the left upper point
|
by work in VESA modes with LFB sets color of the left upper point
|
||||||
(and, possibly, colors of several following).
|
(and, possibly, colors of several following).
|
||||||
To interpret the data of graphics screen program needs to know
|
To interpret the data of graphics screen program needs to know
|
||||||
@ -3260,59 +3213,6 @@ Remarks:
|
|||||||
Ralf Brown; registers of the second type must be listed
|
Ralf Brown; registers of the second type must be listed
|
||||||
in the device documentation.
|
in the device documentation.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
===================== Function 62, subfunction 11 ====================
|
|
||||||
== Initialize user-accessible MMIO channel ==
|
|
||||||
======================================================================
|
|
||||||
Parameters:
|
|
||||||
* eax = 62 - function
|
|
||||||
* bl = 11 - subfunction
|
|
||||||
* cx = PCI-address (bbbbbbbb dddddfff)
|
|
||||||
Returns:
|
|
||||||
* eax = -1 - PCI access not granted;
|
|
||||||
* eax = -2 - no user MMIO access to this PCI address;
|
|
||||||
* eax = -3 - memory allocation error; otherwise
|
|
||||||
* eax = available user heap size.
|
|
||||||
Remarks:
|
|
||||||
* Low-level PCI access must be allowed (fn21:12)
|
|
||||||
* PCI-address should correspond the system var [mmio_pci_addr]
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
===================== Function 62, subfunction 12 ====================
|
|
||||||
== Request user-accessible MMIO address space ==
|
|
||||||
======================================================================
|
|
||||||
Parameters:
|
|
||||||
* eax = 62 - function
|
|
||||||
* bl = 12 - subfunction
|
|
||||||
* bh = BAR number in PCI configuration space
|
|
||||||
* ecx = MMIO-block size needed (bytes)
|
|
||||||
* edx = MMIO-offset (number of whole 4Kb-pages!)
|
|
||||||
Returns:
|
|
||||||
* eax = -1 - user PCI access denied;
|
|
||||||
* eax = -2 - invalid BAR number;
|
|
||||||
* eax = -3 - BAR contains no valid IO addres;
|
|
||||||
* eax = -4 - BAR addresses IO ports;
|
|
||||||
* eax = -5 - dynamic allocation error; otherwise
|
|
||||||
* eax = MMIO start address (in application's linear space).
|
|
||||||
Remarks:
|
|
||||||
* Low-level PCI access must be allowed (fn21:12)
|
|
||||||
* The system var [mmio_pci_addr] sets the actual PCI-address
|
|
||||||
* The granted MMIO addresses should be released after use (fn62:13)
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
===================== Function 62, subfunction 13 ====================
|
|
||||||
== Release a block of user MMIO addresses ==
|
|
||||||
======================================================================
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
|
||||||
* eax = 62 - function
|
|
||||||
* bl = 12 - subfunction
|
|
||||||
* ecx = MMIO start address (in application's linear space).
|
|
||||||
Returns:
|
|
||||||
* eax = 1 if the block is successfully released;
|
|
||||||
* eax = 0 in case of reallocation error;
|
|
||||||
Remarks:
|
|
||||||
* A valid uMMIO block should exist at this address (fn62:12)
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============== Function 63 - work with the debug board. ==============
|
============== Function 63 - work with the debug board. ==============
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -3421,7 +3321,6 @@ Remarks:
|
|||||||
======================================================================
|
======================================================================
|
||||||
The input mode influences results of reading keys by function 2.
|
The input mode influences results of reading keys by function 2.
|
||||||
When a program loads, ASCII input mode is set for it.
|
When a program loads, ASCII input mode is set for it.
|
||||||
If subfunction is not support then eax=-1.
|
|
||||||
|
|
||||||
-------------- Subfunction 1 - set keyboard input mode. --------------
|
-------------- Subfunction 1 - set keyboard input mode. --------------
|
||||||
Parameters:
|
Parameters:
|
||||||
@ -3670,7 +3569,7 @@ Remarks:
|
|||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
===================== Function 68, subfunction 14 ====================
|
===================== Function 68, subfunction 14 ====================
|
||||||
====== Waiting delivering of signal from another program/driver ======
|
============ Wait for signal from another program/driver. ============
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 68 - function number
|
* eax = 68 - function number
|
||||||
@ -3678,15 +3577,9 @@ Parameters:
|
|||||||
* ecx = pointer to the buffer for information (24 bytes)
|
* ecx = pointer to the buffer for information (24 bytes)
|
||||||
Returned value:
|
Returned value:
|
||||||
* buffer pointed to by ecx contains the following information:
|
* buffer pointed to by ecx contains the following information:
|
||||||
* +0: dword: identifier for underlying data of signal
|
* +0: dword: identifier for following data of signal
|
||||||
* +4: data of signal (20 bytes), format of which is defining by
|
* +4: dword: data of signal (20 bytes), format of which is defined
|
||||||
first dword
|
by the first dword
|
||||||
|
|
||||||
======================================================================
|
|
||||||
====== Function 68, subfunction 15 - set FPU exception handler. ======
|
|
||||||
======================================================================
|
|
||||||
Deleted (in current implementation only 0 is returned).
|
|
||||||
Using subfunctions 24, 25 is true.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============= Function 68, subfunction 16 - load driver. =============
|
============= Function 68, subfunction 16 - load driver. =============
|
||||||
@ -3720,22 +3613,12 @@ Parameters:
|
|||||||
* +16 = +0x10: dword: pointer to output data
|
* +16 = +0x10: dword: pointer to output data
|
||||||
* +20 = +0x14: dword: size of output data
|
* +20 = +0x14: dword: size of output data
|
||||||
Returned value:
|
Returned value:
|
||||||
* eax = error code
|
* eax = determined by driver
|
||||||
0 - successful call
|
|
||||||
-1 - any error.
|
|
||||||
-2, -3, -4, etc. reserved for kernel error codes
|
|
||||||
1, 2, 3, etc driver specific error codes
|
|
||||||
Remarks:
|
Remarks:
|
||||||
* Function codes and the structure of input/output data
|
* Function codes and the structure of input/output data
|
||||||
are defined by driver.
|
are defined by driver.
|
||||||
* Previously one must obtain driver handle by subfunction 16.
|
* Previously one must obtain driver handle by subfunction 16.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
====== Function 68, subfunction 18 - set SSE exception handler. ======
|
|
||||||
======================================================================
|
|
||||||
Deleted (in current implementation only 0 is returned).
|
|
||||||
Using subfunctions 24, 25 is true.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=============== Function 68, subfunction 19 - load DLL. ==============
|
=============== Function 68, subfunction 19 - load DLL. ==============
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -3775,36 +3658,92 @@ Remarks:
|
|||||||
the new and old sizes.
|
the new and old sizes.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====== Function 68, subfunction 24 - set new exceptions handler ======
|
======== Function 68, subfunction 22 - open named memory area. =======
|
||||||
|
======================================================================
|
||||||
|
Parameters:
|
||||||
|
* eax = 68 - function number
|
||||||
|
* ebx = 22 - subfunction number
|
||||||
|
* ecx = area name. Maximum of 31 characters with terminating zero
|
||||||
|
* edx = area size in bytes for SHM_CREATE and SHM_OPEN_ALWAYS
|
||||||
|
* esi = flags for open and access:
|
||||||
|
* SHM_OPEN = 0x00 - open existing memory area. If an area
|
||||||
|
with such name does not exist, the function
|
||||||
|
will return error code 5.
|
||||||
|
* SHM_OPEN_ALWAYS = 0x04 - open existing or create new
|
||||||
|
memory area.
|
||||||
|
* SHM_CREATE = 0x08 - create new memory area. If an area
|
||||||
|
with such name already exists, the function
|
||||||
|
will return error code 10.
|
||||||
|
* SHM_READ = 0x00 - only read access
|
||||||
|
* SHM_WRITE = 0x01 - read and write access
|
||||||
|
Returned value:
|
||||||
|
* eax = pointer to memory area, 0 if error has occured
|
||||||
|
* if new area is created (SHM_CREATE or SHM_OPEN_ALWAYS):
|
||||||
|
edx = 0 - success, otherwise - error code
|
||||||
|
* if existing area is opened (SHM_OPEN or SHM_OPEN_ALWAYS):
|
||||||
|
edx = error code (if eax=0) or area size in bytes
|
||||||
|
Error codes:
|
||||||
|
* E_NOTFOUND = 5
|
||||||
|
* E_ACCESS = 10
|
||||||
|
* E_NOMEM = 30
|
||||||
|
* E_PARAM = 33
|
||||||
|
Remarks:
|
||||||
|
* Before this call one must initialize process heap by call to
|
||||||
|
subfunction 11.
|
||||||
|
* If a new area is created, access flags set maximal rights
|
||||||
|
for other processes. An attempt from other process to open
|
||||||
|
with denied rights will fail with error code E_ACCESS.
|
||||||
|
* The process which has created an area always has write access.
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
======= Function 68, subfunction 23 - close named memory area. =======
|
||||||
|
======================================================================
|
||||||
|
Parameters:
|
||||||
|
* eax = 68 - function number
|
||||||
|
* ebx = 23 - subfunction number
|
||||||
|
* ecx = area name. Maximum of 31 characters with terminating zero
|
||||||
|
Returned value:
|
||||||
|
* eax destroyed
|
||||||
|
Remarks:
|
||||||
|
* A memory area is physically freed (with deleting all data and
|
||||||
|
freeing physical memory), when all threads which have opened
|
||||||
|
this area will close it.
|
||||||
|
* When thread is terminating, all opened by it areas are closed.
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
======== Function 68, subfunction 24 - set exception handler. ========
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 68 - function number
|
* eax = 68 - function number
|
||||||
* ebx = 24 - subfunction number
|
* ebx = 24 - subfunction number
|
||||||
* ecx = address of the new exception handler
|
* ecx = address of the new exception handler
|
||||||
* edx = the mask of processing exceptions
|
* edx = the mask of handled exceptions
|
||||||
Returned value:
|
Returned value:
|
||||||
* eax = address of the old exception handler (0, if it was not set)
|
* eax = address of the old exception handler (0, if it was not set)
|
||||||
* ebx = the old mask of exception handler
|
* ebx = the old mask of handled exceptions
|
||||||
Remarks:
|
Remarks:
|
||||||
* Bit number in mask of exceptions is correspond to exception number
|
* Bit number in mask of exceptions corresponds to exception number
|
||||||
by CPU-specification (Intel-PC). For example, FPU-exception have
|
in CPU-specification (Intel-PC). For example, FPU exceptions have
|
||||||
number 16 (#MF), and SSE-exception - 19 (#XF)
|
number 16 (#MF), and SSE exceptions - 19 (#XF).
|
||||||
* The current implementation ignore the inquiry for hook of 7
|
* The current implementation ignores the inquiry for hook of 7
|
||||||
exception - system process #NM by one's own.
|
exception - the system handles #NM by its own.
|
||||||
* User handler get exception number in stack parameter. So, correct
|
* The exception handler is called with exception number as first
|
||||||
exit from handler is: RET 4. Return from handler is to the same
|
(and only) stack parameter. So, correct exit from the handler is
|
||||||
instruction, that was cause the exception
|
RET 4. It returns to the instruction, that caused the exception,
|
||||||
* When control is transfering to user handler, corresponding bit in
|
for faults, and to the next instruction for traps (see
|
||||||
exception mask is clearing. Rising this exception in consequence
|
classification of exceptions in CPU specification).
|
||||||
- reduce to default-handling. Exactly: terminating the application,
|
* When user handler receives control, the corresponding bit in
|
||||||
or suspending with debug-notify to owner.
|
the exception mask is cleared. Raising this exception
|
||||||
* After completion of critical operations in user handler, it may be
|
in consequence leads to default handling, that is,
|
||||||
rising corresponding bit in exception mask by using subfunction 25
|
terminating the application in absence of debugger or
|
||||||
Clearing exceptions flags in FPU and/or XMM modules - is
|
suspend with notification of debugger otherwise.
|
||||||
responsibility of user handler too.
|
* After user handler completes critical operations, it can set
|
||||||
|
the corresponding bit in the exception mask with subfunction 25.
|
||||||
|
Also user handler is responsible for clearing exceptions flags in
|
||||||
|
FPU and/or SSE.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
==== Function 68, subfunction 25 - change state of signal activity ===
|
====== Function 68, subfunction 25 - set FPU exception handler. ======
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 68 - function number
|
* eax = 68 - function number
|
||||||
@ -3812,14 +3751,15 @@ Parameters:
|
|||||||
* ecx = signal number
|
* ecx = signal number
|
||||||
* edx = value of activity (0/1)
|
* edx = value of activity (0/1)
|
||||||
Returned value:
|
Returned value:
|
||||||
* eax = value of old activity for this signal (0/1)
|
* eax = -1 - invalid signal number
|
||||||
|
* otherwise eax = old value of activity for this signal (0/1)
|
||||||
Remarks:
|
Remarks:
|
||||||
* In current implementation, it is changed only exception mask for
|
* In current implementation only mask for user excepton handler,
|
||||||
user exception handler, wich was previously set by subfunction 24.
|
which has been previously set by subfunction 24,
|
||||||
At that, number of signal correspond to exception number.
|
is changed. Signal number corresponds to exception number.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== Fucntion 69 - debugging. ======================
|
====================== Function 69 - debugging. ======================
|
||||||
======================================================================
|
======================================================================
|
||||||
A process can load other process as debugged by set of corresponding
|
A process can load other process as debugged by set of corresponding
|
||||||
bit by call to subfunction 7 of function 70.
|
bit by call to subfunction 7 of function 70.
|
||||||
@ -3882,7 +3822,7 @@ Remarks:
|
|||||||
and at arrival of new message the system will wait.
|
and at arrival of new message the system will wait.
|
||||||
For synchronization frame all work with the buffer by operations
|
For synchronization frame all work with the buffer by operations
|
||||||
lock/unlock
|
lock/unlock
|
||||||
neg [bufsize]
|
neg [bufsize]
|
||||||
* Data in the buffer are considered as array of items with variable
|
* Data in the buffer are considered as array of items with variable
|
||||||
length - messages. Format of a message is explained in
|
length - messages. Format of a message is explained in
|
||||||
general description.
|
general description.
|
||||||
@ -4111,6 +4051,10 @@ Examples:
|
|||||||
* '/hd0/2/menuet/pics/tanzania.bmp',0
|
* '/hd0/2/menuet/pics/tanzania.bmp',0
|
||||||
* '/hd0/1/Program files/NameOfProgram/SomeFile.SomeExtension',0
|
* '/hd0/1/Program files/NameOfProgram/SomeFile.SomeExtension',0
|
||||||
* '/sys/MySuperApp.ini',0
|
* '/sys/MySuperApp.ini',0
|
||||||
|
Also function supports relative names. If the path begins not
|
||||||
|
with '/', it is considered relative to a current folder. To get or
|
||||||
|
set a current folder, use the function 30.
|
||||||
|
|
||||||
Available subfunctions:
|
Available subfunctions:
|
||||||
* subfunction 0 - read file
|
* subfunction 0 - read file
|
||||||
* subfunction 1 - read folder
|
* subfunction 1 - read folder
|
||||||
|
Loading…
Reference in New Issue
Block a user